Compile problem on Linux

Because I can't compile OC 5.2 on FreeBSD now I try to compile on Linux box.

I've use Linux gentoo (but i'can change if the version is up-to-date) and I've this error
g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/include -I/usr/include -I../../../inc -I../../../drv/Draw -I../../../src/Draw -I../../../drv/DBRep -I../../../src/DBRep -I../../../drv/DrawTrSurf -I../../../src/DrawTrSurf -I/usr/local/j2sdk1.4.2_05/include -I/usr/local/j2sdk1.4.2_05/include/linux -g -O2 -DCSFDB -DNO_CXX_EXCEPTION -DNo_Exception -DNDEBUG -DLIN -DLININTEL -I/usr/local/j2sdk1.4.2_05/include -I/usr/local/j2sdk1.4.2_05/include/linux -MT Draw_Interpretor.lo -MD -MP -MF .deps/Draw_Interpretor.Tpo -c ../../../src/Draw/Draw_Interpretor.cxx -fPIC -DPIC -o Draw_Interpretor.lo
../../../src/Draw/Draw_Interpretor.cxx: In function `Standard_Integer
CommandCmd(void*, Tcl_Interp*, int, const char**)':
../../../src/Draw/Draw_Interpretor.cxx:49: error: invalid conversion from `
const char*' to `char*'

I've try this http://www.opencascade.org/org/forum/thread_6670/ (event this message is for windows) but it's don't work (not a suprise).

Well anybody can run OC 5.2 on a linux ? (In up-to-date version, I can't use a Linux like RedHat 8.0 because this is for student room)

Regards

C R Johnson's picture

I ran into the same problem. tcl and tk 8.4 do not work.
I went to tcl and tk 8.0 and it compiled ok.
It looks like 8.3 is the actual version OCC supports.

-Cliff

Danis's picture

Hi all,

I have this problem too...
Does anyone know anything about this?

Thanks