[scilab-Users] can't compile the very latest git (Scilab 5.4.0 alpha1)
Sylvestre Ledru
sylvestre.ledru at scilab-enterprises.com
Thu Jun 21 13:41:33 CEST 2012
Le 21/06/2012 13:37, Masaru Nomiya a écrit :
> Hello,
>
> I got the very latest git of scilab with 'git pull' command, then
> tried to compile.
> But it failed.
>
[...]
> .libs/libscigraphic_objects_la-createGraphicObject.o
> src/cpp/createGraphicObject.cpp: In function 'char* createGraphicObject(const char*)':
> src/cpp/createGraphicObject.cpp:27:77: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
> ./src/jni/CallGraphicController.hxx:166:15: error: initializing argument 2 of 'static char*
Interesting. Which version of gcc are you using ?
gcc --version
g++ --version
As a workaround,
make CXXFLAGS="-fpermissive"
should fix it
Thanks
Sylvestre
More information about the users
mailing list