Iris2.de http://iris2.de/forum/ |
|
Iris2 - fmod compile error on ubuntu 8.10 http://iris2.de/forum/viewtopic.php?f=19&t=1370 |
Page 1 of 2 |
Author: | Taus [ Mon Mar 30, 2009 12:21 pm ] |
Post subject: | Iris2 - fmod compile error on ubuntu 8.10 |
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 |
Author: | hagish [ Mon Mar 30, 2009 2:25 pm ] |
Post subject: | |
did you install fmod? and if yes, how did you do it? |
Author: | Taus [ Mon Mar 30, 2009 2:27 pm ] |
Post subject: | |
I downloaded the latest stable version of ex from their homepage. I unpacked it to a folder in my home dir and installed it using Code: sudo make install
|
Author: | hagish [ Mon Mar 30, 2009 2:29 pm ] |
Post subject: | |
can you search for a libfmod* file in your /usr directory? find -name libfmod\* /usr |
Author: | Taus [ Mon Mar 30, 2009 2:35 pm ] |
Post subject: | |
Code: find -name libfmod\* /usr find: paths must precede expression: /usr Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] i tried this instead Code: find -name libfmod\*
./local/lib/libfmodex-4.24.00.so ./local/lib/libfmodexp-4.22.09.so ./local/lib/libfmodexp-4.24.00.so ./local/lib/libfmodex-4.22.09.so |
Author: | hagish [ Mon Mar 30, 2009 2:43 pm ] |
Post subject: | |
you can try to open premake.lua in the iris root and replace the line addcustomlib(package, "fmodex") with addcustomlib(package, "fmodex-4.24.00") or addcustomlib(package, "fmodex-4.22.09") try to compile after each change. |
Author: | Taus [ Mon Mar 30, 2009 2:58 pm ] |
Post subject: | |
This is the result after changing to fmodex-4.24.00 Code: sound: openal sound: fmod OIS platform: linux (lugre) AddLugreDeps: fmod in defines: true searching for /usr/local/lib64//libfmodex-4.24.00.so/.a false false searching for /usr/local/lib//libfmodex-4.24.00.so/.a true false custom lib fmodex-4.24.00 found at /usr/local/lib/ AddLugreDeps: fmod in defines: true searching for /usr/local/lib64//libfmodex-4.24.00.so/.a false false searching for /usr/local/lib//libfmodex-4.24.00.so/.a true false custom lib fmodex-4.24.00 found at /usr/local/lib/ 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-4.24.00.so/.a false false searching for /usr/local/lib//libfmodex-4.24.00.so/.a true false custom lib fmodex-4.24.00 found at /usr/local/lib/ 2.8.8 AddLugreDeps: fmod in defines: true searching for /usr/local/lib64//libfmodex-4.24.00.so/.a false false searching for /usr/local/lib//libfmodex-4.24.00.so/.a true false custom lib fmodex-4.24.00 found at /usr/local/lib/ 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 lfunc.c lundump.c lundump.c lobject.c OISForceFeedback.cpp lobject.c lmem.c lmem.c lstrlib.c lstrlib.c OISJoyStick.cpp lgc.c lgc.c OISException.cpp OISEffect.cpp ldblib.c ldblib.c OISInputManager.cpp lparser.c lparser.c lzio.c lbaselib.c lzio.c lbaselib.c ltable.c LinuxInputManager.cpp ltable.c ldump.c loslib.c ldump.c ldebug.c loslib.c lvm.c ldebug.c luac.c lvm.c LinuxKeyboard.cpp lopcodes.c llex.c luac.c linit.c ldo.c linit.c ldo.c loadlib.c loadlib.c EventHelpers.cpp ltablib.c ltablib.c lauxlib.c lauxlib.c lcode.c lcode.c lua.c LinuxMouse.cpp lua.c lapi.c lapi.c LinuxForceFeedback.cpp lstring.c lstring.c ltm.c ltm.c LinuxJoyStickEvents.cpp print.c print.c lmathlib.c lmathlib.c Linking lugrelua ==== Building caelumlib ==== md5.c CameraBoundElement.cpp Linking md5lib 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_image_L.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_texatlas_L.cpp lugre_meshbuffer_L.cpp lugre_fifo_L.cpp lugre_shell.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_md5_L.cpp lugre_scripting.ogre.cpp lugre_sound_fmod.cpp lugre_listener.cpp lugre_camera_L.cpp In file included from lugre/src/lugre_sound_fmod.cpp:6: lugre/include/fmod.h:1800:24: error: fmod_codec.h: No such file or directory lugre/include/fmod.h:1801:22: error: fmod_dsp.h: No such file or directory lugre/include/fmod.h:1802:29: error: fmod_memoryinfo.h: No such file or directory In file included from lugre/src/lugre_sound_fmod.cpp:6: lugre/include/fmod.h:1876: error: ‘FMOD_CODEC_DESCRIPTION’ has not been declared lugre/include/fmod.h:1925: error: ‘FMOD_DSP_DESCRIPTION’ has not been declared lugre/include/fmod.h:1926: error: ‘FMOD_DSP_TYPE’ has not been declared lugre/include/fmod.h:2329: error: ‘FMOD_DSP_TYPE’ has not been declared make[1]: *** [obj/Release/lugre_sound_fmod.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [lugrelib] Error 2 This is when using 4.22.09 Code: sound: openal
sound: fmod OIS platform: linux (lugre) AddLugreDeps: fmod in defines: true searching for /usr/local/lib64//libfmodex-4.22.09.so/.a false false searching for /usr/local/lib//libfmodex-4.22.09.so/.a true false custom lib fmodex-4.22.09 found at /usr/local/lib/ AddLugreDeps: fmod in defines: true searching for /usr/local/lib64//libfmodex-4.22.09.so/.a false false searching for /usr/local/lib//libfmodex-4.22.09.so/.a true false custom lib fmodex-4.22.09 found at /usr/local/lib/ 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-4.22.09.so/.a false false searching for /usr/local/lib//libfmodex-4.22.09.so/.a true false custom lib fmodex-4.22.09 found at /usr/local/lib/ 2.8.8 AddLugreDeps: fmod in defines: true searching for /usr/local/lib64//libfmodex-4.22.09.so/.a false false searching for /usr/local/lib//libfmodex-4.22.09.so/.a true false custom lib fmodex-4.22.09 found at /usr/local/lib/ 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 ==== ==== Building md5lib ==== OISObject.cpp lstate.c lstate.c OISKeyboard.cpp liolib.c liolib.c lfunc.c lundump.c OISForceFeedback.cpp lobject.c lfunc.c lmem.c lobject.c lstrlib.c OISJoyStick.cpp lmem.c lstrlib.c lgc.c OISException.cpp OISEffect.cpp lgc.c ldblib.c ldblib.c lparser.c OISInputManager.cpp lparser.c lzio.c lbaselib.c lzio.c lbaselib.c ltable.c LinuxInputManager.cpp ltable.c ldump.c loslib.c ldump.c ldebug.c loslib.c ldebug.c lvm.c lvm.c luac.c lopcodes.c llex.c luac.c LinuxKeyboard.cpp llex.c linit.c ldo.c loadlib.c linit.c ltablib.c ltablib.c lauxlib.c lauxlib.c lcode.c EventHelpers.cpp lcode.c lua.c lapi.c lua.c LinuxMouse.cpp lapi.c lstring.c ltm.c LinuxForceFeedback.cpp lstring.c print.c print.c lmathlib.c lmathlib.c LinuxJoyStickEvents.cpp Linking lugrelua ==== Building caelumlib ==== md5.c CameraBoundElement.cpp Linking md5lib 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/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_robrenderable.cpp 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_image_L.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_texatlas_L.cpp lugre_meshbuffer_L.cpp lugre_fifo_L.cpp lugre_shell.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_md5_L.cpp lugre_scripting.ogre.cpp lugre_sound_fmod.cpp lugre_listener.cpp In file included from lugre/src/lugre_sound_fmod.cpp:6: lugre/include/fmod.h:1800:24: error: fmod_codec.h: No such file or directory lugre/include/fmod.h:1801:22: error: fmod_dsp.h: No such file or directory lugre/include/fmod.h:1802:29: error: fmod_memoryinfo.h: No such file or directory In file included from lugre/src/lugre_sound_fmod.cpp:6: lugre/include/fmod.h:1876: error: ‘FMOD_CODEC_DESCRIPTION’ has not been declared lugre/include/fmod.h:1925: error: ‘FMOD_DSP_DESCRIPTION’ has not been declared lugre/include/fmod.h:1926: error: ‘FMOD_DSP_TYPE’ has not been declared lugre_camera_L.cpp lugre/include/fmod.h:2329: error: ‘FMOD_DSP_TYPE’ has not been declared make[1]: *** [obj/Release/lugre_sound_fmod.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [lugrelib] Error 2 |
Author: | hagish [ Mon Mar 30, 2009 2:59 pm ] |
Post subject: | |
where is your fmod_codec.h file? can you search for it in /usr? |
Author: | Taus [ Mon Mar 30, 2009 3:03 pm ] |
Post subject: | |
yup sure thing bro Code: /usr/local/include/fmodex/fmod_codec.h
|
Author: | hagish [ Mon Mar 30, 2009 3:07 pm ] |
Post subject: | |
oki please change premake.lua back to addcustomlib(package, "fmodex") and create a symlink ln -s /usr/local/lib/libfmodex-4.24.00.so /usr/local/lib/libfmodex.so or ln -s /usr/local/lib/libfmodex-4.22.09.so /usr/local/lib/libfmodex.so and recompile after each of the 2 symlink changes. |
Author: | Taus [ Mon Mar 30, 2009 3:28 pm ] |
Post subject: | |
Woooah u are a genious bro. That seemed to work bro. i used the 4.24.00 Code: sudo ./premakelinux.sh 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 true false custom lib fmodex found at /usr/local/lib/ 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 true false custom lib fmodex found at /usr/local/lib/ 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 true false custom lib fmodex found at /usr/local/lib/ 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 true false custom lib fmodex found at /usr/local/lib/ 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 ==== ==== Building md5lib ==== lstate.c OISObject.cpp lstate.c OISKeyboard.cpp liolib.c liolib.c lfunc.c lfunc.c OISForceFeedback.cpp lundump.c lundump.c lobject.c lobject.c OISJoyStick.cpp lmem.c lmem.c lstrlib.c lstrlib.c OISException.cpp lgc.c OISEffect.cpp lgc.c OISInputManager.cpp ldblib.c ldblib.c lparser.c lparser.c lzio.c lbaselib.c LinuxInputManager.cpp lzio.c lbaselib.c ltable.c ltable.c ldump.c loslib.c ldump.c ldebug.c loslib.c ldebug.c LinuxKeyboard.cpp lvm.c lvm.c luac.c lopcodes.c luac.c EventHelpers.cpp llex.c lopcodes.c llex.c linit.c ldo.c linit.c ldo.c loadlib.c loadlib.c ltablib.c LinuxMouse.cpp lauxlib.c ltablib.c lcode.c lauxlib.c LinuxForceFeedback.cpp lcode.c lua.c LinuxJoyStickEvents.cpp lapi.c lua.c lstring.c ltm.c lapi.c print.c lmathlib.c ltm.c Linking lugrelua lmathlib.c ==== Building caelumlib ==== CameraBoundElement.cpp md5.c Linking md5lib 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_image_L.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_texatlas_L.cpp lugre_meshbuffer_L.cpp lugre_fifo_L.cpp lugre_shell.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_md5_L.cpp 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' after this i tried to run both start.sh and start.sh -2d both commands gives me the same output Code: ~/UO/iris_2.0.2975/bin ~/UO/iris_2.0.2975
./iris: error while loading shared libraries: libfmodex.so: cannot open shared object file: No such file or directory ~/UO/iris_2.0.2975 |
Author: | hagish [ Mon Mar 30, 2009 3:28 pm ] |
Post subject: | |
sudo ldconfig perhaps this helps |
Author: | Taus [ Mon Mar 30, 2009 3:35 pm ] |
Post subject: | |
Bwaahahaha bro you are da MAN! works like a charm now. thanks a million for your quick reply and your patience! yeeey! |
Author: | hagish [ Mon Mar 30, 2009 3:45 pm ] |
Post subject: | |
np which fmod version (link) exactly did you use (to download fmod)? |
Author: | Taus [ Mon Mar 30, 2009 3:53 pm ] |
Post subject: | |
This was the link i first used: http://www.fmod.org/index.php/release/v ... nux.tar.gz when i compiled and got the error i searched a few forums and decided to try with an older version of fmod: http://www.fmod.org/index.php/release/v ... nux.tar.gz i tried on 3 different computers, all running ubuntu 8.10 |
Page 1 of 2 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |