LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Comical help (https://www.linuxquestions.org/questions/linux-newbie-8/comical-help-731215/)

threatingbehaviour 06-07-2009 03:57 AM

Comical help
 
hey I'm installing comical and I start to compile but get (mostly) this message when I run make...
src/../Comical Icons/rot_ccw.xpm:24: warning: deprecated conversion from string constant to ‘char*’ and I have all the requirements (wxwidgets 2.6.2 or later and gcc 3.3 or later)

jdkaye 06-07-2009 04:29 AM

Quote:

Originally Posted by threatingbehaviour (Post 3565749)
hey I'm installing comical and I start to compile but get (mostly) this message when I run make...
src/../Comical Icons/rot_ccw.xpm:24: warning: deprecated conversion from string constant to ‘char*’ and I have all the requirements (wxwidgets 2.6.2 or later and gcc 3.3 or later)

That is just a warning, not an error so it (by itself) shouldn't prevent compilation from going ahead. Do you get any actual error messages?
cheers,
jdk

threatingbehaviour 06-07-2009 05:52 PM

the only errors I am getting are the following...

src/ComicalApp.cpp:401: error: ‘wxGetNumberFromUser’ was not declared in this scope
src/ComicalApp.cpp:414: error: ‘wxGetNumberFromUser’ was not declared in this scope
make: *** [src/ComicalApp.o] Error 1

i92guboj 06-07-2009 06:08 PM

It can be that either wxwidgets or gcc is too new. Or it can be just a regular coding bug. Whatever it is, you should report it upstream to the wxwidget guys so they can fix it on the next release. It's surely something trivial to patch, you have to go to that line on the said source file and look a bit around to see if that function has been declared there or somewhere else in a visible scope. It might be a name that changed, or maybe the scope is not correct, or maybe someone omitted the needed forward declaration in a .h file. Grep can come in handy to search for the function.

threatingbehaviour 06-07-2009 10:49 PM

ah ok thanks I'll have to try that out first I gotta learn how to use grep though I'm still pretty new

chrism01 06-09-2009 01:10 AM

example

grep <pattern> <filename(s)>

eg

grep wxwidget *.c


All times are GMT -5. The time now is 10:28 PM.