im triying to compile a object from the source http://xeat-engine.googlecode.com/svn/trunk/ using the code
g++ -c wx-config --cxxflags
main.cpp
g++ -o main main.o wx-config --libs
and obtain the error
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../x86_64-linux-gnu/crt1.o: In function _start':
(.text+0x20): undefined reference to
main'
collect2: error: ld returned 1 exit status
please help me to fix the problem What could I do? IS A CAPTURE FOR MAIN.CPP
wxIMPLEMENT_APP()
macro? It may help diagnosis. - polarysektIMPLEMENT_APP(xeatengine_guiApp);
towxIMPLEMENT_APP(xeatengine_guiApp);
ingui/xeatengine_gui.h
. still same error... Could you paste your changes? - JesseIMPLEMENT_APP(xeatengine_guiApp);
towxIMPLEMENT_APP(xeatengine_guiApp);
ingui/xeatengine_gui.cpp
and addwxDECLARE_APP(xeatengine_guiApp);
ingui/xeatengine_gui.h
. - Jesse