This topic contains 0 replies, has 0 voices, and was last updated by  imported_gcamp 12 years, 11 months ago.

  • Author
    Posts
  • #2942

    kornik
    Participant

    i couldn’t compile scorched3d 38 on my slackware 10.0
    probably problem is with wxwindows

    when i am compiling there show an error
    g++ -DPACKAGE_NAME=”” -DPACKAGE_TARNAME=”” -DPACKAGE_VERSION=”” -DPACKAGE_STRING=”” -DPACKAGE_BUGREPORT=”” -DPACKAGE=”scorched3d” -DVERSION=”38″ -DHAVE_MYSQL=1 -I. -I. -I../porting -I.. -I/usr/X11R6/include -I/usr/X11R6 -I/usr/local/lib/wx/include/x11univ-2.4 -D__WXUNIVERSAL__ -D__WXX11__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -g -O2 -I/usr/local/include/SDL -D_REENTRANT -I/usr/local/include/freetype2 -I/usr/local/include -DS3D_DOCDIR=”/usr/local/games/scorched3d/share” -DS3D_DATADIR=”/usr/local/games/scorched3d/share” -DS3D_BINDIR=”/usr/local/games/scorched3d/bin” -DdDOUBLE -c -o DisplayDialog.o `test -f ‘DisplayDialog.cpp’ || echo ‘./’`DisplayDialog.cpp
    In file included from DisplayDialog.cpp:34:
    Display.cpp: In function `void createKeysControls(wxWindow*, wxSizer*)’:
    Display.cpp:401: error: `SetToolTip’ undeclared (first use this function)
    Display.cpp:401: error: (Each undeclared identifier is reported only once for
    each function it appears in.)
    DisplayDialog.cpp: In member function `void DisplayFrame::refreshScreen()’:
    DisplayDialog.cpp:264: error: `SetToolTip’ undeclared (first use this function)
    make[2]: *** [DisplayDialog.o] Error 1
    make[2]: Leaving directory `/home/install/scorched/src/scorched’
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/install/scorched/src’
    make: *** [all-recursive] Error 1

    pleas tell me how to compile wxwindows
    type all ./configure line to the wxwindows
    and other stuff needed by scorched

    by the way why just not to write this all in glut ??
    wxwindows suxx

    #14060

    imported_gcamp
    Participant

    Just download the wxwindows rpms from here :-
    http://www.wxwindows.org/dl_gtk.htm#stable
    The devel and base rpms will be needed.

    Have you seen windows done in glut?
    Not a very good alternative.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.