<div dir="ltr">Sorry for the noise Robert, an update has fixed it.<br><br><div class="gmail_quote">On Mon, Sep 22, 2008 at 12:50 PM, Robert Osfield <span dir="ltr"><<a href="mailto:robert.osfield@gmail.com">robert.osfield@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi Serge,<br>
<br>
The getWorldMatrices() method is implementated and checked into svn.<br>
<br>
   <a href="http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/osg/Drawable.cpp?rev=8880" target="_blank">http://www.openscenegraph.org/projects/osg/browser/OpenSceneGraph/trunk/src/osg/Drawable.cpp?rev=8880</a><br>

<br>
Check your local to make sure that it's checked out Drawable.cpp properly.<br>
<font color="#888888"><br>
Robert.<br>
</font><div><div></div><div class="Wj3C7c"><br>
On Mon, Sep 22, 2008 at 11:00 AM, Serge Lages <<a href="mailto:serge.lages@gmail.com">serge.lages@gmail.com</a>> wrote:<br>
> There is another compile error with this revision on osgParticle :<br>
><br>
> ModularEmitter.obj : error LNK2019: unresolved external symbol<br>
> "__declspec(dllimport) public: class std::vector<class osg::Matrixd,class<br>
> std::allocator<class osg::Matrixd> > __thiscall<br>
> osg::Drawable::getWorldMatrices(class osg::Node const *)const "<br>
> (__imp_?getWorldMatrices@Drawable@osg@@QBE?AV?$vector@VMatrixd@osg@@V?$allocator@VMatrixd@osg@@@std@@@std@@PBVNode@2@@Z)<br>
> referenced in function "protected: virtual void __thiscall<br>
> osgParticle::ModularEmitter::emit(double)"<br>
> (?emit@ModularEmitter@osgParticle@@MAEXN@Z)<br>
> OpenSceneGraph\lib\Debug\..\..\bin\osg47-osgParticled.dll : fatal error<br>
> LNK1120: 1 unresolved externals<br>
><br>
> The function osg::Drawable::getWorldMatrices seems to be declared into the<br>
> header file but not into the cpp file.<br>
><br>
> On Mon, Sep 22, 2008 at 11:37 AM, John Vidar Larring <<a href="mailto:larring@weatherone.tv">larring@weatherone.tv</a>><br>
> wrote:<br>
>><br>
>> Hi again,<br>
>><br>
>> Sorry for creating all this traffic communicating with myself, but here's<br>
>> the fix to get OSG trunk rev 8909 to compile (I'll send a zip file to<br>
>> osg-submission):<br>
>><br>
>> % svn diff CMakeLists.txt<br>
>> Index: CMakeLists.txt<br>
>> ===================================================================<br>
>> --- CMakeLists.txt      (revision 8909)<br>
>> +++ CMakeLists.txt      (working copy)<br>
>> @@ -534,7 +534,7 @@<br>
>><br>
>>  # Add a default plugin search path component<br>
>>  IF   (DYNAMIC_OPENSCENEGRAPH)<br>
>> -<br>
>> ADD_DEFINITIONS(-DOSG_DEFAULT_LIBRARY_PATH="${CMAKE_INSTALL_PREFIX}/lib${LIB_POSTFIX}/${OSG_PLUGINS}")<br>
>> +<br>
>> ADD_DEFINITIONS(-DOSG_DEFAULT_LIBRARY_PATH='"${CMAKE_INSTALL_PREFIX}/lib${LIB_POSTFIX}/${OSG_PLUGINS}"')<br>
>>  ENDIF(DYNAMIC_OPENSCENEGRAPH)<br>
>><br>
>>  INCLUDE(OsgMacroUtils)<br>
>><br>
>><br>
>> Best regards,<br>
>> John<br>
>><br>
>> John Vidar Larring wrote:<br>
>>><br>
>>> Hi again,<br>
>>><br>
>>> The compile error seems to be due to faulty CXX_FLAG settings in the<br>
>>> flags.make files created by cmake:<br>
>>><br>
>>> % grep OSG_DEFAULT_LIBRARY_PATH flags.make<br>
>>> CXX_FLAGS =   -O3 -DNDEBUG<br>
>>> -I/home/john/external.el4/OpenSceneGraph/build_trunk_release/include<br>
>>> -I/home/john/external.el4/OpenSceneGraph/trunk/include<br>
>>> -DOSG_DEBUG_POSTFIX='"d"'<br>
>>> -DOSG_DEFAULT_LIBRARY_PATH="/usr/local/lib64/osgPlugins-2.7.3"<br>
>>><br>
>>> OSG_DEFAULT_LIBRARY_PATH should probably have been set to:<br>
>>> -DOSG_DEFAULT_LIBRARY_PATH='"/usr/local/lib64/osgPlugins-2.7.3"'<br>
>>><br>
>>> (i.e. missing single quotes.) I hope someone can tell me how to fiks this<br>
>>> problem:)<br>
>>><br>
>>> Best regards,<br>
>>> John<br>
>>><br>
>>> John Vidar Larring wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>><br>
>>>> I am having trouble compiling OSG trunk after doing svn update:<br>
>>>><br>
>>>> % svn update<br>
>>>> At revision 8909.<br>
>>>> ...<br>
>>>> [ 14%] Building CXX object src/osgDB/CMakeFiles/osgDB.dir/FileUtils.o<br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp: In<br>
>>>> function `void appendInstallationLibraryFilePaths(osgDB::FilePathList&)':<br>
>>>><br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp:371:<br>
>>>> error: expected primary-expression before '/' token<br>
>>>><br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp:371:<br>
>>>> error: `usr' was not declared in this scope<br>
>>>><br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp:371:<br>
>>>> error: `local' was not declared in this scope<br>
>>>><br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp:371:<br>
>>>> error: `lib64' was not declared in this scope<br>
>>>><br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp:371:<br>
>>>> error: `osgPlugins' was not declared in this scope<br>
>>>><br>
>>>> /home/john/external.el4/OpenSceneGraph/trunk/src/osgDB/FileUtils.cpp:371:24:<br>
>>>> too many decimal points in number<br>
>>>> make[2]: *** [src/osgDB/CMakeFiles/osgDB.dir/FileUtils.o] Error 1<br>
>>>> make[1]: *** [src/osgDB/CMakeFiles/osgDB.dir/all] Error 2<br>
>>>> make: *** [all] Error 2<br>
>>>> Exit 2<br>
>>>><br>
>>>> The problem seems to be that the string contained by<br>
>>>> OSG_DEFAULT_LIBRARY_PATH is not limited by quotation marks:<br>
>>>><br>
>>>> static void appendInstallationLibraryFilePaths(osgDB::FilePathList&<br>
>>>> filepath)<br>
>>>> {<br>
>>>> #ifdef OSG_DEFAULT_LIBRARY_PATH<br>
>>>>    // Append the install prefix path to the library search path if<br>
>>>> configured<br>
>>>>    filepath.push_back(OSG_DEFAULT_LIBRARY_PATH);   <---- Line 371<br>
>>>> #endif<br>
>>>> }<br>
>>>><br>
>>>><br>
>>>> Best regards,<br>
>>>> John<br>
>>>><br>
>>>><br>
>>><br>
>>><br>
>><br>
>><br>
>> --<br>
>> Best regards,<br>
>> John<br>
>> WeatherOne<br>
>><br>
>><br>
>> --<br>
>> This message has been scanned for viruses and<br>
>> dangerous content by MailScanner, and is<br>
>> believed to be clean.<br>
>><br>
>> _______________________________________________<br>
>> osg-users mailing list<br>
>> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
>> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
><br>
><br>
><br>
> --<br>
> Serge Lages<br>
> <a href="http://www.tharsis-software.com" target="_blank">http://www.tharsis-software.com</a><br>
><br>
> _______________________________________________<br>
> osg-users mailing list<br>
> <a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
> <a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
><br>
><br>
_______________________________________________<br>
osg-users mailing list<br>
<a href="mailto:osg-users@lists.openscenegraph.org">osg-users@lists.openscenegraph.org</a><br>
<a href="http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org" target="_blank">http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Serge Lages<br><a href="http://www.tharsis-software.com">http://www.tharsis-software.com</a><br>
</div>