Author Topic: GAE source and setting up to build for Linux users  (Read 4251 times)

tele

  • Guest
GAE source and setting up to build for Linux users
« on: 21 June 2012, 11:51:49 »
http://sourceforge.net/apps/trac/glestae/wiki/CompileGuideLinux

create folder build in glestae_git

open CMake 2.8.4 GUI

I browse-source .../gleast git
brouse build .../glestae git/build

I click Configure:
Code: [Select]
[quote]Unix Makefiles
* Use default native compilers [/quote]
clik : Configure:
The CXX compiler identification is GNU
The C compiler identification is GNU
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working C compiler: /usr/bin/gcc
Check for working C compiler: /usr/bin/gcc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Looking for glob.h
Looking for glob.h - found
Looking for sys/ioctl.h
Looking for sys/ioctl.h - found
Looking for sys/filio.h
Looking for sys/filio.h - not found
Looking for sys/time.h
Looking for sys/time.h - found
Looking for byteswap.h
Looking for byteswap.h - found
Found Lua51: /usr/lib/liblua.so;/usr/lib/libm.so (Required is at least version "5.1")
Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
Looking for gethostbyname
Looking for gethostbyname - found
Looking for connect
Looking for connect - found
Looking for remove
Looking for remove - found
Looking for shmat
Looking for shmat - found
Looking for IceConnectionNumber in ICE
Looking for IceConnectionNumber in ICE - found
Found X11: /usr/lib/libX11.so
Found OpenGL: /usr/lib/libGL.so
Found VORBIS: /usr/include
Found ZLIB: /usr/include (found version "1.2.5")
Could NOT find CPPUNIT (missing:  CPPUNIT_INCLUDE_DIR CPPUNIT_LIBRARY)
Found LibXml2: /usr/lib/libxml2.so
Found wxWidgets: TRUE
Found Freetype: /usr/lib/libfreetype.so
Found PNG: /usr/lib/libpng.so
Found JPEG: /usr/lib/libjpeg.so
Found PhysFS: /usr/lib/libphysfs.so
Looking for include files CMAKE_HAVE_PTHREAD_H
Looking for include files CMAKE_HAVE_PTHREAD_H - found
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - found
Found Threads: TRUE
Found OpenAL: /usr/lib/libopenal.so
Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
disabled doc
Could NOT find cppcheck (missing:  CPPCHECK_EXECUTABLE CPPCHECK_POSSIBLEERROR_ARG CPPCHECK_UNUSEDFUNC_ARG CPPCHECK_STYLE_ARG CPPCHECK_INCLUDEPATH_ARG CPPCHECK_QUIET_ARG)
disabled tests with cppcheck
disabled testsuite
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLEW_INCLUDE_DIR
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/shared_lib
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/game
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/blendnorm
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/g3d_viewer
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/configurator
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/glexemel
GLEW_LIBRARY
    linked by target "shared_lib" in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/shared_lib

Configuring incomplete, errors occurred!

Befor I try compile from terminal:
Code: [Select]
$ cmake -DGAE_DATA_DIR=$PWD/../data/game ..
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for glob.h
-- Looking for glob.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/filio.h
-- Looking for sys/filio.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Found Lua51: /usr/lib/liblua.so;/usr/lib/libm.so (Required is at least version "5.1")
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found OpenGL: /usr/lib/libGL.so
-- Found VORBIS: /usr/include
-- Found ZLIB: /usr/include (found version "1.2.5")
-- Could NOT find CPPUNIT (missing:  CPPUNIT_INCLUDE_DIR CPPUNIT_LIBRARY)
-- Found LibXml2: /usr/lib/libxml2.so
-- Found wxWidgets: TRUE
-- Found Freetype: /usr/lib/libfreetype.so
-- Found PNG: /usr/lib/libpng.so
-- Found JPEG: /usr/lib/libjpeg.so
-- Found PhysFS: /usr/lib/libphysfs.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenAL: /usr/lib/libopenal.so
-- Could NOT find Doxygen (missing:  DOXYGEN_EXECUTABLE)
-- disabled doc
-- Could NOT find cppcheck (missing:  CPPCHECK_EXECUTABLE CPPCHECK_POSSIBLEERROR_ARG CPPCHECK_UNUSEDFUNC_ARG CPPCHECK_STYLE_ARG CPPCHECK_INCLUDEPATH_ARG CPPCHECK_QUIET_ARG)
-- disabled tests with cppcheck
-- disabled testsuite
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLEW_INCLUDE_DIR
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/shared_lib
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/game
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/blendnorm
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/g3d_viewer
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/configurator
   used as include directory in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/glexemel
GLEW_LIBRARY
    linked by target "shared_lib" in directory /home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/shared_lib

-- Configuring incomplete, errors occurred!

I don't know what I do wrong.
I try install cppcheck now.
I installed libcpptest0
instaled doxygen
I will try...
« Last Edit: 24 June 2012, 12:35:31 by tele »

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: GAE source and setting up to build for Linux users
« Reply #1 on: 21 June 2012, 12:49:16 »
You don't need cppcheck and doxygen. If it's not found, it's disabled. What you have to install is glew or libglew or however the exact package name is in your distribution. If your distribution splits headers from library packages you have to install the dev(el) package too.

tele

  • Guest
Re: GAE source and setting up to build for Linux users
« Reply #2 on: 21 June 2012, 12:55:52 »
I instaled libglew-devel
Quote
Configuring done
Generating done
Thanks Yggdrasil    :D

What now ?
make
make install?
_____________________
.....
Code: [Select]
#make
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/FSFactory.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/FileOps.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/MemFileOps.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/PhysFileOps.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/StdFileOps.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ifile_stream.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ifile_streambuf.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ofile_stream.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ofile_streambuf.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/factory_repository.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/gl_wrap.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/platform_util.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/thread.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/window.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/openal/sound_player_openal.cpp.o
Linking CXX static library libshared_lib.a
[ 29%] Built target shared_lib
[ 29%] Generating version.cpp
Scanning dependencies of target glestadv
[ 29%] Building CXX object source/game/CMakeFiles/glestadv.dir/misc_widgets.cpp.o
[ 30%] Building CXX object source/game/CMakeFiles/glestadv.dir/pch.cpp.o
[ 30%] Building CXX object source/game/CMakeFiles/glestadv.dir/test_pane.cpp.o
[ 31%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai.cpp.o
[ 31%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai_interface.cpp.o
[ 32%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai_rule.cpp.o
[ 32%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/gaia.cpp.o
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/command.cpp.o
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/effect.cpp.o
[ 34%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/faction.cpp.o
[ 34%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/game_particle.cpp.o
[ 35%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/object.cpp.o
[ 35%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/resource.cpp.o
[ 36%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/unit.cpp.o
[ 36%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/upgrade.cpp.o
[ 37%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/auto_test.cpp.o
[ 38%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/debug_stats.cpp.o
[ 38%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/game_util.cpp.o
[ 39%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/logger.cpp.o
[ 39%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/pos_iterator.cpp.o
[ 40%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/commander.cpp.o
[ 40%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/console.cpp.o
[ 41%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game.cpp.o
[ 41%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_camera.cpp.o
[ 42%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_constants.cpp.o
[ 42%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_settings.cpp.o
[ 43%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/options.cpp.o
[ 43%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/stats.cpp.o
[ 44%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/config.cpp.o
[ 44%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/core_data.cpp.o
[ 45%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/exceptions.cpp.o
[ 45%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/lang.cpp.o
[ 46%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/metrics.cpp.o
[ 46%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/debug_renderer.cpp.o
[ 47%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/imageset.cpp.o
[ 47%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/renderer.cpp.o
[ 48%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/scene_culler.cpp.o
[ 48%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/surface_atlas.cpp.o
[ 49%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/terrain_renderer.cpp.o
[ 49%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/water_effects.cpp.o
[ 50%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/chat_dialog.cpp.o
[ 50%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/debug_widgets.cpp.o
[ 51%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/display.cpp.o
[ 52%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/game_menu.cpp.o
[ 52%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/keymap.cpp.o
[ 53%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/keymap_widget.cpp.o
[ 53%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/lua_console.cpp.o
[ 54%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/resource_bar.cpp.o
[ 54%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/selection.cpp.o
[ 55%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/user_interface.cpp.o
[ 55%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/CmdArgs.cpp.o
[ 56%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/battle_end.cpp.o
[ 56%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/intro.cpp.o
[ 57%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/main.cpp.o
[ 57%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/program.cpp.o
[ 58%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/main_menu.cpp.o
[ 58%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_background.cpp.o
[ 59%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_about.cpp.o
[ 59%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_graphic_info.cpp.o
[ 60%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_join_game.cpp.o
[ 60%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_load_game.cpp.o
[ 61%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_new_game.cpp.o
[ 61%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_options.cpp.o
[ 62%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_root.cpp.o
[ 62%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_scenario.cpp.o
[ 63%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/client_interface.cpp.o
[ 63%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/connection_slot.cpp.o
[ 64%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_interface.cpp.o
[ 64%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_message.cpp.o
[ 65%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_status.cpp.o
[ 66%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_types.cpp.o
[ 66%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/server_interface.cpp.o
[ 67%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cloak_type.cpp.o
[ 67%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_attack.cpp.o
[ 68%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_general.cpp.o
[ 68%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_worker.cpp.o
[ 69%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/damage_multiplier.cpp.o
[ 69%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/earthquake_type.cpp.o
[ 70%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/effect_type.cpp.o
[ 70%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/element_type.cpp.o
[ 71%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/faction_type.cpp.o
[ 71%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/object_type.cpp.o
[ 72%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/particle_type.cpp.o
[ 72%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/resource_type.cpp.o
[ 73%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/skill_type.cpp.o
[ 73%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/tech_tree.cpp.o
[ 74%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/unit_stats_base.cpp.o
[ 74%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/unit_type.cpp.o
[ 75%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/upgrade_type.cpp.o
[ 75%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/scenario.cpp.o
[ 76%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/script_manager.cpp.o
[ 76%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/trigger_manager.cpp.o
[ 77%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/annotated_map.cpp.o
[ 77%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/cartographer.cpp.o
[ 78%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/cluster_map.cpp.o
[ 78%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/influence_map.cpp.o
[ 79%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/node_map.cpp.o
[ 79%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/node_pool.cpp.o
[ 80%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/route_planner.cpp.o
[ 81%] Building CXX object source/game/CMakeFiles/glestadv.dir/sound/sound_container.cpp.o
[ 81%] Building CXX object source/game/CMakeFiles/glestadv.dir/sound/sound_renderer.cpp.o
[ 82%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/framed_widgets.cpp.o
[ 82%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/list_widgets.cpp.o
[ 83%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/mouse_cursor.cpp.o
[ 83%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/player_slot_widget.cpp.o
[ 84%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/scroll_bar.cpp.o
[ 84%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/slider.cpp.o
[ 85%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/ticker_tape.cpp.o
[ 85%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/tool_tips.cpp.o
[ 86%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_config.cpp.o
[ 86%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_style.cpp.o
[ 87%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_window.cpp.o
[ 87%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widgets.cpp.o
[ 88%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widgets_base.cpp.o
[ 88%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/map.cpp.o
[ 89%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/minimap.cpp.o
[ 89%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/sim_interface.cpp.o
[ 90%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/tileset.cpp.o
[ 90%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/time_flow.cpp.o
[ 91%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/type_factories.cpp.o
[ 91%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/world.cpp.o
[ 92%] Building CXX object source/game/CMakeFiles/glestadv.dir/version.cpp.o
make[2]: *** Brak reguł do zrobienia obiektu `/usr/lib/liblua.so', wymaganego przez `source/game/glestadv'. Stop.
make[1]: *** [source/game/CMakeFiles/glestadv.dir/all] Błąd 2
make: *** [all] Błąd 2

"No rule to make target `/ usr / lib / liblua.so ', needed by` source / game / glestadv'"
I have
liblua 5.0 and  5.1
 liblua-devel
lua 5.2.0
"lua5.0" 5.0.3

I will try from terminal configure...
"cmake -DGAE_DATA_DIR=$PWD/../data/game .."
done
make :
Code: [Select]
$ make
Scanning dependencies of target shared_lib
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/conversion.cpp.o
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/leak_dumper.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/profiler.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/properties.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/util.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/math/math_util.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/math/quaternion.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/buffer.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/camera.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/context.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/font.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/font_manager.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/ft_font.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/graphics_interface.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/interpolation.cpp.o
[  9%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/model.cpp.o
[  9%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/model_manager.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/particle.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/pixmap.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/texture.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/texture_manager.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/context_gl.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/model_renderer_gl.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/opengl.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/particle_renderer_gl.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/shader.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/text_renderer_gl.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/texture_gl.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/input.cpp.o
[ 16%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/socket.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/timer.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/window_gl.cpp.o
[ 18%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound.cpp.o
[ 18%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_file_loader.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_interface.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_player.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxml.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlerror.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlparser.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/xml/xml_parser.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/FSFactory.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/FileOps.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/MemFileOps.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/PhysFileOps.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/StdFileOps.cpp.o
[ 25%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ifile_stream.cpp.o
[ 25%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ifile_streambuf.cpp.o
[ 26%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ofile_stream.cpp.o
[ 26%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ofile_streambuf.cpp.o
[ 27%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/factory_repository.cpp.o
[ 27%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/gl_wrap.cpp.o
[ 28%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/platform_util.cpp.o
[ 28%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/thread.cpp.o
[ 29%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/window.cpp.o
[ 29%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/openal/sound_player_openal.cpp.o
Linking CXX static library libshared_lib.a
[ 29%] Built target shared_lib
[ 29%] Generating version.cpp
Scanning dependencies of target glestadv
[ 29%] Building CXX object source/game/CMakeFiles/glestadv.dir/misc_widgets.cpp.o
[ 30%] Building CXX object source/game/CMakeFiles/glestadv.dir/pch.cpp.o
[ 30%] Building CXX object source/game/CMakeFiles/glestadv.dir/test_pane.cpp.o
[ 31%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai.cpp.o
[ 31%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai_interface.cpp.o
[ 32%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai_rule.cpp.o
[ 32%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/gaia.cpp.o
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/command.cpp.o
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/effect.cpp.o
[ 34%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/faction.cpp.o
[ 34%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/game_particle.cpp.o
[ 35%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/object.cpp.o
[ 35%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/resource.cpp.o
[ 36%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/unit.cpp.o
[ 36%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/upgrade.cpp.o
[ 37%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/auto_test.cpp.o
[ 38%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/debug_stats.cpp.o
[ 38%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/game_util.cpp.o
[ 39%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/logger.cpp.o
[ 39%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/pos_iterator.cpp.o
[ 40%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/commander.cpp.o
[ 40%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/console.cpp.o
[ 41%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game.cpp.o
[ 41%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_camera.cpp.o
[ 42%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_constants.cpp.o
[ 42%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_settings.cpp.o
[ 43%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/options.cpp.o
[ 43%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/stats.cpp.o
[ 44%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/config.cpp.o
[ 44%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/core_data.cpp.o
[ 45%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/exceptions.cpp.o
[ 45%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/lang.cpp.o
[ 46%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/metrics.cpp.o
[ 46%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/debug_renderer.cpp.o
[ 47%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/imageset.cpp.o
[ 47%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/renderer.cpp.o
[ 48%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/scene_culler.cpp.o
[ 48%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/surface_atlas.cpp.o
[ 49%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/terrain_renderer.cpp.o
[ 49%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/water_effects.cpp.o
[ 50%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/chat_dialog.cpp.o
[ 50%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/debug_widgets.cpp.o
[ 51%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/display.cpp.o
[ 52%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/game_menu.cpp.o
[ 52%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/keymap.cpp.o
[ 53%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/keymap_widget.cpp.o
[ 53%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/lua_console.cpp.o
[ 54%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/resource_bar.cpp.o
[ 54%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/selection.cpp.o
[ 55%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/user_interface.cpp.o
[ 55%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/CmdArgs.cpp.o
[ 56%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/battle_end.cpp.o
[ 56%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/intro.cpp.o
[ 57%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/main.cpp.o
[ 57%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/program.cpp.o
[ 58%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/main_menu.cpp.o
[ 58%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_background.cpp.o
[ 59%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_about.cpp.o
[ 59%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_graphic_info.cpp.o
[ 60%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_join_game.cpp.o
[ 60%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_load_game.cpp.o
[ 61%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_new_game.cpp.o
[ 61%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_options.cpp.o
[ 62%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_root.cpp.o
[ 62%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_scenario.cpp.o
[ 63%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/client_interface.cpp.o
[ 63%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/connection_slot.cpp.o
[ 64%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_interface.cpp.o
[ 64%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_message.cpp.o
[ 65%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_status.cpp.o
[ 66%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_types.cpp.o
[ 66%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/server_interface.cpp.o
[ 67%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cloak_type.cpp.o
[ 67%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_attack.cpp.o
[ 68%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_general.cpp.o
[ 68%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_worker.cpp.o
[ 69%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/damage_multiplier.cpp.o
[ 69%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/earthquake_type.cpp.o
[ 70%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/effect_type.cpp.o
[ 70%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/element_type.cpp.o
[ 71%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/faction_type.cpp.o
[ 71%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/object_type.cpp.o
[ 72%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/particle_type.cpp.o
[ 72%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/resource_type.cpp.o
[ 73%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/skill_type.cpp.o
[ 73%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/tech_tree.cpp.o
[ 74%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/unit_stats_base.cpp.o
[ 74%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/unit_type.cpp.o
[ 75%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/upgrade_type.cpp.o
[ 75%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/scenario.cpp.o
[ 76%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/script_manager.cpp.o
[ 76%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/trigger_manager.cpp.o
[ 77%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/annotated_map.cpp.o
[ 77%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/cartographer.cpp.o
[ 78%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/cluster_map.cpp.o
[ 78%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/influence_map.cpp.o
[ 79%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/node_map.cpp.o
[ 79%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/node_pool.cpp.o
[ 80%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/route_planner.cpp.o
[ 81%] Building CXX object source/game/CMakeFiles/glestadv.dir/sound/sound_container.cpp.o
[ 81%] Building CXX object source/game/CMakeFiles/glestadv.dir/sound/sound_renderer.cpp.o
[ 82%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/framed_widgets.cpp.o
[ 82%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/list_widgets.cpp.o
[ 83%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/mouse_cursor.cpp.o
[ 83%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/player_slot_widget.cpp.o
[ 84%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/scroll_bar.cpp.o
[ 84%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/slider.cpp.o
[ 85%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/ticker_tape.cpp.o
[ 85%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/tool_tips.cpp.o
[ 86%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_config.cpp.o
[ 86%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_style.cpp.o
[ 87%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_window.cpp.o
[ 87%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widgets.cpp.o
[ 88%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widgets_base.cpp.o
[ 88%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/map.cpp.o
[ 89%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/minimap.cpp.o
[ 89%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/sim_interface.cpp.o
[ 90%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/tileset.cpp.o
[ 90%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/time_flow.cpp.o
[ 91%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/type_factories.cpp.o
[ 91%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/world.cpp.o
[ 92%] Building CXX object source/game/CMakeFiles/glestadv.dir/version.cpp.o
Linking CXX executable glestadv
[ 92%] Built target glestadv
Scanning dependencies of target version
[ 93%] Built target version
Scanning dependencies of target blendnorm
[ 93%] Building CXX object source/blendnorm/CMakeFiles/blendnorm.dir/blendnorm.cpp.o
Linking CXX executable blendnorm
[ 93%] Built target blendnorm
Scanning dependencies of target gae_mapeditor
[ 94%] Building CXX object source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::init(std::string, wxString)’:
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp:336:23: warning: ‘void wxGLCanvasBase::SetCurrent()’ is deprecated (declared at /usr/local/include/wx-2.9/wx/glcanvas.h:139)
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMenuFileSaveAs(wxCommandEvent&)’:
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp:568:90: error: ‘wxSAVE’ was not declared in this scope
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp: In constructor ‘MapEditor::GlCanvas::GlCanvas(MapEditor::MainWindow*, wxWindow*, int*)’:
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp:1077:26: warning: ‘wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&, const int*, const wxPalette&)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/gtk/glcanvas.h:53)
make[2]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o] Błąd 1
make[1]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/all] Błąd 2
make: *** [all] Błąd 2
_____________
second time with GUI:
terminal make
Code: [Select]
.......
Scanning dependencies of target gae_mapeditor
[ 94%] Building CXX object source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::init(std::string, wxString)’:
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp:336:23: warning: ‘void wxGLCanvasBase::SetCurrent()’ is deprecated (declared at /usr/local/include/wx-2.9/wx/glcanvas.h:139)
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMenuFileSaveAs(wxCommandEvent&)’:
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp:568:90: error: ‘wxSAVE’ was not declared in this scope
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp: In constructor ‘MapEditor::GlCanvas::GlCanvas(MapEditor::MainWindow*, wxWindow*, int*)’:
/home/gg/Pobrane/glestae-src-0.3.93/glestae_git/source/map_editor/main.cpp:1077:26: warning: ‘wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&, const int*, const wxPalette&)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/gtk/glcanvas.h:53)
make[2]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o] Błąd 1
make[1]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/all] Błąd 2
make: *** [all] Błąd 2

I will try uninstall wxWidgets and compile.

I have the same error, I try with another source code.

Ehh, I have some problem install lua for my distribution.

« Last Edit: 21 June 2012, 20:40:16 by tele »

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: GAE source and setting up to build for Linux users
« Reply #3 on: 21 June 2012, 18:00:50 »
In your last log it looks like glestadv got built just fine. To make sure just run:
Code: [Select]
$ make glestadv

If everything is ok, you can start the game with:
Code: [Select]
$ ./source/game/glestadv

Regarding the map editor, which version of wxgtk do you have installed?

Btw, you shouldn't run make as root, only make install needs it.

tele

  • Guest
Re: GAE source and setting up to build for Linux users
« Reply #4 on: 21 June 2012, 22:16:29 »
Back to glestae-git
Now I don't have wxWidgets , sory  I heve  wxgtk2.8  2.18-3  and libwxgtk2.8 2.18-3   - this back

Code: [Select]
$ make
Scanning dependencies of target shared_lib
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/conversion.cpp.o
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/leak_dumper.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/profiler.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/properties.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/util.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/math/math_util.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/math/quaternion.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/buffer.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/camera.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/context.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/font.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/font_manager.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/ft_font.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/graphics_interface.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/interpolation.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/model.cpp.o
[  9%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/model_manager.cpp.o
[  9%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/particle.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/pixmap.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/texture.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/texture_manager.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/context_gl.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/model_renderer_gl.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/opengl.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/particle_renderer_gl.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/shader.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/text_renderer_gl.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/texture_gl.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/input.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/socket.cpp.o
[ 16%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/timer.cpp.o
[ 16%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/window_gl.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_file_loader.cpp.o
[ 18%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_interface.cpp.o
[ 18%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_player.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxml.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlerror.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlparser.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/xml/xml_parser.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/FSFactory.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/FileOps.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/MemFileOps.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/PhysFileOps.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/StdFileOps.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ifile_stream.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ifile_streambuf.cpp.o
[ 25%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ofile_stream.cpp.o
[ 25%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/physfs/ofile_streambuf.cpp.o
[ 26%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/factory_repository.cpp.o
[ 26%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/gl_wrap.cpp.o
[ 27%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/platform_util.cpp.o
[ 27%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/thread.cpp.o
[ 28%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/sdl/window.cpp.o
[ 28%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/openal/sound_player_openal.cpp.o
Linking CXX static library libshared_lib.a
[ 28%] Built target shared_lib
[ 28%] Generating version.cpp
Scanning dependencies of target glestadv
[ 28%] Building CXX object source/game/CMakeFiles/glestadv.dir/misc_widgets.cpp.o
[ 29%] Building CXX object source/game/CMakeFiles/glestadv.dir/pch.cpp.o
[ 29%] Building CXX object source/game/CMakeFiles/glestadv.dir/test_pane.cpp.o
[ 30%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai.cpp.o
[ 30%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai_interface.cpp.o
[ 31%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/ai_rule.cpp.o
[ 31%] Building CXX object source/game/CMakeFiles/glestadv.dir/ai/gaia.cpp.o
[ 32%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/command.cpp.o
[ 32%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/effect.cpp.o
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/faction.cpp.o
[ 33%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/game_particle.cpp.o
[ 34%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/object.cpp.o
[ 34%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/resource.cpp.o
[ 35%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/unit.cpp.o
[ 35%] Building CXX object source/game/CMakeFiles/glestadv.dir/entities/upgrade.cpp.o
[ 36%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/auto_test.cpp.o
[ 36%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/debug_stats.cpp.o
[ 37%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/game_util.cpp.o
[ 37%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/logger.cpp.o
[ 38%] Building CXX object source/game/CMakeFiles/glestadv.dir/facilities/pos_iterator.cpp.o
[ 38%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/commander.cpp.o
[ 39%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/console.cpp.o
[ 39%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game.cpp.o
[ 40%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_camera.cpp.o
[ 40%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_constants.cpp.o
[ 41%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/game_settings.cpp.o
[ 41%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/options.cpp.o
[ 42%] Building CXX object source/game/CMakeFiles/glestadv.dir/game/stats.cpp.o
[ 42%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/config.cpp.o
[ 43%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/core_data.cpp.o
[ 43%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/exceptions.cpp.o
[ 44%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/lang.cpp.o
[ 44%] Building CXX object source/game/CMakeFiles/glestadv.dir/global/metrics.cpp.o
[ 45%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/debug_renderer.cpp.o
[ 45%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/imageset.cpp.o
[ 46%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/renderer.cpp.o
[ 46%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/scene_culler.cpp.o
[ 47%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/surface_atlas.cpp.o
[ 47%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/terrain_renderer.cpp.o
[ 48%] Building CXX object source/game/CMakeFiles/glestadv.dir/graphics/water_effects.cpp.o
[ 48%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/chat_dialog.cpp.o
[ 49%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/debug_widgets.cpp.o
[ 49%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/display.cpp.o
[ 50%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/game_menu.cpp.o
[ 50%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/keymap.cpp.o
[ 51%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/keymap_widget.cpp.o
[ 51%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/lua_console.cpp.o
[ 52%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/resource_bar.cpp.o
[ 52%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/selection.cpp.o
[ 53%] Building CXX object source/game/CMakeFiles/glestadv.dir/gui/user_interface.cpp.o
[ 53%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/CmdArgs.cpp.o
[ 54%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/battle_end.cpp.o
[ 54%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/intro.cpp.o
[ 55%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/main.cpp.o
[ 55%] Building CXX object source/game/CMakeFiles/glestadv.dir/main/program.cpp.o
[ 56%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/main_menu.cpp.o
[ 56%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_background.cpp.o
[ 57%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_about.cpp.o
[ 57%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_graphic_info.cpp.o
[ 58%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_join_game.cpp.o
[ 58%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_load_game.cpp.o
[ 59%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_new_game.cpp.o
[ 59%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_options.cpp.o
[ 60%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_root.cpp.o
[ 60%] Building CXX object source/game/CMakeFiles/glestadv.dir/menu/menu_state_scenario.cpp.o
[ 61%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/client_interface.cpp.o
[ 61%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/connection_slot.cpp.o
[ 62%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_interface.cpp.o
[ 62%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_message.cpp.o
[ 63%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_status.cpp.o
[ 63%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/network_types.cpp.o
[ 64%] Building CXX object source/game/CMakeFiles/glestadv.dir/network/server_interface.cpp.o
[ 64%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cloak_type.cpp.o
[ 65%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_attack.cpp.o
[ 65%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_general.cpp.o
[ 66%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/cmd_types_worker.cpp.o
[ 66%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/damage_multiplier.cpp.o
[ 67%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/earthquake_type.cpp.o
[ 67%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/effect_type.cpp.o
[ 68%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/element_type.cpp.o
[ 68%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/faction_type.cpp.o
[ 69%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/object_type.cpp.o
[ 69%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/particle_type.cpp.o
[ 70%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/resource_type.cpp.o
[ 70%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/skill_type.cpp.o
[ 71%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/tech_tree.cpp.o
[ 71%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/unit_stats_base.cpp.o
[ 72%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/unit_type.cpp.o
[ 72%] Building CXX object source/game/CMakeFiles/glestadv.dir/prototypes/upgrade_type.cpp.o
[ 73%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/scenario.cpp.o
[ 73%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/script_manager.cpp.o
[ 74%] Building CXX object source/game/CMakeFiles/glestadv.dir/script/trigger_manager.cpp.o
[ 74%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/annotated_map.cpp.o
[ 75%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/cartographer.cpp.o
[ 75%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/cluster_map.cpp.o
[ 76%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/influence_map.cpp.o
[ 76%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/node_map.cpp.o
[ 77%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/node_pool.cpp.o
[ 77%] Building CXX object source/game/CMakeFiles/glestadv.dir/search/route_planner.cpp.o
[ 78%] Building CXX object source/game/CMakeFiles/glestadv.dir/sound/sound_container.cpp.o
[ 78%] Building CXX object source/game/CMakeFiles/glestadv.dir/sound/sound_renderer.cpp.o
[ 79%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/framed_widgets.cpp.o
[ 79%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/list_widgets.cpp.o
[ 80%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/mouse_cursor.cpp.o
[ 80%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/player_slot_widget.cpp.o
[ 81%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/scroll_bar.cpp.o
[ 81%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/slider.cpp.o
[ 82%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/ticker_tape.cpp.o
[ 82%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/tool_tips.cpp.o
[ 83%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_config.cpp.o
[ 83%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_style.cpp.o
[ 84%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widget_window.cpp.o
[ 84%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widgets.cpp.o
[ 85%] Building CXX object source/game/CMakeFiles/glestadv.dir/widgets/widgets_base.cpp.o
[ 85%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/map.cpp.o
[ 86%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/minimap.cpp.o
[ 86%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/sim_interface.cpp.o
[ 87%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/tileset.cpp.o
[ 87%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/time_flow.cpp.o
[ 88%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/type_factories.cpp.o
[ 88%] Building CXX object source/game/CMakeFiles/glestadv.dir/world/world.cpp.o
[ 89%] Building CXX object source/game/CMakeFiles/glestadv.dir/version.cpp.o
Linking CXX executable glestadv
[ 89%] Built target glestadv
Scanning dependencies of target version
[ 89%] Built target version
Scanning dependencies of target blendnorm
[ 89%] Building CXX object source/blendnorm/CMakeFiles/blendnorm.dir/blendnorm.cpp.o
Linking CXX executable blendnorm
[ 89%] Built target blendnorm
Scanning dependencies of target gae_mapeditor
[ 90%] Building CXX object source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o
/home/gg/Pobrane/glestae_git/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::init(std::string, wxString)’:
/home/gg/Pobrane/glestae_git/source/map_editor/main.cpp:336:23: warning: ‘void wxGLCanvasBase::SetCurrent()’ is deprecated (declared at /usr/local/include/wx-2.9/wx/glcanvas.h:139)
/home/gg/Pobrane/glestae_git/source/map_editor/main.cpp: In member function ‘void MapEditor::MainWindow::onMenuFileSaveAs(wxCommandEvent&)’:
/home/gg/Pobrane/glestae_git/source/map_editor/main.cpp:568:90: error: ‘wxSAVE’ was not declared in this scope
/home/gg/Pobrane/glestae_git/source/map_editor/main.cpp: In constructor ‘MapEditor::GlCanvas::GlCanvas(MapEditor::MainWindow*, wxWindow*, int*)’:
/home/gg/Pobrane/glestae_git/source/map_editor/main.cpp:1077:26: warning: ‘wxGLCanvas::wxGLCanvas(wxWindow*, wxWindowID, const wxPoint&, const wxSize&, long int, const wxString&, const int*, const wxPalette&)’ is deprecated (declared at /usr/local/include/wx-2.9/wx/gtk/glcanvas.h:53)
make[2]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/main.cpp.o] Błąd 1
make[1]: *** [source/map_editor/CMakeFiles/gae_mapeditor.dir/all] Błąd 2
make: *** [all] Błąd 2
[gg@localhost build]$ make glestadv
[ 31%] Built target shared_lib
[100%] Built target glestadv
[gg@localhost build]$ ./source/game/glestadv
[/home/gg/.glestadv/] is in the search path.
[./] is in the search path.
config-dir: /home/gg/.glestadv/
data-dir: ./

Init Window: 1 ms.
Init OpenGL: 206 ms.
Error loading gae/shaders/per_vert_lighting.vs
PHYSFS_openRead failed: gae/shaders/per_vert_lighting.vs
Error: No such file or directory

Oh noes! widget.cfg was not found, that's a fatal error :-(

Load WidgetConfig: 2 ms.
Exception: Oh noes! widget.cfg was not found, that's a fatal error :-(

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: GAE source and setting up to build for Linux users
« Reply #5 on: 21 June 2012, 22:56:19 »
You have to set GAE_DATA_DIR in cmake correctly. If you want to run the game from the build directory:
Code: [Select]
$ cmake -DCMAKE_BUILD_TYPE=Release -DGAE_DATA_DIR=$PWD/../data/game ..
$ make glestadv
$ ./source/game/glestadv

'make install' won't work in this case. Let's just see if the game runs ok.

tele

  • Guest
Re: GAE source and setting up to build for Linux users
« Reply #6 on: 22 June 2012, 08:23:20 »
Done  :D
I have black screen and cursor like from windows, but black.
I can't write more , because I can't kill and minimalize proces.

I check whether the game will run on another system,
  maybe the game have higher requirements.
___________
from http://sourceforge.net/projects/glestae/files/
glestae-0.3.2-win32.exe (62.7 MB) - working with ati 9200 128Mb
glestae-0.3.93-win32.exe  - not working
glestae-0.4 beta2-win32.exe - I hear music from menu , but not working.

What version is in  $ git clone git://glestae.git.sourceforge.net/gitroot/glestae/glestae glestae_git ?

I will try compile with 0.3.2
I have problem with lua
Code: [Select]
$ cmake -DCMAKE_BUILD_TYPE=Release -DGAE_DATA_DIR=$PWD/../data/game ..
-- The CXX compiler identification is GNU
-- The C compiler identification is GNU
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Looking for glob.h
-- Looking for glob.h - found
-- Looking for sys/ioctl.h
-- Looking for sys/ioctl.h - found
-- Looking for sys/filio.h
-- Looking for sys/filio.h - not found
-- Looking for sys/time.h
-- Looking for sys/time.h - found
-- Looking for byteswap.h
-- Looking for byteswap.h - found
-- Found Lua51: /usr/lib/liblua.a;/usr/lib/libm.so (Required is at least version "5.1")
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Found OpenGL: /usr/lib/libGL.so
-- Found VORBIS: /usr/include
-- Found ZLIB: /usr/include (found version "1.2.5")
-- Found CPPUNIT: /usr/include
-- Found LibXml2: /usr/lib/libxml2.so
-- Found wxWidgets: TRUE
-- Found Freetype: /usr/lib/libfreetype.so
-- Found PNG: /usr/lib/libpng.so
-- Found PhysFS: /usr/lib/libphysfs.so
-- Looking for include files CMAKE_HAVE_PTHREAD_H
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found OpenAL: /usr/lib/libopenal.so
-- Found Doxygen: /usr/bin/doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /home/gg/Pobrane/glestae-src-0.3.2/build
[gg@localhost build]$ make glestadv
Scanning dependencies of target shared_lib
[  0%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/profiler.cpp.o
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/leak_dumper.cpp.o
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/conversion.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/util.cpp.o
[  2%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/util/properties.cpp.o
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/math/quaternion.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/math/math_util.cpp.o
[  4%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/model_manager.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/font_manager.cpp.o
[  5%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/font.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/particle.cpp.o
[  6%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/pixmap.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/model.cpp.o
[  7%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/interpolation.cpp.o
[  8%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/ft_font.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/texture_manager.cpp.o
[ 10%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/texture.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/graphics_interface.cpp.o
[ 11%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/context.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/camera.cpp.o
[ 12%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/buffer.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/model_renderer_gl.cpp.o
[ 13%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/context_gl.cpp.o
[ 14%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/text_renderer_gl.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/particle_renderer_gl.cpp.o
[ 15%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/texture_gl.cpp.o
[ 16%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/opengl.cpp.o
[ 16%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/timer.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/input.cpp.o
[ 17%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/socket.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/platform/window_gl.cpp.o
[ 19%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_player.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound.cpp.o
[ 20%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_file_loader.cpp.o
[ 21%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/sound/sound_interface.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxml.cpp.o
[ 22%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlparser.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/tinyxml/tinyxmlerror.cpp.o
[ 23%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/xml/xml_parser.cpp.o
[ 24%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o
/home/gg/Pobrane/glestae-src-0.3.2/source/shared_lib/sources/lua/lua_script.cpp: In member function ‘void Shared::Lua::LuaArguments::checkTable(int, size_t) const’:
/home/gg/Pobrane/glestae-src-0.3.2/source/shared_lib/sources/lua/lua_script.cpp:408:45: error: ‘lua_objlen’ was not declared in this scope
/home/gg/Pobrane/glestae-src-0.3.2/source/shared_lib/sources/lua/lua_script.cpp: In member function ‘size_t Shared::Lua::LuaArguments::checkTable(int, size_t, size_t) const’:
/home/gg/Pobrane/glestae-src-0.3.2/source/shared_lib/sources/lua/lua_script.cpp:421:45: error: ‘lua_objlen’ was not declared in this scope
make[3]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o] Błąd 1
make[2]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/all] Błąd 2
make[1]: *** [source/game/CMakeFiles/glestadv.dir/rule] Błąd 2
make: *** [glestadv] Błąd 2
I will try install some lua.

I don't have lua.hpp  ::)
 glestae-src-0.3.2/source/shared_lib/include/lua/lua_script.h:17:19: fatal error: lua.hpp

$
Code: [Select]
make glestadv
[  1%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o
In file included from /home/gg/Pobrane/glestae-src-0.3.2/source/shared_lib/sources/lua/lua_script.cpp:16:0:
/home/gg/Pobrane/glestae-src-0.3.2/source/shared_lib/include/lua/lua_script.h:17:19: fatal error: lua.hpp: Nie ma takiego pliku ani katalogu
compilation terminated.
make[3]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/sources/lua/lua_script.cpp.o] Błąd 1
make[2]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/all] Błąd 2
make[1]: *** [source/game/CMakeFiles/glestadv.dir/rule] Błąd 2
make: *** [glestadv] Błąd 2
_____
I don't have liblua.so , I have only liblua.so.5.0
« Last Edit: 23 June 2012, 10:00:10 by tele »

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: GAE source and setting up to build for Linux users
« Reply #7 on: 24 June 2012, 11:08:53 »
Mhmm, looks like we added something on our way to 0.4 which breaks it for you. Let's try to get the git version, which is our development version, working for you. Fixing older versions is not really the best idea. So please use glestae_git now.

I can't write more , because I can't kill and minimalize proces.
Better enable window mode. This way you can kill it easily. Open ~/.glestadv/glestadv.ini and set 'DisplayWindowed' to true. While you're at it you can also change the resolution with 'DisplayHeight' and 'DisplayWidth'. Another thing to test is setting 'RenderCompressTextures' to false.

If it still fails to run please have a look at ~/.glestadv/glestadv-error.log and post the content here.

I don't have liblua.so , I have only liblua.so.5.0
Judging from the soname of the library, do you have lua 5.0 installed? This won't work. You need lua 5.1 or 5.2. I'm surpised it built before...

Could you also please post the gcc version you're using and the output of glxinfo (you can skip the tables at the bottom). /proc/cpuinfo would be good to know too.

tele

  • Guest
Re: GAE source and setting up to build for Linux users
« Reply #8 on: 24 June 2012, 12:03:09 »
Huuuraaa! Huuuuraa!  ;D

I install lua from
http://www.lua.org/ftp/
And I have lua.hpp , but not have liblua.so
I install lua51-5.1.4-19.5.i586.rpm and lua51-devel-5.1.4-19.5.i586.rpm from OpenSuse to Zen-linux  :D
http://rpm.pbone.net/index.php3?stat=3&limit=1&srodzaj=1&dl=40&search=liblua.so&field[]=1&field[]=2
And now I have liblua.so

Compile glestae-src-0.3.2

Code: [Select]
$ cmake -DCMAKE_BUILD_TYPE=Release -DGAE_DATA_DIR=$PWD/../data/game ..
-- Configuring done
CMake Warning at source/map_editor/CMakeLists.txt:9 (add_executable):
  Cannot generate a safe linker search path for target gae_mapeditor because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [liblua.so] in /usr/lib may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at source/g3d_viewer/CMakeLists.txt:9 (add_executable):
  Cannot generate a safe linker search path for target gae_g3dviewer because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [liblua.so] in /usr/lib may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at source/configurator/CMakeLists.txt:6 (add_executable):
  Cannot generate a safe linker search path for target glest_configurator
  because files in some directories may conflict with libraries in implicit
  directories:

    link library [liblua.so] in /usr/lib may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

CMake Warning at source/test/CMakeLists.txt:37 (add_executable):
  Cannot generate a safe linker search path for target test_suite because
  files in some directories may conflict with libraries in implicit
  directories:

    link library [liblua.so] in /usr/lib may be hidden by files in:
      /usr/local/lib

  Some of these libraries may not be found correctly.

-- Generating done
-- Build files have been written to: /home/gg/Pobrane/glestae-src-0.3.2/build
[gg@localhost build]$ make glestadv
[ 33%] Built target shared_lib
Linking CXX executable glestadv
[100%] Built target glestadv
[gg@localhost build]$ ./source/game/glestadv
config-dir: /home/gg/.glestadv/
data-dir: /home/gg/Pobrane/glestae-src-0.3.2/build/../data/game

[/home/gg/.glestadv/] is in the search path.
[/home/gg/Pobrane/glestae-src-0.3.2/build/../data/game] is in the search path.
AL lib: pulseaudio.c:838: Device is suspended

This working, very thanks for help  :D
__________________
I can try compile glestae_git if you wish  :D

I can't find file ~/.glestadv/glestadv.ini in glestae_git folder
~/.glestadv/glestadv-error.log
I will try /source/game/config.db and compile glestae_git
edit:
this is thesame with glestae_git , black screen and can't "kill ..." ( gleastadv )

« Last Edit: 24 June 2012, 20:55:15 by tele »

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: GAE source and setting up to build for Linux users
« Reply #9 on: 26 June 2012, 13:55:56 »
~ is a short form for your home directory. The configuration files are stored in a hidden folder in your home directory
/home/username/.glestadv
In this hidden folder you'll find glestadv.ini, where you can change settings, and other log files which hopefully contain some information to fix your problems. These are all just text files (only core is something different if you have that).

tele

  • Guest
Re: GAE source and setting up to build for Linux users
« Reply #10 on: 26 June 2012, 17:44:27 »
glest_git

Quote
~ is a short form for your home directory.

aaaaaa, ok  ;D

Code: [Select]
$ ./glestadv
[/home/gg/.glestadv/] is in the search path.
[/home/gg/Pobrane/glestae_git/build/../data/game] is in the search path.
config-dir: /home/gg/.glestadv/
data-dir: /home/gg/Pobrane/glestae_git/build/../data/game

Init Window: 1 ms.
Init OpenGL: 145 ms.

gae-crash.txt
Code: [Select]
Crash
Version: Advanced Engine 0.3.93+git_8aaea9f 0.3-960-g8aaea9f
Built: nie, 24 cze 2012, 17:20:32 CEST
Time: Tue Jun 26 21:44:45 2012
Description: SIGSEGV: address not mapped to object
Address: 0
Backtrace:
./glestadv(_ZN6Shared8Platform24PlatformExceptionHandler7handlerEiP7siginfoPv+0x152) [0x83b6352]
[0xffffe40c]
Quote
Another thing to test is setting 'RenderCompressTextures' to false.
I don't have this in glestadv.ini

glestadv.log
Code: [Select]
Glest Advanced Engine: Program log file. 26-Jun-2012_21-44-45

90: Initialising OpenGL
120: Loading place-holder texture.

glestadv-error.log
Code: [Select]
Glest Advanced Engine: Error log file. 26-Jun-2012_21-44-45
glestadv-server.log
Code: [Select]
Glest Advanced Engine: Server log file.

Frame: 0 :: quitGame aborting game.
Frame: 0 :: constructGameWorld
Frame: 0 :: loadWorld
Frame: 0 :: initWorld
Frame: 0 :: SkillCycleTable built, numEntries = 190, messageSize = 3040 (@16)
Frame: 0 :: launchGame
Frame: 243 :: destroyGameWorld

gcc version -->  4.5.2-4pclos2011

glxinfo  ( I skiped the tables )
Code: [Select]
$ glxinfo
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_INTEL_swap_event
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
    GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
    GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap,
    GLX_INTEL_swap_event
GLX version: 1.4
GLX extensions:
    GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
    GLX_OML_swap_method, GLX_OML_sync_control, GLX_SGI_make_current_read,
    GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
    GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGIX_visual_select_group,
    GLX_EXT_texture_from_pixmap
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 (RV280 5964) x86/MMX/SSE2 TCL DRI2
OpenGL version string: 1.3 Mesa 7.11.2
OpenGL extensions:
    GL_ARB_multisample, GL_EXT_abgr, GL_EXT_bgra, GL_EXT_blend_color,
    GL_EXT_blend_logic_op, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
    GL_EXT_copy_texture, GL_EXT_polygon_offset, GL_EXT_subtexture,
    GL_EXT_texture_object, GL_EXT_vertex_array, GL_EXT_compiled_vertex_array,
    GL_EXT_texture, GL_EXT_texture3D, GL_IBM_rasterpos_clip,
    GL_ARB_point_parameters, GL_EXT_draw_range_elements, GL_EXT_packed_pixels,
    GL_EXT_point_parameters, GL_EXT_rescale_normal,
    GL_EXT_separate_specular_color, GL_EXT_texture_edge_clamp,
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_ARB_multitexture,
    GL_IBM_multimode_draw_arrays, GL_IBM_texture_mirrored_repeat,
    GL_ARB_texture_cube_map, GL_ARB_texture_env_add, GL_ARB_transpose_matrix,
    GL_EXT_blend_func_separate, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
    GL_EXT_secondary_color, GL_EXT_texture_env_add,
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
    GL_INGR_blend_func_separate, GL_NV_blend_square, GL_NV_light_max_exponent,
    GL_NV_texgen_reflection, GL_SUN_multi_draw_arrays,
    GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
    GL_EXT_framebuffer_object, GL_EXT_texture_env_dot3, GL_MESA_window_pos,
    GL_NV_packed_depth_stencil, GL_NV_texture_rectangle,
    GL_ARB_occlusion_query, GL_ARB_texture_env_combine,
    GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
    GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos, GL_ATI_fragment_shader,
    GL_EXT_texture_cube_map, GL_APPLE_packed_pixels,
    GL_APPLE_vertex_array_object, GL_ARB_draw_buffers, GL_ARB_vertex_program,
    GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, GL_EXT_stencil_wrap,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_ARB_half_float_pixel,
    GL_ARB_point_sprite, GL_ARB_vertex_buffer_object,
    GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
    GL_OES_read_format, GL_ARB_texture_rectangle, GL_EXT_texture_mirror_clamp,
    GL_EXT_texture_rectangle, GL_EXT_packed_depth_stencil,
    GL_ARB_vertex_array_object, GL_ATI_texture_mirror_once,
    GL_EXT_gpu_program_parameters, GL_EXT_texture_env_combine,
    GL_OES_EGL_image, GL_ARB_copy_buffer, GL_ARB_robustness

cpuinfo
Code: [Select]
#cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 3
model name : Intel(R) Celeron(R) CPU 2.53GHz
stepping : 3
cpu MHz : 2533.270
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe constant_tsc up pebs bts pni dtes64 monitor ds_cpl cid
bogomips : 5059.61
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 32 bits virtual
power management:

glxinfo | grep -i mesa / glxinfo | grep -i ati / glrrxinfo / lspci -v  (not full)
Code: [Select]
$ glxinfo | grep -i mesa
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
client glx vendor string: Mesa Project and SGI
    GLX_MESA_copy_sub_buffer, GLX_MESA_multithread_makecurrent,
    GLX_MESA_swap_control, GLX_OML_swap_method, GLX_OML_sync_control,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_MESA_multithread_makecurrent, GLX_MESA_swap_control,
OpenGL renderer string: Mesa DRI R200 (RV280 5964) x86/MMX/SSE2 TCL DRI2
OpenGL version string: 1.3 Mesa 7.11.2
    GL_EXT_framebuffer_object, GL_EXT_texture_env_dot3, GL_MESA_window_pos,
    GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_ARB_half_float_pixel,
[gg@localhost ~]$ glxinfo | grep -i ati
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_EXT_framebuffer_sRGB,
    GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
    GL_ARB_texture_mirrored_repeat, GL_ARB_window_pos, GL_ATI_fragment_shader,
    GL_ATI_draw_buffers, GL_ATI_texture_env_combine3, GL_EXT_stencil_wrap,
    GL_ATI_blend_equation_separate, GL_EXT_blend_equation_separate,
    GL_ARB_vertex_array_object, GL_ATI_texture_mirror_once,
[gg@localhost ~]$ fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: Tungsten Graphics, Inc.
OpenGL renderer string: Mesa DRI R200 (RV280 5964) x86/MMX/SSE2 TCL DRI2
OpenGL version string: 1.3 Mesa 7.11.2

$ lspci -v
....
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV280 [Radeon 9200 SE] (rev 01) (prog-if 00 [VGA controller])
Subsystem: Giga-byte Technology Radeon 9200 SE
Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 16
Memory at e8000000 (32-bit, prefetchable) [size=128M]
I/O ports at a800 [size=256]
Memory at ff0f0000 (32-bit, non-prefetchable) [size=64K]
Expansion ROM at ff0c0000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: radeon
Kernel modules: radeonfb

« Last Edit: 27 June 2012, 10:40:33 by tele »

Yggdrasil

  • Local Moderator
  • Ornithopter
  • ********
  • Posts: 408
    • View Profile
Re: GAE source and setting up to build for Linux users
« Reply #11 on: 30 June 2012, 00:18:00 »
Quote
Another thing to test is setting 'RenderCompressTextures' to false.
I don't have this in glestadv.ini
Just add a new line:
Code: [Select]
RenderCompressTextures=false

Looks like you get another segfault while already handling an error... I'll have a deeper look in the next days.