can't compile the very latest git (Scilab 5.4.0 alpha1)
Masaru Nomiya
nomiya at galaxy.dti.ne.jp
Thu Jun 21 14:25:27 CEST 2012
Hello,
In the Message;
Subject : Re: [scilab-Users] can't compile the very latest git (Scilab 5.4.0 alpha1)
Message-ID : <4FE3086D.100 at scilab-enterprises.com>
Date & Time: Thu, 21 Jun 2012 13:41:33 +0200
Sylvestre Ledru <sylvestre.ledru at scilab-enterprises.com> has written:
> [...]
>> .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
$ gcc --version
gcc (SUSE Linux) 4.6.3 20120531 [gcc-4_6-branch revision 188067]
$ g++ --version
g++ (SUSE Linux) 4.6.3 20120531 [gcc-4_6-branch revision 188067]
> As a workaround,
> make CXXFLAGS="-fpermissive"
> should fix it
Yes, I could compile.
But, 'sudo make install' failes with the same error messages as
before. I could solve this problem;
$ sudo make install CXXFLAGS="-fpermissive"
Anyway, thank you so much.
Regards,
---
┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp
┃\/彡
┗━━┛ "Bill! You married with Computers.
Not with Me!"
"No..., with money."
More information about the users
mailing list