Hi all,
got a little problem when compiling iris2
i'm running ubuntu 8.10
i followed the building from source guide very carefully. I even tried on different puters.
this is the output when running premakelinux.sh
i figured it had something to to with the FMOD i installed - but i'm not sure how to fix it?
any help will be very much appreciated. thx a million for creating this guys.
Code:
sound: openal
sound: fmod
OIS platform: linux (lugre)
AddLugreDeps: fmod in defines: true
searching for /usr/local/lib64//libfmodex.so/.a false false
searching for /usr/local/lib//libfmodex.so/.a false false
searching for /usr/lib64//libfmodex.so/.a false false
searching for /usr/lib//libfmodex.so/.a false false
WARNING:addcustomlib fmodex libfile not found
if you installed the 64 bit version, please try installing the 32 bit version instead
using /usr/local/include/fmodex as fmodex include path
AddLugreDeps: fmod in defines: true
searching for /usr/local/lib64//libfmodex.so/.a false false
searching for /usr/local/lib//libfmodex.so/.a false false
searching for /usr/lib64//libfmodex.so/.a false false
searching for /usr/lib//libfmodex.so/.a false false
WARNING:addcustomlib fmodex libfile not found
if you installed the 64 bit version, please try installing the 32 bit version instead
using /usr/local/include/fmodex as fmodex include path
Removing all project and intermediate files...
3
>>> disabled asserts (NDEBUG)
sound: openal
sound: fmod
OIS platform: linux (lugre)
AddLugreDeps: fmod in defines: true
searching for /usr/local/lib64//libfmodex.so/.a false false
searching for /usr/local/lib//libfmodex.so/.a false false
searching for /usr/lib64//libfmodex.so/.a false false
searching for /usr/lib//libfmodex.so/.a false false
WARNING:addcustomlib fmodex libfile not found
if you installed the 64 bit version, please try installing the 32 bit version instead
using /usr/local/include/fmodex as fmodex include path
2.8.8
AddLugreDeps: fmod in defines: true
searching for /usr/local/lib64//libfmodex.so/.a false false
searching for /usr/local/lib//libfmodex.so/.a false false
searching for /usr/lib64//libfmodex.so/.a false false
searching for /usr/lib//libfmodex.so/.a false false
WARNING:addcustomlib fmodex libfile not found
if you installed the 64 bit version, please try installing the 32 bit version instead
using /usr/local/include/fmodex as fmodex include path
2.8.8
Generating GNU makefiles:
...lugrelua
...lugreois
...md5lib
...caelumlib
...lugrelib
...iris
Cleaning lugrelua
Cleaning lugreois
Cleaning md5lib
Cleaning caelumlib
Cleaning lugrelib
Cleaning iris
==== Building lugrelua ====
==== Building lugreois ====
lstate.c
==== Building md5lib ====
OISObject.cpp
lstate.c
OISKeyboard.cpp
liolib.c
liolib.c
lfunc.c
OISForceFeedback.cpp
lfunc.c
lundump.c
lundump.c
lobject.c
lobject.c
OISJoyStick.cpp
lmem.c
lmem.c
lstrlib.c
lstrlib.c
OISException.cpp
lgc.c
lgc.c
OISEffect.cpp
ldblib.c
lparser.c
OISInputManager.cpp
ldblib.c
lparser.c
lzio.c
lbaselib.c
LinuxInputManager.cpp
lzio.c
ltable.c
lbaselib.c
ldump.c
loslib.c
ltable.c
ldebug.c
loslib.c
lvm.c
ldebug.c
lvm.c
luac.c
lopcodes.c
llex.c
LinuxKeyboard.cpp
linit.c
ldo.c
luac.c
loadlib.c
ldo.c
loadlib.c
ltablib.c
EventHelpers.cpp
ltablib.c
lauxlib.c
lauxlib.c
lcode.c
lcode.c
lua.c
LinuxMouse.cpp
lua.c
lapi.c
lapi.c
LinuxForceFeedback.cpp
LinuxJoyStickEvents.cpp
lstring.c
ltm.c
lstring.c
print.c
ltm.c
print.c
lmathlib.c
lmathlib.c
md5.c
Linking lugrelua
==== Building caelumlib ====
Linking md5lib
CameraBoundElement.cpp
GeometryFactory.cpp
Linking lugreois
SkyLight.cpp
GroundFog.cpp
DepthComposer.cpp
Sun.cpp
CaelumDefaultTypeDescriptorData.cpp
FlatCloudLayer.cpp
UniversalClock.cpp
ImageHelper.cpp
CaelumPlugin.cpp
Astronomy.cpp
SkyDome.cpp
CaelumSystem.cpp
Moon.cpp
PrecipitationController.cpp
ImageStarfield.cpp
TypeDescriptor.cpp
CloudSystem.cpp
PointStarfield.cpp
CaelumScriptTranslator.cpp
CaelumPrecompiled.cpp
BrightStarCatalogue.cpp
Linking caelumlib
==== Building lugrelib ====
lugre_timer.cpp
tinystr.cpp
lugre_beam_L.cpp
tinyxml.cpp
lugre_texatlas.cpp
lugre_random.cpp
lugre_net_L.cpp
lugre_sound_openal2.cpp
lugre_thread_L.cpp
lugre_meshbuffer.cpp
lugre_game.cpp
lugre_robstring.cpp
lugre_main.cpp
lugre_sound.cpp
lugre_widget.cpp
lugre_robrenderable.cpp
lugre/src/lugre_main.cpp: In function ‘void Lugre::PrintOgreExceptionAndTipps(Ogre::Exception&)’:
lugre/src/lugre_main.cpp:205: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’
lugre_profile.cpp
lugre_CompassOverlay.cpp
lugre_material_L.cpp
lugre_ode_L.cpp
lugre_scripting.general.cpp
lugre_gfx3D_L.cpp
lugre_commondialog.cpp
lugre/src/lugre_commondialog.cpp: In function ‘bool Lugre::FileUniDialog(const std::string&, const std::string&, const std::string&, std::string&, bool)’:
lugre/src/lugre_commondialog.cpp:219: warning: ignoring return value of ‘char* getcwd(char*, size_t)’, declared with attribute warn_unused_result
lugre/src/lugre_commondialog.cpp:221: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result
lugre/src/lugre_commondialog.cpp:261: warning: ignoring return value of ‘int chdir(const char*)’, declared with attribute warn_unused_result
lugre_image_L.cpp
lugre_texatlas_L.cpp
lugre_meshbuffer_L.cpp
lugre_fifo_L.cpp
lugre_shell.cpp
lugre_md5_L.cpp
lugre/src/lugre_fifo_L.cpp: In static member function ‘static int Lugre::cFIFO_L::WriteToFile(lua_State*)’:
lugre/src/lugre_fifo_L.cpp:472: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
lugre/src/lugre_fifo_L.cpp: In static member function ‘static int Lugre::cFIFO_L::AppendToFile(lua_State*)’:
lugre/src/lugre_fifo_L.cpp:483: warning: ignoring return value of ‘size_t fwrite(const void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
lugre/src/lugre_fifo_L.cpp: In static member function ‘static int Lugre::cFIFO_L::ReadFromFile(lua_State*)’:
lugre/src/lugre_fifo_L.cpp:499: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result
lugre_scripting.ogre.cpp
lugre_sound_fmod.cpp
lugre_listener.cpp
lugre_camera_L.cpp
lugre_sound_L.cpp
tinyxmlparser.cpp
lugre_bitmask.cpp
lugre_input.cpp
lugre_meshloader.cpp
lugre_meshshape.cpp
lugre_spritelist.cpp
lugre_random_L.cpp
lugre_RobRenderableOverlay.cpp
lugre_ogrewrapper.cpp
lugre_viewport_L.cpp
lugre_paged_geometry_L.cpp
lugre_ColourClipTextOverlay.cpp
lugre_net.cpp
lugre_beam.cpp
lugre_ode.cpp
lugre_rendertexture_L.cpp
lugre_spritelist_L.cpp
lugre_fastbatch.cpp
lugre_widget_L.cpp
lugre_bitmask_L.cpp
lugre_SortedOverlayContainer.cpp
lugre_cadune_L.cpp
lugre_gfx3D.cpp
lugre_BorderColourClipPaneOverlay.cpp
tinyxmlerror.cpp
lugre_luaxml.cpp
lugre_caelum_L.cpp
lugre_scripting.cpp
lugre_sound_openal.cpp
lugre_gfx2D.cpp
lugre_ColourClipPaneOverlay.cpp
lugre_transform_mesh.cpp
lugre_gfx2D_L.cpp
lugre_thread.cpp
Linking lugrelib
==== Building iris ====
data_gump_L.cpp
data_texmap_L.cpp
data_map.cpp
ogremanualloader_L.cpp
data_hue.cpp
data_common.cpp
data_tiletype_L.cpp
data_artmap.cpp
data_sound_L.cpp
terrain_multitex.cpp
data_staticblock.cpp
grannydump.cpp
data_sound.cpp
scripting.iris.cpp
grannyparser.cpp
data_groundblock_L.cpp
builder_L.cpp
data_staticblock_L.cpp
spritemanager_L.cpp
data_texmap.cpp
pathsearch.cpp
data_anim.cpp
ogremanualloader.cpp
data_light.cpp
data_font_L.cpp
prefix.cpp
data_hue_L.cpp
main.cpp
data_multi_L.cpp
data_groundblock.cpp
data_artmap_L.cpp
terrain.cpp
data_font.cpp
data_lookupfile.cpp
granny_L.cpp
data_mapinfo.cpp
data_gump.cpp
spritemanager.cpp
grannyogreloader.cpp
grannyloader_i2.cpp
huffman.cpp
data.cpp
data_tiletype.cpp
data_radar_L.cpp
data_multi.cpp
data_L.cpp
data_anim_L.cpp
data_radar.cpp
Linking iris
./liblugrelua.a(loslib.o): In function `os_tmpname':
loslib.c:(.text+0x51): warning: the use of `tmpnam' is dangerous, better use `mkstemp'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::UpdatePositionAndVelocity()':
lugre_sound_fmod.cpp:(.text+0x53a): undefined reference to `FMOD_System_Set3DListenerAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::CreateSoundSource3D(float, float, float, char const*, int, int, int, int)':
lugre_sound_fmod.cpp:(.text+0x68e): undefined reference to `FMOD_System_CreateStream'
lugre_sound_fmod.cpp:(.text+0x6e2): undefined reference to `FMOD_Channel_Set3DAttributes'
lugre_sound_fmod.cpp:(.text+0x733): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::CreateSoundSource3D(float, float, float, char const*)':
lugre_sound_fmod.cpp:(.text+0x85f): undefined reference to `FMOD_System_CreateStream'
lugre_sound_fmod.cpp:(.text+0x8b3): undefined reference to `FMOD_Channel_Set3DAttributes'
lugre_sound_fmod.cpp:(.text+0x904): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::CreateSoundSource(char const*, int, int, int, int)':
lugre_sound_fmod.cpp:(.text+0xa1e): undefined reference to `FMOD_System_CreateStream'
lugre_sound_fmod.cpp:(.text+0xa6f): undefined reference to `FMOD_Channel_Set3DAttributes'
lugre_sound_fmod.cpp:(.text+0xac0): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::CreateSoundSource(char const*)':
lugre_sound_fmod.cpp:(.text+0xbef): undefined reference to `FMOD_System_CreateStream'
lugre_sound_fmod.cpp:(.text+0xc40): undefined reference to `FMOD_Channel_Set3DAttributes'
lugre_sound_fmod.cpp:(.text+0xc91): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::cSoundSystemFmod(int, int)':
lugre_sound_fmod.cpp:(.text+0xd14): undefined reference to `FMOD_System_Create'
lugre_sound_fmod.cpp:(.text+0xd37): undefined reference to `FMOD_System_GetVersion'
lugre_sound_fmod.cpp:(.text+0xd70): undefined reference to `FMOD_System_Init'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::cSoundSystemFmod(int, int)':
lugre_sound_fmod.cpp:(.text+0xe94): undefined reference to `FMOD_System_Create'
lugre_sound_fmod.cpp:(.text+0xeb7): undefined reference to `FMOD_System_GetVersion'
lugre_sound_fmod.cpp:(.text+0xef0): undefined reference to `FMOD_System_Init'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::~cSoundSystemFmod()':
lugre_sound_fmod.cpp:(.text+0xf9d): undefined reference to `FMOD_System_Close'
lugre_sound_fmod.cpp:(.text+0xfb8): undefined reference to `FMOD_System_Release'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::~cSoundSystemFmod()':
lugre_sound_fmod.cpp:(.text+0x116d): undefined reference to `FMOD_System_Close'
lugre_sound_fmod.cpp:(.text+0x1188): undefined reference to `FMOD_System_Release'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::~cSoundSystemFmod()':
lugre_sound_fmod.cpp:(.text+0x133d): undefined reference to `FMOD_System_Close'
lugre_sound_fmod.cpp:(.text+0x1358): undefined reference to `FMOD_System_Release'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSystemFmod::Step()':
lugre_sound_fmod.cpp:(.text+0x132): undefined reference to `FMOD_System_Update'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::GetVolume()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod9GetVolumeEv[Lugre::cSoundSourceFmod::GetVolume()]+0x1b): undefined reference to `FMOD_Channel_GetVolume'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::IsPaused()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod8IsPausedEv[Lugre::cSoundSourceFmod::IsPaused()]+0x1d): undefined reference to `FMOD_Channel_GetPaused'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::IsPlaying()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod9IsPlayingEv[Lugre::cSoundSourceFmod::IsPlaying()]+0x1d): undefined reference to `FMOD_Channel_IsPlaying'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::SetMinMaxDistance(float, float)':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod17SetMinMaxDistanceEff[Lugre::cSoundSourceFmod::SetMinMaxDistance(float, float)]+0x6b): undefined reference to `FMOD_Channel_Set3DMinMaxDistance'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::SetVolume(float)':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod9SetVolumeEf[Lugre::cSoundSourceFmod::SetVolume(float)]+0x1b): undefined reference to `FMOD_Channel_SetVolume'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::Pause()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod5PauseEv[Lugre::cSoundSourceFmod::Pause()]+0x1c): undefined reference to `FMOD_Channel_SetPaused'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::Stop()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod4StopEv[Lugre::cSoundSourceFmod::Stop()]+0x14): undefined reference to `FMOD_Channel_Stop'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::Play()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod4PlayEv[Lugre::cSoundSourceFmod::Play()]+0x7f): undefined reference to `FMOD_System_PlaySound'
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod4PlayEv[Lugre::cSoundSourceFmod::Play()]+0xa9): undefined reference to `FMOD_Channel_SetPaused'
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod4PlayEv[Lugre::cSoundSourceFmod::Play()]+0xdb): undefined reference to `FMOD_Channel_SetPaused'
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod4PlayEv[Lugre::cSoundSourceFmod::Play()]+0x112): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::SetPosition(float, float, float)':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod11SetPositionEfff[Lugre::cSoundSourceFmod::SetPosition(float, float, float)]+0x5f): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::SetVelocity(float, float, float)':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmod11SetVelocityEfff[Lugre::cSoundSourceFmod::SetVelocity(float, float, float)]+0x5f): undefined reference to `FMOD_Channel_Set3DAttributes'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::~cSoundSourceFmod()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmodD0Ev[Lugre::cSoundSourceFmod::~cSoundSourceFmod()]+0x1d): undefined reference to `FMOD_Sound_Release'
./liblugrelib.a(lugre_sound_fmod.o): In function `Lugre::cSoundSourceFmod::~cSoundSourceFmod()':
lugre_sound_fmod.cpp:(.text._ZN5Lugre16cSoundSourceFmodD1Ev[Lugre::cSoundSourceFmod::~cSoundSourceFmod()]+0x1d): undefined reference to `FMOD_Sound_Release'
collect2: ld returned 1 exit status
make[1]: *** [bin/iris] Error 1
make: *** [iris] Error 2
Cheers
-Taus