Hi, Thiago Bastos wrote: > could you post the svn revision, this makes it easier to see excactly > which one you are using. > > > If it helps, the one I was using before was 1662. > > > hmm, I don't see this one, neither on Windows nor on Linux (both > rev 1677). > > Could you send me the OSGBase.cmake file from you build directory. > > > OK, the problem only happens if I enable "OSG_ENABLE_FCD2CODE" (well, it > didn't do anything useful in the previous revision AFAICT, but I was > giving it a try again this time).
ok, that one I never tried on Windows as I haven't had time to figured out how to get rid of the dos newlines automatically. On Linux I have it enabled and it seem to work fine. I'll give it a try and see what happens. > BTW, I'm only able to compile OSG2 on Windows (using MSVC8) if I > manually edit CMAKE_EXE_LINKER_FLAGS and CMAKE_SHARED_LINKER_FLAGS to > remove "/nodefaultlib". Otherwise compilation fails because the compiler > can't find common symbols from the CRT, such as strdup/read/write/unlink > etc. used by 3rd party libs). A little weird, never had to do that > before with other CMake projects. You have to be a little bit careful, some cmake settings are only made once in the very beginning, so if you just keep updating from the svn without redoing cmake from scratch (e.g. at least delete the cache) you will not pick up all the changes. This is mainly due to the fact that you can only set the compiler once in the beginning. Thereafter cmake does not allow you to modify you compiler choice any more, hence we also run our compiler setup once in the very beginning. IIRC this came quite straight out of the cmake FAQ. Last variable values from the cache win over variables from the CMake files, unless you force the issue, but than the user can't change anything any more as the force option will always win. And the crt handling definitely changed during the last few commits in order to support building all variants from Visual Studio without the need to rerun cmake. So if you haven't, can you delete your cache and see if cmake picks up all the changes so you can build without modifying the compiler setting. kind regards, gerrit ------------------------------------------------------------------------------ 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
