Hello Daniel,

daniel trindade wrote:
> While trying to build the latest revision of OpenSG for Windows and 
> Linux, the following errors occurred:
> 
> CMake Error: Error in cmake code at
> C:/Hudson/work/workspace/opensg-2.0-windows-x86-vc80/src/CMakeLists.txt:254:
> Parse error. Function missing ending ")". Instead found left paren with 
> text "(".
> 
> CMake Error: Error in cmake code at
> /home/hudson/work/workspace/opensg-2.0-linux26-x86-gcc4/src/CMakeLists.txt:255:
> Parse error. Function missing ending ")". Instead found left paren with 
> text "(".
> 
> Which led me to the following lines of the corresponding CMakeLists.txt 
> file:
[SNIP]

hm, I just tried r2151 on linux with a clean build dir and it went 
through without problems. Are you using a fresh build dir or one that 
you used to build an older version in (in theory it should not really 
matter, but since you are running into this...) ?
What arguments are you passing to cmake/can you post the contents of 
your CMakeCache.txt?

> When i comment these lines, it builds ok. Is it right to comment these 
> lines? What are they for?

as a workaround maybe, but there must be something else going on which I 
suspect is the real problem. The purpose of the lines you quoted is to 
make sure that the support libs and OpenSG itself use the same values 
for the various MS secure stl settings, since they appear to be silently 
binary incompatible. This only applies when using the scripts in Support 
to compile the dependencies though, because otherwise it is hard to 
figure out what settings were used.

        Cheers,
                Carsten


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to