Hello Thiago,

Thiago Bastos wrote:
> There seems to be a subtle problem with the CMake build of 
> OSGContribCSM. If one tries to build OSG2 by calling cmake just once, it 
> fails with the following error:
> 
> [Linux] 
> Source/Contrib/ComplexSceneManager/OSGCSMNativeWindowBase.cpp:63:32: 
> error: OSGCSMNativeWindow.h: No such file or directory
> 
> [Windows] 
> Source\Contrib\ComplexSceneManager\OSGCSMNativeWindowBase.cpp(63) : 
> fatal error C1083: Cannot open include file: 'OSGCSMNativeWindow.h': No 
> such file or directory
> 
> Then if you simply call "cmake && (n)make" again, the build will 
> complete successfully. Calling cmake twice in a row also seems to fix 
> the probem.
> 
> I couldn't find anything suspicious in the ContribCSM CMake files. Is 
> this intentional or known behaviour?

it is not intentional. I've seen it once before and suspected it was 
some subtle problem caused by doing a parallel build (make -j4). Since 
it went away after just calling make again I had forgotten about it :-/

One thing worth trying is perhaps to add the Native-X, Native-WIN32 
directories first in the CMakeLists.Lib.OSGContribCSM.txt file.

        Cheers,
                Carsten

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to