Installing error.

Hi.
As a engineering student and newbie to linux i need som help here.
I have installed openCascade 5.2 without problems, did configure it without problems. But when run the make command i get this error:

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../inc -I../../../drv/FWOSDriver -I../../../src/FWOSDriver -g -O2 -DCSFDB -DNO_CXX_EXCEPTION -DNo_Exception -DNDEBUG -DLIN -DLININTEL -MT FWOSDriver.lo -MD -MP -MF .deps/FWOSDriver.Tpo -c ../../../src/FWOSDriver/FWOSDriver.cxx -fPIC -DPIC -o FWOSDriver.lo
../../../src/FWOSDriver/FWOSDriver.cxx:12:18: pasting "FWOSDriver" and "::" does not give a valid preprocessing token
make[3]: *** [FWOSDriver.lo] Error 1
make[3]: Leaving directory `/opt/opencascade/ros/adm/make/FWOSPlugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/opencascade/ros/adm/make'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/opencascade/ros'
make: *** [all] Error 2

Can someone tell me whats wrong? and what i should do?
I'm on ubuntu distro if that helps.
And remeber i'm a newbie so pleas keep it simple.

Thanks.
Sverre

Etienne LORRIAUX's picture

Hi

You should precise the gcc, tcl, and tk versions you are using. Try with gcc-3.2.3 and tcl/tk-8.3.4, it should work.

slusken's picture

I'm using gcc 3.4 and tcl/tk 8.4. If that helps.
Will gcc-3.2.2 and tcl/tk -8.3.4 work better that the newer versions?

Etienne LORRIAUX's picture

Yes.