View source
From Iris2
for
Gentoo compile
Jump to:
navigation
,
search
wxwidget linkercommand : problem during link : <pre> Linking iris ./liblugrelib.a(lugre_commondialog.o): In function `Lugre::LugreMessageBox(Lugre::eLugreMessageBoxType, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >)': lugre_commondialog.cpp:(.text+0x86): undefined reference to `wxApp::wxApp()' ... </pre> solution : (aliverius): make -n CONFIG=Release (after premakelinux.sh, outputs some info and a linker command, e.g.) <pre> g++ -o bin/iris obj/Release/data_gump_L.o obj/Release/prefix.o obj/Release/data_multi_L.o obj/Release/data_hue_L.o obj/Release/granny_L.o obj/Release/data_anim.o obj/Release/data_common.o obj/Release/data_tiletype.o obj/Release/data_font.o obj/Release/data_gump.o obj/Release/data_artmap_L.o obj/Release/ogremanualloader_L.o obj/Release/grannyloader_i2.o obj/Release/data_tiletype_L.o obj/Release/data_mapinfo.o obj/Release/main.o obj/Release/data_groundblock.o obj/Release/data_texmap.o obj/Release/data_hue.o obj/Release/terrain_multitex.o obj/Release/grannyparser.o obj/Release/data_map.o obj/Release/builder_L.o obj/Release/data_artmap.o obj/Release/huffman.o obj/Release/data_sound_L.o obj/Release/data.o obj/Release/spritemanager.o obj/Release/data_lookupfile.o obj/Release/data_staticblock.o obj/Release/ogremanualloader.o obj/Release/data_multi.o obj/Release/data_radar.o obj/Release/data_light.o obj/Release/spritemanager_L.o obj/Release/data_texmap_L.o obj/Release/scripting.iris.o obj/Release/data_anim_L.o obj/Release/terrain.o obj/Release/data_L.o obj/Release/data_font_L.o obj/Release/pathsearch.o obj/Release/grannyogreloader.o obj/Release/data_sound.o obj/Release/data_radar_L.o obj/Release/data_staticblock_L.o obj/Release/data_groundblock_L.o obj/Release/grannydump.o -Lbin -L. -s `pkg-config --libs x11` -ldl -lz `pkg-config --libs OGRE` `pkg-config --libs vorbisfile` `pkg-config --libs openal` `wx-config --libs` -L"/opt/fmodex/api/lib" -L"/usr/lib" -L"/usr/lib" -llugrelib -llugrelua -llugreois -lfmodex -lboost_thread-mt -llugrelua -lmd5lib -lcaelumlib </pre> run this command and append `wx-config --libs`
Return to
Gentoo compile
.
Views
Page
Discussion
View source
History
Personal tools
Log in
main
Main Page
Screenshots
download
Install Guide
Forum
FAQ
Macros
Credits
dev
Developer Blog
A Guide for Artists
Development
Item Model List
Iris-Testshard
Bugreports
SvnLog
API C++
API Lua
wiki
Recent changes
Random page
Help
Search
Toolbox
What links here
Related changes
Special pages