Gentleman
I am back here with a thread question. Not exactly usage of threads with
OpenSG (yet : ), but why my VC 2005 project keep asking me on linking about
threadbase and so on. A little dump can be more information then i provide,
so, here come:
Creating library .\..\lib\opt/OSGBase.lib and object
.\..\lib\opt/OSGBase.exp
OSGBaseInitFunctions.obj : error LNK2001: unresolved external symbol
"protected: static class *OSG::BaseThread* *
*OSG::BaseWinThreadBase*::_pThreadLocal"
([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]@A)
See? And there is more about the same subject...
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"public: static class OSG::BaseThread * __cdecl OSG::BaseThread::get(char
const *)" ([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]@Z) referenced in function
"public: static class OSG::BaseThread * __cdecl
OSG::BaseThread::create(void)" ([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED])
OSGBaseInitFunctions.obj : error LNK2001: unresolved external symbol
"protected: static class OSG::MPThreadType OSG::BaseThread::_type" (?_type@
[EMAIL PROTECTED]@@[EMAIL PROTECTED]@A)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: static void __cdecl OSG::BaseWinThreadBase::join(class
OSG::BaseWinThreadBase *)" ([EMAIL PROTECTED]@OSG@@KAXPAV12@@Z)
referenced in function "public: static void __cdecl
OSG::BaseThread::join(class OSG::BaseThread *)" ([EMAIL PROTECTED]@OSG
@@SAXPAV12@@Z)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: bool __thiscall OSG::BaseWinThreadBase::runFunction(void
(__cdecl*)(void *),void *)" ([EMAIL PROTECTED]@OSG@@
[EMAIL PROTECTED]@Z) referenced in function "public: void __thiscall
OSG::BaseThread::run(void)" ([EMAIL PROTECTED]@OSG@@QAEXXZ)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: static void __cdecl OSG::BaseThread::runWorkProc(void *)"
([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]) referenced in function "public: void
__thiscall OSG::BaseThread::run(void)" ([EMAIL PROTECTED]@OSG@@QAEXXZ)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"public: static class OSG::Barrier * __cdecl OSG::Barrier::get(char const
*)" ([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]@Z) referenced in function
"public: static
class OSG::Barrier * __cdecl OSG::Barrier::create(void)" (?create@
[EMAIL PROTECTED]@@[EMAIL PROTECTED])
OSGBaseInitFunctions.obj : error LNK2001: unresolved external symbol
"protected: static class OSG::MPBarrierType OSG::Barrier::_type" (?_type@
[EMAIL PROTECTED]@@[EMAIL PROTECTED]@A)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"public: static class OSG::CondVar * __cdecl OSG::CondVar::get(char const
*)" ([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]@Z) referenced in function
"public: static
class OSG::CondVar * __cdecl OSG::CondVar::create(void)" (?create@
[EMAIL PROTECTED]@@[EMAIL PROTECTED])
OSGBaseInitFunctions.obj : error LNK2001: unresolved external symbol
"protected: static class OSG::MPCondVarType OSG::CondVar::_type" (?_type@
[EMAIL PROTECTED]@@[EMAIL PROTECTED]@A)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: bool __thiscall OSG::WinThreadCondVarBase::wait(int)" (?wait@
[EMAIL PROTECTED]@@[EMAIL PROTECTED]) referenced in function "public: bool
__thiscall OSG::CondVar::wait(int)" ([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED])
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: void __thiscall OSG::WinThreadCondVarBase::signal(void)"
([EMAIL PROTECTED]@OSG@@IAEXXZ) referenced in function "public:
void __thiscall OSG::CondVar::signal(void)" ([EMAIL PROTECTED]@OSG@@QAEXXZ)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: void __thiscall OSG::WinThreadCondVarBase::broadcast(void)"
([EMAIL PROTECTED]@OSG@@IAEXXZ) referenced in function
"public: void __thiscall OSG::CondVar::broadcast(void)" (?broadcast@
[EMAIL PROTECTED]@@QAEXXZ)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"public: static class OSG::Lock * __cdecl OSG::Lock::get(char const *)"
([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]@Z) referenced in function "public:
static class
OSG::Lock * __cdecl OSG::Lock::create(void)" ([EMAIL PROTECTED]@OSG@@[EMAIL
PROTECTED])
OSGBaseInitFunctions.obj : error LNK2001: unresolved external symbol
"protected: static class OSG::MPLockType OSG::Lock::_type" ([EMAIL
PROTECTED]@OSG
@@[EMAIL PROTECTED]@A)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"public: static class OSG::LockPool * __cdecl OSG::LockPool::get(char const
*)" ([EMAIL PROTECTED]@OSG@@[EMAIL PROTECTED]@Z) referenced in function "public:
static class OSG::LockPool * __cdecl OSG::LockPool::create(void)" (?create@
[EMAIL PROTECTED]@@[EMAIL PROTECTED])
OSGBaseInitFunctions.obj : error LNK2001: unresolved external symbol
"protected: static class OSG::MPLockPoolType OSG::LockPool::_type" (?_type@
[EMAIL PROTECTED]@@[EMAIL PROTECTED]@A)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: static bool __cdecl OSG::ThreadManager::terminate(void)"
([EMAIL PROTECTED]@OSG@@KA_NXZ) referenced in function "bool __cdecl
OSG::osgExit(void)" ([EMAIL PROTECTED]@@YA_NXZ)
OSGBaseInitFunctions.obj : error LNK2019: unresolved external symbol
"protected: static bool __cdecl OSG::ThreadManager::initialize(void)"
([EMAIL PROTECTED]@OSG@@KA_NXZ) referenced in function "bool __cdecl
OSG::osgInit(int,char * *,unsigned short,unsigned short,unsigned
short,bool,bool,bool)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED])
..\lib\opt\OSGBase.dll : fatal error LNK1120: 19 unresolved externals
Before this, i have no warnings or errors (ok, 1 warning about a
redefine OUT).
I work very hard to qui nowt, but i really don't know what library is
missed. Some help will be the thing to be glad (and maybe finish this
build!!).
Thanks in advance
Rafael
On 15/10/2007, Rafael Menezes <[EMAIL PROTECTED]> wrote:
>
> Guys, i got it BUILD!!!!!!!! The env is msvc 2005 express(Platform SDK) in
> winxp sp2 and boost 1_34. So far, in release, im trying the debug. Soon i
> test the output libs and dlls, i send the project somewhere to
> somewho(woow...). Im trying DevCpp now.
>
> Sorry for all the noise in the list.
>
> Regards
> Rafael
>
>
> On 15/10/2007, Rafael Menezes <[EMAIL PROTECTED]> wrote:
> >
> > Well gentleman, i fix that last lack of sense. Its a direcory problem,
> > sorry for the noise.
> > Can i think i pick one incomplete SVN version? This kind of problem im
> > not usual to fix. That is my scons line:
> > scons var_type=optimized BoostBaseDir=F:\prd\Boost\boost_1_34_1
> > enable_unittests=false
> > (If not optimized, other error will appear like
> > __imp___invalid_parameter_noinfo link errors)
> >
> > Any way, fixed that, something else comes up. This is the thing:
> >
> > Source\System\Action\Base\OSGAction.cpp(92) : error C2664:
> > 'std::vector<_Ty>::push_back' : cannot convert parameter 1 from
> > 'OSG::ActionBase::ResultE (__cdecl *)(OSG::NodeCorePtrConstArg,OSG::Action
> > *)' to 'const OSG::Action::Functor &'
> > with
> > [
> > _Ty=OSG::Action::Functor
> > ]
> > Reason: cannot convert from 'OSG::ActionBase::ResultE (__cdecl
> > *)(OSG::NodeCorePtrConstArg,OSG::Action *)' to 'const OSG::Action::Functor'
> > No constructor could take the source type, or constructor
> > overload resolution was ambiguous
> > Source\System\Action\Base\OSGAction.cpp(113) : error C2664:
> > 'std::vector<_Ty>::push_back' : cannot convert parameter 1 from
> > 'OSG::ActionBase::ResultE (__cdecl *)(OSG::NodeCorePtrConstArg,OSG::Action
> > *)' to 'const OSG::Action::Functor &'
> > with
> > [
> > _Ty=OSG::Action::Functor
> > ]
> > Reason: cannot convert from 'OSG::ActionBase::ResultE (__cdecl
> > *)(OSG::NodeCorePtrConstArg,OSG::Action *)' to 'const OSG::Action::Functor'
> > No constructor could take the source type, or constructor
> > overload resolution was ambiguous
> > Source\System\Action\Base\OSGAction.cpp(230) : error C2664:
> > 'std::vector<_Ty>::push_back' : cannot convert parameter 1 from
> > 'OSG::ActionBase::ResultE (__cdecl *)(OSG::NodeCorePtrConstArg,OSG::Action
> > *)' to 'const OSG::Action::Functor &'
> > with
> > [
> > _Ty=OSG::Action::Functor
> > ]
> > Reason: cannot convert from 'OSG::ActionBase::ResultE (__cdecl
> > *)(OSG::NodeCorePtrConstArg,OSG::Action *)' to 'const OSG::Action::Functor'
> > No constructor could take the source type, or constructor
> > overload resolution was ambiguous
> > Source\System\Action\Base\OSGAction.cpp(248) : error C2664:
> > 'std::vector<_Ty>::push_back' : cannot convert parameter 1 from
> > 'OSG::ActionBase::ResultE (__cdecl *)(OSG::NodeCorePtrConstArg,OSG::Action
> > *)' to 'const OSG::Action::Functor &'
> > with
> > [
> > _Ty=OSG::Action::Functor
> > ]
> > Reason: cannot convert from 'OSG::ActionBase::ResultE (__cdecl
> > *)(OSG::NodeCorePtrConstArg,OSG::Action *)' to 'const OSG::Action::Functor'
> > No constructor could take the source type, or constructor
> > overload resolution was ambiguous
> >
> > Regards
> > Rafael
> >
> >
> > On 10/10/2007, Rafael Menezes <[EMAIL PROTECTED] > wrote:
> > >
> > > The version of OpenSG 2.0 in SVN is only for Pocket PC? There is some
> > > place where i can find a version to work with a win32 application without
> > > use cygwin?
> > >
> > > --
> > > Rafael de Menezes
> >
> >
> >
> >
> > --
> > Rafael de Menezes
>
>
>
>
> --
> Rafael de Menezes
--
Regards
Rafael Menezes
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users