Windows Compiling

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

Windows Compiling

by Mito551 » Fri Nov 16, 2012 15:49

I hope somebody can help me with this guys... so I troubled myself to compile a minetest windows build.
and i've run into some linking problem

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
     Creating library C:/Users/Mitori/Desktop/models/minetest-models_sound/bin/Debug/minetest.lib and object C:/Users/Mitori/Desktop/models/minetest-models_sound/bin/Debug/minetest.exp
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alGetError referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alBufferData referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alGenBuffers referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol _ov_clear referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol _ov_read referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol _ov_info referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol _ov_fopen referenced in function "struct SoundBuffer * __cdecl loadOggFile(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?loadOggFile@@YAPAUSoundBuffer@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alGetString referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcGetString referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alDistanceModel referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcDestroyContext referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcMakeContextCurrent referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcCloseDevice referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcGetError referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcCreateContext referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcIsExtensionPresent referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alcOpenDevice referenced in function "public: __thiscall OpenALSoundManager::OpenALSoundManager(class OnDemandSoundFetcher *)" (??0OpenALSoundManager@@QAE@PAVOnDemandSoundFetcher@@@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alListenerfv referenced in function "public: virtual void __thiscall OpenALSoundManager::updateListener(class irr::core::vector3d<float>,class irr::core::vector3d<float>,class irr::core::vector3d<float>,class irr::core::vector3d<float>)" (?updateListener@OpenALSoundManager@@UAEXV?$vector3d@M@core@irr@@000@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alListener3f referenced in function "public: virtual void __thiscall OpenALSoundManager::updateListener(class irr::core::vector3d<float>,class irr::core::vector3d<float>,class irr::core::vector3d<float>,class irr::core::vector3d<float>)" (?updateListener@OpenALSoundManager@@UAEXV?$vector3d@M@core@irr@@000@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alListenerf referenced in function "public: virtual void __thiscall OpenALSoundManager::setListenerGain(float)" (?setListenerGain@OpenALSoundManager@@UAEXM@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alSourcePlay referenced in function "public: struct PlayingSound * __thiscall OpenALSoundManager::createPlayingSound(struct SoundBuffer *,bool,float)" (?createPlayingSound@OpenALSoundManager@@QAEPAUPlayingSound@@PAUSoundBuffer@@_NM@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alSourcef referenced in function "public: struct PlayingSound * __thiscall OpenALSoundManager::createPlayingSound(struct SoundBuffer *,bool,float)" (?createPlayingSound@OpenALSoundManager@@QAEPAUPlayingSound@@PAUSoundBuffer@@_NM@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alSource3f referenced in function "public: struct PlayingSound * __thiscall OpenALSoundManager::createPlayingSound(struct SoundBuffer *,bool,float)" (?createPlayingSound@OpenALSoundManager@@QAEPAUPlayingSound@@PAUSoundBuffer@@_NM@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alSourcei referenced in function "public: struct PlayingSound * __thiscall OpenALSoundManager::createPlayingSound(struct SoundBuffer *,bool,float)" (?createPlayingSound@OpenALSoundManager@@QAEPAUPlayingSound@@PAUSoundBuffer@@_NM@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alGenSources referenced in function "public: struct PlayingSound * __thiscall OpenALSoundManager::createPlayingSound(struct SoundBuffer *,bool,float)" (?createPlayingSound@OpenALSoundManager@@QAEPAUPlayingSound@@PAUSoundBuffer@@_NM@Z)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alGetSourcei referenced in function "public: void __thiscall OpenALSoundManager::maintain(void)" (?maintain@OpenALSoundManager@@QAEXXZ)
2>sound_openal.obj : error LNK2019: unresolved external symbol __imp__alDeleteSources referenced in function "public: void __thiscall OpenALSoundManager::deleteSound(int)" (?deleteSound@OpenALSoundManager@@QAEXH@Z)
2>C:\Users\Mitori\Desktop\models\minetest-models_sound\bin\Debug\minetest.exe : fatal error LNK1120: 27 unresolved externals


i'm compiling MirceaKitsune's fork. with models. Visual Studio 2010, Win7 x64. any more info needed?
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Fri Nov 16, 2012 17:08

nevermind that, i figured out how to compile using mingw
 


Return to Minetest Engine

Who is online

Users browsing this forum: No registered users and 5 guests

cron