Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / Diffrent Compilator
- - By HellScript3r Date 2013-11-17 19:45 Edited 2013-11-17 20:15
Hi, I've got question :). There is someone who doesn't use Visual Studio? I want to use gosu in code blocks or dev c++, but I've got problem. Everytime when I try to compile, I've got problem with class AUDIO. Have anyone had the same problem?

Here is how error looks in compilator:
http://postimg.org/image/z700kce4j/
Parent - By jlnr (dev) Date 2013-11-18 19:24
The bit about Gosu::Audio is a warning, not an error, and it should have been fixed in Gosu 0.7.50. I don't know how to fix the actual error though - which is that your linker cannot find the Gosu::Window::show method. I would suggest downloading the free MSVC 2010 Express version, unless one of the MinGW/CMake build file contributors sees this topic.
Parent - - By HellScript3r Date 2013-11-28 15:41
Hi! I've installed VS2010 and everythings going fine, but i get problem when I try to run application.

'1.exe': Loaded 'C:\Users\Piotrek\Documents\Visual Studio 2010\Projects\1\Debug\1.exe', Symbols loaded.
'1.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\opengl32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\glu32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\ddraw.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\dciman32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'1.exe': Loaded 'C:\Windows\SysWOW64\dinput8.dll', Cannot find or open the PDB file
The program '[5020] 1.exe: Native' has exited with code -1073741515 (0xc0000135).


Have I have to download all of those libraries?And which boost version should I download?
Parent - - By jlnr (dev) Date 2013-11-29 21:54
All the messages except the last line are warnings and can be safely ignored :)

The last line is curious. From a little googling, it seems to indicate that a DLL file cannot be found. But usually Windows shows an error message in that case. Are you using Gosu::Sample or Gosu::Song at all, maybe it can't find OpenAL?
Parent - - By HellScript3r Date 2013-12-01 12:08
I added openal into syswow64 and everythings working fine. I added boost ver. 1.55. But when I try to compile example: Tutorial. I've got errors:
1>------ Build started: Project: 1, Configuration: Debug Win32 ------
1>TextInput.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Window::show(void)" (?show@Window@Gosu@@QAEXXZ) referenced in function _main
1>TextInput.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Gosu::Window::~Window(void)" (??1Window@Gosu@@UAE@XZ) referenced in function __unwindfunclet$??0TextInputWindow@@QAE@XZ$0
1>TextInput.obj : error LNK2019: unresolved external symbol "public: __thiscall Gosu::Image::Image(class Gosu::Graphics &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &,bool)" (??0Image@Gosu@@QAE@AAVGraphics@1@ABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@_N@Z) referenced in function "public: __thiscall TextInputWindow::TextInputWindow(void)" (??0TextInputWindow@@QAE@XZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: __thiscall Gosu::Font::Font(class Gosu::Graphics &,class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &,unsigned int,unsigned int)" (??0Font@Gosu@@QAE@AAVGraphics@1@ABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@II@Z) referenced in function "public: __thiscall TextInputWindow::TextInputWindow(void)" (??0TextInputWindow@@QAE@XZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: class Gosu::Graphics & __thiscall Gosu::Window::graphics(void)" (?graphics@Window@Gosu@@QAEAAVGraphics@2@XZ) referenced in function "public: __thiscall TextInputWindow::TextInputWindow(void)" (??0TextInputWindow@@QAE@XZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __cdecl Gosu::defaultFontName(void)" (?defaultFontName@Gosu@@YA?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ) referenced in function "public: __thiscall TextInputWindow::TextInputWindow(void)" (??0TextInputWindow@@QAE@XZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Window::setCaption(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (?setCaption@Window@Gosu@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z) referenced in function "public: __thiscall TextInputWindow::TextInputWindow(void)" (??0TextInputWindow@@QAE@XZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: __thiscall Gosu::Window::Window(unsigned int,unsigned int,bool,double)" (??0Window@Gosu@@QAE@II_NN@Z) referenced in function "public: __thiscall TextInputWindow::TextInputWindow(void)" (??0TextInputWindow@@QAE@XZ)
1>TextInput.obj : error LNK2001: unresolved external symbol "public: virtual long __thiscall Gosu::Window::handleMessage(unsigned int,unsigned int,long)" (?handleMessage@Window@Gosu@@UAEJIIJ@Z)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall Gosu::TextInput::~TextInput(void)" (??1TextInput@Gosu@@UAE@XZ) referenced in function __unwindfunclet$??0TextField@@QAE@AAVWindow@Gosu@@AAVFont@2@NN@Z$0
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::TextInput::setText(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &)" (?setText@TextInput@Gosu@@QAEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@@Z) referenced in function "public: __thiscall TextField::TextField(class Gosu::Window &,class Gosu::Font &,double,double)" (??0TextField@@QAE@AAVWindow@Gosu@@AAVFont@2@NN@Z)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: __thiscall Gosu::TextInput::TextInput(void)" (??0TextInput@Gosu@@QAE@XZ) referenced in function "public: __thiscall TextField::TextField(class Gosu::Window &,class Gosu::Font &,double,double)" (??0TextField@@QAE@AAVWindow@Gosu@@AAVFont@2@NN@Z)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Image::draw(double,double,double,double,double,class Gosu::Color,enum Gosu::AlphaMode)const " (?draw@Image@Gosu@@QBEXNNNNNVColor@2@W4AlphaMode@2@@Z) referenced in function "public: virtual void __thiscall TextInputWindow::draw(void)" (?draw@TextInputWindow@@UAEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: double __thiscall Gosu::Input::mouseX(void)const " (?mouseX@Input@Gosu@@QBENXZ) referenced in function "public: virtual void __thiscall TextInputWindow::draw(void)" (?draw@TextInputWindow@@UAEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: double __thiscall Gosu::Input::mouseY(void)const " (?mouseY@Input@Gosu@@QBENXZ) referenced in function "public: virtual void __thiscall TextInputWindow::draw(void)" (?draw@TextInputWindow@@UAEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: class Gosu::Input & __thiscall Gosu::Window::input(void)" (?input@Window@Gosu@@QAEAAVInput@2@XZ) referenced in function "public: virtual void __thiscall TextInputWindow::draw(void)" (?draw@TextInputWindow@@UAEXXZ)
1>TextInput.obj : error LNK2001: unresolved external symbol "public: static class Gosu::Color const Gosu::Color::WHITE" (?WHITE@Color@Gosu@@2V12@B)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Font::draw(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &,double,double,double,double,double,class Gosu::Color,enum Gosu::AlphaMode)const " (?draw@Font@Gosu@@QBEXABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@NNNNNVColor@2@W4AlphaMode@2@@Z) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Graphics::drawLine(double,double,class Gosu::Color,double,double,class Gosu::Color,double,enum Gosu::AlphaMode)" (?drawLine@Graphics@Gosu@@QAEXNNVColor@2@NN0NW4AlphaMode@2@@Z) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall Gosu::TextInput::selectionStart(void)const " (?selectionStart@TextInput@Gosu@@QBEIXZ) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: double __thiscall Gosu::Font::textWidth(class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > const &,double)const " (?textWidth@Font@Gosu@@QBENABV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@N@Z) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > __thiscall Gosu::TextInput::text(void)const " (?text@TextInput@Gosu@@QBE?AV?$basic_string@_WU?$char_traits@_W@std@@V?$allocator@_W@2@@std@@XZ) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall Gosu::TextInput::caretPos(void)const " (?caretPos@TextInput@Gosu@@QBEIXZ) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Graphics::drawQuad(double,double,class Gosu::Color,double,double,class Gosu::Color,double,double,class Gosu::Color,double,double,class Gosu::Color,double,enum Gosu::AlphaMode)" (?drawQuad@Graphics@Gosu@@QAEXNNVColor@2@NN0NN0NN0NW4AlphaMode@2@@Z) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: class Gosu::TextInput * __thiscall Gosu::Input::textInput(void)const " (?textInput@Input@Gosu@@QBEPAVTextInput@2@XZ) referenced in function "public: void __thiscall TextField::draw(void)const " (?draw@TextField@@QBEXXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: unsigned int __thiscall Gosu::Font::height(void)const " (?height@Font@Gosu@@QBEIXZ) referenced in function "public: double __thiscall TextField::height(void)const " (?height@TextField@@QBENXZ)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Window::close(void)" (?close@Window@Gosu@@QAEXXZ) referenced in function "public: virtual void __thiscall TextInputWindow::buttonDown(class Gosu::Button)" (?buttonDown@TextInputWindow@@UAEXVButton@Gosu@@@Z)
1>TextInput.obj : error LNK2019: unresolved external symbol "public: void __thiscall Gosu::Input::setTextInput(class Gosu::TextInput *)" (?setTextInput@Input@Gosu@@QAEXPAVTextInput@2@@Z) referenced in function "public: virtual void __thiscall TextInputWindow::buttonDown(class Gosu::Button)" (?buttonDown@TextInputWindow@@UAEXVButton@Gosu@@@Z)
1>C:\Users\Piotrek\Documents\Visual Studio 2010\Projects\1\Debug\1.exe : fatal error LNK1120: 28 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


I did everything like is in article: how to getting start on windows.
Parent - By jlnr (dev) Date 2013-12-02 00:01
How did you add boost? Usually you only need to add one folder to the header directories. It shouldn't have any influence on the linker.

And you shouldn't have to copy OpenAL32.dll to syswow64, just putting it next to your EXE file should do the trick.
Up Topic Gosu / Gosu Exchange / Diffrent Compilator

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill