Hikayeler

Reklam vermek için turkmmo@gmail.com
Kaynak ikonu

Voice chat system 2025-06-03

indirmek için izniniz yok
5.00 yıldız(lar) 1 Değerlendirme Değerlendirenler
te
Projeye sağ tık yap özellikler veya properties kısmından exe yerine dll seç veya lib
teşekkürler build alırken böyle eksik var galiba
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: __thiscall amun::VoiceChat::VoiceChat(void)" (__imp_??0VoiceChat@amun@@QAE@XZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: virtual __thiscall amun::VoiceChat::~VoiceChat(void)" (__imp_??1VoiceChat@amun@@UAE@XZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: void __thiscall amun::VoiceChat::setPlaybackDelay(unsigned int)" (__imp_?setPlaybackDelay@VoiceChat@amun@@QAEXI@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: bool __thiscall amun::VoiceChat::init(unsigned int,unsigned char)" (__imp_?init@VoiceChat@amun@@QAE_NIE@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: void __thiscall amun::VoiceChat::destroy(void)" (__imp_?destroy@VoiceChat@amun@@QAEXXZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: bool __thiscall amun::VoiceChat::startRecording(void)" (__imp_?startRecording@VoiceChat@amun@@QAE_NXZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: void __thiscall amun::VoiceChat::stopRecording(void)" (__imp_?stopRecording@VoiceChat@amun@@QAEXXZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: unsigned int __thiscall amun::VoiceChat::getSampleRate(void)const " (__imp_?getSampleRate@VoiceChat@amun@@QBEIXZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: unsigned char __thiscall amun::VoiceChat::getChannelCount(void)const " (__imp_?getChannelCount@VoiceChat@amun@@QBEEXZ)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: void __thiscall amun::VoiceChat::setVolume(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,float)" (__imp_?setVolume@VoiceChat@amun@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@M@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: class std::vector<short,class std::allocator<short> > const & __thiscall amun::VoiceChat::decode(char const *,unsigned int)" (__imp_?decode@VoiceChat@amun@@QAEABV?$vector@FV?$allocator@F@std@@@std@@PBDI@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: void __thiscall amun::VoiceChat::addSamples(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,short const *,unsigned int)" (__imp_?addSamples@VoiceChat@amun@@QAEXABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@PBFI@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: class std::vector<char,class std::allocator<char> > const & __thiscall amun::VoiceChat::encode(short const *,unsigned int)" (__imp_?encode@VoiceChat@amun@@QAEABV?$vector@DV?$allocator@D@std@@@std@@PBFI@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: float __thiscall amun::VoiceChat::calculateSoundPressureLevel(short const *,unsigned int)const " (__imp_?calculateSoundPressureLevel@VoiceChat@amun@@QBEMPBFI@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: void __thiscall amun::VoiceChat::normalizeAmplitude(short *,unsigned int,float,float)" (__imp_?normalizeAmplitude@VoiceChat@amun@@QAEXPAFIMM@Z)
1>VoiceChat.obj : error LNK2001: çözümlenmemiş dış sembol "__declspec(dllimport) public: bool __thiscall amun::VoiceChat::isReady(void)const " (__imp_?isReady@VoiceChat@amun@@QBE_NXZ)
1>C:\Users\ramaz\OneDrive\Masaüstü\Ramazan_Proje\gridli clientsrc\binary\Metin2Release.exe : fatal error LNK1120: 16 çözümlenmemiş dışlar
 
Right click on the project and select dll instead of exe or lib from the properties section.
The exe is just an app that I used for quick testing and debugging, he either messed something up or didn't check what the output directory is(it outputs the files in public_implementation/client afair).

As for the people that can't build it, I literally gave you everything you need(I even added the precompiled FLAC libs on github). If you can't even build it from there, then I don't know what else to say.. Check the configuration type, check voice_chat.h macro VOICE_CHAT__STATIC_LIB(both in voice chat project, as well as in your extern folder - THEY SHOULD BE IDENTICAL), check your platform toolset and your sdk version..
If you're still having issues with the static version, build it as DLL, that's much easier to deal with.
 

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst