As we are talking about build problems, I can't manage to build the p3d
plugin, lots of unresolved symbols :
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setText(class std::basic_string<char,struct
std::char_traits<char>,class std::allocator<char> > const &)"
(__imp_?sett...@textbase@osgText@@qaexabv?$basic_str...@du?$char_traits@D
@std@@v?$alloca...@d@2@@std@@@Z) referenced in function "public: void
__thiscall osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setPosition(class osg::Vec3f const &)"
(__imp_?setposit...@textbase@osgText@@qaexabvve...@osg@@@Z) referenced in
function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setAxisAlignment(enum osgText::TextBase::AxisAlignment)"
(__imp_?setaxisalignm...@textbase@osgText@@qaexw4axisalignm...@12@@Z)
referenced in function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setAlignment(enum osgText::TextBase::AlignmentType)"
(__imp_?setalignm...@textbase@osgText@@qaexw4alignmentt...@12@@Z) referenced
in function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setLayout(enum osgText::TextBase::Layout)"
(__imp_?setlay...@textbase@osgText@@qaexw4lay...@12@@Z) referenced in
function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setMaximumWidth(float)" (__imp_?setmaximumwi...@textbase
@osgText@@qa...@z) referenced in function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setFontResolution(unsigned int,unsigned int)"
(__imp_?setfontresolut...@textbase@osgText@@qae...@z) referenced in function
"public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgText::TextBase::setCharacterSize(float,float)"
(__imp_?setcharacters...@textbase@osgText@@qae...@z) referenced in function
"public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall osgText::Text::setColor(class
osg::Vec4f const &)" (__imp_?setco...@text@osgText@@qaexabvve...@osg@@@Z)
referenced in function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall osgText::Text::setFont(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &)" (__imp_?setf...@text@osgText@
@qaexabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z)
referenced in function "public: void __thiscall
osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall osgText::Text::Text(void)"
(__imp_??0t...@osgtext@@q...@xz) referenced in function "public: void
__thiscall osgPresentation::SlideShowConstructor::addLayer(bool,bool)"
(?addla...@slideshowconstructor@osgPresentation@@qaex...@z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::setThreadSafeRefUnref(bool)"
(?setthreadsaferefun...@text@osgText@@uae...@z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual class osg::Object * __thiscall
osgText::Text::cloneType(void)const " (?clonet...@text@osgText@
@ubepavobj...@osg@@XZ)
3>Linking...
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual class osg::Object * __thiscall osgText::Text::clone(class
osg::CopyOp const &)const " (?cl...@text@osgText@@ubepavobj...@osg
@@abvcop...@4@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::isSameKindAs(class
osg::Object const *)const " (?issamekin...@text@osgText@@ube_npbvobj...@osg
@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual char const * __thiscall
osgText::Text::libraryName(void)const " (?libraryn...@text@osgText@
@UBEPBDXZ)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual char const * __thiscall osgText::Text::className(void)const
" (?classn...@text@osgText@@UBEPBDXZ)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall
osgText::Text::resizeGLObjectBuffers(unsigned int)"
(?resizeglobjectbuff...@text@osgText@@ua...@z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::releaseGLObjects(class
osg::State *)const " (?releaseglobje...@text@osgText@@ubexpavst...@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual class osg::BoundingBoxImpl<class osg::Vec3f> __thiscall
osgText::TextBase::computeBound(void)const " (?computebo...@textbase
@osgText@@ube?av?$boundingboxi...@vvec3f@osg@@@osg@@XZ)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::drawImplementation(class
osg::RenderInfo &)const " (?drawimplementat...@text@osgText@
@ubexaavrenderi...@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::supports(class
osg::PrimitiveFunctor const &)const " (?suppo...@text@osgText@
@ube_nabvprimitivefunc...@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::supports(class
osg::Drawable::ConstAttributeFunctor const &)const " (?suppo...@text
@osgText@@ube_nabvconstattributefunc...@drawable@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual bool __thiscall osgText::Text::supports(class
osg::Drawable::AttributeFunctor const &)const " (?suppo...@text@osgText@
@ube_nabvattributefunc...@drawable@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::accept(class
osg::PrimitiveFunctor &)const " (?acc...@text@osgText@
@ubexaavprimitivefunc...@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"public: virtual void __thiscall osgText::Text::accept(class
osg::Drawable::ConstAttributeFunctor &)const " (?acc...@text@osgText@
@ubexaavconstattributefunc...@drawable@osg@@@Z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"protected: virtual void __thiscall osgText::Text::computePositions(unsigned
int)const " (?computepositi...@text@osgText@@mb...@z)
4>SlideShowConstructor.obj : error LNK2001: unresolved external symbol
"protected: virtual void __thiscall
osgText::Text::computeGlyphRepresentation(void)"
(?computeglyphrepresentat...@text@osgText@@MAEXXZ)
4>SlideShowConstructor.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __thiscall
osgText::Text::~Text(void)" (__imp_??1t...@osgtext@@m...@xz) referenced in
function "protected: virtual void * __thiscall osgText::Text::`scalar
deleting destructor'(unsigned int)" (??_gt...@osgtext@@maep...@z)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
osgGA::GUIEventHandler::~GUIEventHandler(void)"
(__imp_??1guieventhand...@osgga@@u...@xz) referenced in function
__unwindfunclet$??0pickeventhand...@osgpresentation@@q...@w4operation@1@
_...@z$0
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: virtual __thiscall
osgGA::GUIEventHandler::~GUIEventHandler(void)"
(__imp_??1guieventhand...@osgga@@u...@xz)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
osgGA::GUIEventHandler::GUIEventHandler(void)"
(__imp_??0guieventhand...@osgga@@q...@xz) referenced in function "public:
__thiscall osgPresentation::PickEventHandler::PickEventHandler(enum
osgPresentation::Operation,bool,int,int)"
(??0pickeventhand...@osgpresentation@@q...@w4operation@1...@_nhh@Z)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: __thiscall
osgGA::GUIEventHandler::GUIEventHandler(void)"
(__imp_??0guieventhand...@osgga@@q...@xz)
4>PickEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgGA::GUIEventHandler::operator()(class osg::Node
*,class osg::NodeVisitor *)" (??rguieventhand...@osgga@@uaexpavn...@osg
@@pavnodevisi...@3@@Z)
4>PickEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgGA::GUIEventHandler::handle(class
osgGA::GUIEventAdapter const &,class osgGA::GUIActionAdapter &)"
(?han...@guieventhandler@osgGA@@uae_nabvguieventadap...@2
@aavguiactionadap...@2@@Z)
4>PickEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgGA::GUIEventHandler::event(class osg::NodeVisitor
*,class osg::Drawable *)" (?ev...@guieventhandler@osgGA@
@uaexpavnodevisi...@osg@@pavdrawa...@4@@Z)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall osgGA::GUIEventHandler::event(class osg::NodeVisitor
*,class osg::Drawable *)" (?ev...@guieventhandler@osgGA@
@uaexpavnodevisi...@osg@@pavdrawa...@4@@Z)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual char const * __thiscall
osgGA::GUIEventHandler::libraryName(void)const "
(__imp_?libraryn...@guieventhandler@osgGA@@UBEPBDXZ) referenced in function
"[thunk]:public: virtual char const * __thiscall
osgGA::GUIEventHandler::libraryName`vtordisp{4294967292,56}' (void)const "
(?libraryn...@guieventhandler@osgGA@@$4ppppp...@di@BEPBDXZ)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual class osg::Object * __thiscall
osgGA::GUIEventHandler::cloneType(void)const "
(__imp_?clonet...@guieventhandler@osgGA@@ubepavobj...@osg@@XZ) referenced in
function "[thunk]:public: virtual class osg::Object * __thiscall
osgGA::GUIEventHandler::cloneType`vtordisp{4294967292,56}' (void)const "
(?clonet...@guieventhandler@osgGA@@$4ppppp...@di@bepavobj...@osg@@XZ)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual bool __thiscall
osgGA::GUIEventHandler::isSameKindAs(class osg::Object const *)const "
(__imp_?issamekin...@guieventhandler@osgGA@@ube_npbvobj...@osg@@@Z)
referenced in function "[thunk]:public: virtual bool __thiscall
osgGA::GUIEventHandler::isSameKindAs`vtordisp{4294967292,56}' (class
osg::Object const *)const " (?issamekin...@guieventhandler@osgGA@
@$4ppppp...@di@be_npbvobj...@osg@@@Z)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual class osg::Object * __thiscall
osgGA::GUIEventHandler::clone(class osg::CopyOp const &)const "
(__imp_?cl...@guieventhandler@osgGA@@ubepavobj...@osg@@abvcop...@4@@Z)
referenced in function "[thunk]:public: virtual class osg::Object *
__thiscall osgGA::GUIEventHandler::clone`vtordisp{4294967292,56}' (class
osg::CopyOp const &)const " (?cl...@guieventhandler@osgGA@@$4ppppp...@di
@bepavobj...@osg@@abvcop...@4@@Z)
4>PickEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: virtual char const * __thiscall
osgGA::GUIEventHandler::className(void)const "
(__imp_?classn...@guieventhandler@osgGA@@UBEPBDXZ) referenced in function
"[thunk]:public: virtual char const * __thiscall
osgGA::GUIEventHandler::className`vtordisp{4294967292,56}' (void)const "
(?classn...@guieventhandler@osgGA@@$4ppppp...@di@BEPBDXZ)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: double __thiscall
osgGA::EventQueue::getTime(void)const "
(__imp_?gett...@eventqueue@osgGA@@QBENXZ)
referenced in function "public: bool __thiscall
osgPresentation::SlideEventHandler::home(void)" (?h...@slideeventhandler
@osgPresentation@@QAE_NXZ)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: __thiscall
osgGA::GUIEventAdapter::GUIEventAdapter(void)"
(__imp_??0guieventadap...@osgga@@q...@xz) referenced in function "public:
bool __thiscall osgPresentation::SlideEventHandler::home(void)"
(?h...@slideeventhandler@osgPresentation@@QAE_NXZ)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall
osgGA::GUIEventAdapter::cloneType(void)const " (?clonet...@guieventadapter
@osgGA@@ubepavobj...@osg@@XZ)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual class osg::Object * __thiscall osgGA::GUIEventAdapter::clone(class
osg::CopyOp const &)const " (?cl...@guieventadapter@osgGA@@ubepavobj...@osg
@@abvcop...@4@@Z)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgGA::GUIEventAdapter::isSameKindAs(class
osg::Object const *)const " (?issamekin...@guieventadapter@osgGA@
@ube_npbvobj...@osg@@@Z)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall
osgGA::GUIEventAdapter::libraryName(void)const "
(?libraryn...@guieventadapter@osgGA@@UBEPBDXZ)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual char const * __thiscall osgGA::GUIEventAdapter::className(void)const
" (?classn...@guieventadapter@osgGA@@UBEPBDXZ)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual enum osgGA::GUIEventAdapter::EventType __thiscall
osgGA::GUIEventAdapter::getEventType(void)const "
(?geteventt...@guieventadapter@osgGA@@ube?aw4eventt...@12@XZ)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual int __thiscall osgGA::GUIEventAdapter::getKey(void)const "
(?get...@guieventadapter@osgGA@@UBEHXZ)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) protected: virtual __thiscall
osgGA::GUIEventAdapter::~GUIEventAdapter(void)"
(__imp_??1guieventadap...@osgga@@m...@xz) referenced in function "protected:
virtual void * __thiscall osgGA::GUIEventAdapter::`scalar deleting
destructor'(unsigned int)" (??_gguieventadap...@osgga@@maep...@z)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgGA::EventQueue::keyRelease(int,double)" (__imp_?keyrele...@eventqueue
@osgGA@@qae...@z) referenced in function "public: void __thiscall
osgPresentation::SlideEventHandler::dispatchEvent(struct
osgPresentation::KeyPosition const &)" (?dispatchev...@slideeventhandler
@osgPresentation@@qaexabukeyposit...@2@@Z)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: void __thiscall
osgGA::EventQueue::keyPress(int,double)" (__imp_?keypr...@eventqueue@osgGA@
@qae...@z) referenced in function "public: void __thiscall
osgPresentation::SlideEventHandler::dispatchEvent(struct
osgPresentation::KeyPosition const &)" (?dispatchev...@slideeventhandler
@osgPresentation@@qaexabukeyposit...@2@@Z)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: class osgGA::GUIEventAdapter * __thiscall
osgGA::EventQueue::getCurrentEventState(void)"
(__imp_?getcurrenteventst...@eventqueue@osgGA@@qaepavguieventadap...@2@XZ)
referenced in function "public: void __thiscall
osgPresentation::SlideEventHandler::dispatchEvent(struct
osgPresentation::KeyPosition const &)" (?dispatchev...@slideeventhandler
@osgPresentation@@qaexabukeyposit...@2@@Z)
4>SlideEventHandler.obj : error LNK2019: unresolved external symbol
"__declspec(dllimport) public: bool __thiscall
osgGA::GUIEventHandler::handleWithCheckAgainstIgnoreHandledEventsMask(class
osgGA::GUIEventAdapter const &,class osgGA::GUIActionAdapter &,class
osg::Object *,class osg::NodeVisitor *)"
(__imp_?handlewithcheckagainstignorehandledeventsm...@guieventhandler@osgGA@
@qae_nabvguieventadap...@2@aavguiactionadap...@2@pavobj...@osg
@@pavnodevisi...@6@@Z) referenced in function "public: virtual void
__thiscall osgPresentation::SlideEventHandler::operator()(class osg::Node
*,class osg::NodeVisitor *)" (??rslideeventhand...@osgpresentation
@@uaexpavn...@osg@@pavnodevisi...@3@@Z)
4>SlideEventHandler.obj : error LNK2001: unresolved external symbol "public:
virtual bool __thiscall osgGA::GUIEventHandler::handle(class
osgGA::GUIEventAdapter const &,class osgGA::GUIActionAdapter &,class
osg::Object *,class osg::NodeVisitor *)" (?han...@guieventhandler@osgGA@
@uae_nabvguieventadap...@2@aavguiactionadap...@2@pavobj...@osg
@@pavnodevisi...@6@@Z)
4>D:\Magrathea\Dependencies\Main\OpenSceneGraph\lib\Release\..\..\bin\osgPlugins-2.9.4\osgdb_p3d.dll
: fatal error LNK1120: 54 unresolved externals
On Fri, May 8, 2009 at 2:11 PM, Serge Lages <[email protected]> wrote:
> It builds with your modified GraphicsWindowWin32.cpp ! :)
>
>
> On Fri, May 8, 2009 at 1:45 PM, Robert Osfield
> <[email protected]>wrote:
>
>> HI Serge,
>>
>> Arggg.... two steps forward, one back...
>>
>> The initializer addition was meant to fix a bug.... so what should the
>> value should we use here to replace the 0, would InheritCursor be
>> sufficient as I presume it's value will be zero. I've attached
>> GraphicsWindowWin32.cpp with the initializer change to InheritCursor.
>> Could you try this out to see if things behave themselves.
>>
>> Thanks,
>> Robert.
>>
>> On Fri, May 8, 2009 at 12:22 PM, Serge Lages <[email protected]>
>> wrote:
>> > Hi Robert,
>> >
>> > The current build (SVN trunk) seems broken under Windows (VS2005
>> Express),
>> > here are the errors :
>> >
>> > 10>.\GraphicsWindowWin32.cpp(1035) : error C2440: 'initializing' :
>> cannot
>> > convert from 'int' to 'osgViewer::GraphicsWindow::MouseCursor'
>> > 10> Conversion to enumeration type requires an explicit cast
>> > (static_cast, C-style cast or function-style cast)
>> > 10>.\GraphicsWindowWin32.cpp(1035) : error C2439:
>> > 'osgViewer::GraphicsWindowWin32::_mouseCursor' : member could not be
>> > initialized
>> > 10>
>> >
>> D:\Magrathea\Dependencies\Main\OpenSceneGraph\include\osgViewer/api/Win32/GraphicsWindowWin32(182)
>> > : see declaration of 'osgViewer::GraphicsWindowWin32::_mouseCursor'
>> >
>> > Cheers,
>> >
>> > --
>> > Serge Lages
>> > http://www.tharsis-software.com
>> >
>> > _______________________________________________
>> > osg-users mailing list
>> > [email protected]
>> >
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>> >
>> >
>>
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>>
>>
>
>
> --
> Serge Lages
> http://www.tharsis-software.com
>
--
Serge Lages
http://www.tharsis-software.com
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org