tag:blogger.com,1999:blog-2260798309252891104.post8631993199049225362..comments2022-09-10T05:02:55.274-07:00Comments on TwinklebearDev: Setting up SDL in Visual StudioTwinklebearhttp://www.blogger.com/profile/06492916703144329166noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-2260798309252891104.post-20150730061125975662014-02-11T09:56:07.916-08:002014-02-11T09:56:07.916-08:00Oh you're right! I forgot to add the notices o...Oh you're right! I forgot to add the notices on these pages.Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-42833902285252139912014-02-11T08:24:45.876-08:002014-02-11T08:24:45.876-08:00Hey, it would be super helpful if you added the in...Hey, it would be super helpful if you added the information in the comments about the updated version (http://twinklebear.github.io/pages/sdl2/) at the beginning of the article. Thanks!izachhttps://www.blogger.com/profile/16320572101422540031noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-85320217148864214192014-02-10T18:15:39.210-08:002014-02-10T18:15:39.210-08:00It should be SDL2.lib to find the SDL2 libraries, ...It should be SDL2.lib to find the SDL2 libraries, and double check the library path is set properly. Also check out the updated versions of the lessons: http://twinklebear.github.io/pages/sdl2/<br /><br />They've got a lot of improvements on them.Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-47219488476660599242014-02-10T14:42:45.398-08:002014-02-10T14:42:45.398-08:00Error Error 1 error LNK1104: cannot open file '...Error Error 1 error LNK1104: cannot open file 'SDL.lib' C:\Users\Alexander\Documents\Visual Studio 2013\Projects\SDL_Tutorial\SDL_Tutorial\LINK SDL_Tutorial<br />:( Please helpAnonymoushttps://www.blogger.com/profile/15664746048076428146noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-68321563178407044392014-01-07T03:03:27.948-08:002014-01-07T03:03:27.948-08:00Already solved, I had to put SDL2.dd in the Debug ...Already solved, I had to put SDL2.dd in the Debug directory of my project instead of System32..Anonymoushttps://www.blogger.com/profile/17704793928174073127noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-40059992972507978662014-01-07T02:55:57.811-08:002014-01-07T02:55:57.811-08:00Hi Twinklebear! When I try to run any SDL code, I ...Hi Twinklebear! When I try to run any SDL code, I get this error: "Unable to successfully start the application (0xc000007b)". I tried to run a simple c++ code and it works, so what am I doing wrong? <br />I use VC++ 2013Anonymoushttps://www.blogger.com/profile/17704793928174073127noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-52931877751542476652013-11-06T20:30:12.074-08:002013-11-06T20:30:12.074-08:00It's trying to download debugging symbols for ...It's trying to download debugging symbols for the associated .dll file. It's failing to find the debug symbols. It's just a warning and unless you want to debug the MS windows dll files then don't worry. Yeah, I know it looks ugly but it nothing to worry about.Mikehttps://www.blogger.com/profile/12768610125898468260noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-61265960454454534752013-10-28T12:38:09.435-07:002013-10-28T12:38:09.435-07:00Hmm, I don't speak German but if you post it i...Hmm, I don't speak German but if you post it in English I may be able to give some tips. Try running through the updated setup guide first though, that may fix the issue: http://twinklebear.github.io/sdl2%20tutorials/2013/08/15/lesson-0-visual-studio/Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-20736814017030716172013-10-28T11:14:12.293-07:002013-10-28T11:14:12.293-07:00Thanks for your tutorial. But I seems not to work ...Thanks for your tutorial. But I seems not to work with my computer (Windows 7 64 Bit / VS 2012 / SDL1.2)<br /><br />Errors:<br />"SDL_Setup.exe" (Win32): "C:\Users\Martin\Documents\Visual Studio 2012\Projects\SDL_Setup\Debug\SDL_Setup.exe" geladen. Symbole wurden geladen.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\ntdll.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\kernel32.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\KernelBase.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\SDL.dll" geladen. Das Modul wurde ohne Symbole erstellt.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\advapi32.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\msvcrt.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\sechost.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br />"SDL_Setup.exe" (Win32): "C:\Windows\SysWOW64\rpcrt4.dll" geladen. PDB-Datei wurde nicht gefunden oder konnte nicht geöffnet werden.<br /><br />and many more...Anonymoushttps://www.blogger.com/profile/17664501609021197455noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-73687934935192927512013-07-08T16:11:23.534-07:002013-07-08T16:11:23.534-07:00Ah I'm not really sure, it could be a configur...Ah I'm not really sure, it could be a configuration error or something? I've never heard of rc.exe or this error, sorry.Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-33076788195411290832013-06-27T19:21:46.993-07:002013-06-27T19:21:46.993-07:00Hey, I've tried following this tutorial word f...Hey, I've tried following this tutorial word for word on 2 different systems, both Win7 x64. On one, I get a 'Cannot open rc.exe' error - On the other, everything compiles, but then fails and says 'The program '[2044] Test.exe' has exited with code -1073741701 (0xc000007b)'.<br /><br />Thoughts? Thanks!Mason Winsauerhttps://www.blogger.com/profile/12643775364491621666noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-11623455103861466942013-06-21T20:54:14.593-07:002013-06-21T20:54:14.593-07:00Ah yea I've got to find some time to update th...Ah yea I've got to find some time to update the instructions now that the RC is out.Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-45520587287106369692013-06-21T20:02:33.142-07:002013-06-21T20:02:33.142-07:00The official SDL2 Release Candidate libraries have...The official SDL2 Release Candidate libraries have names that start with SDL2 rather than SDL. This screwed me up for a while because I was blindly following the tutorial and not paying close attention to what I was actually trying to link.HunterZhttps://www.blogger.com/profile/17049065099652976143noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-88381327959427733452013-05-06T21:59:26.519-07:002013-05-06T21:59:26.519-07:00Nice job. thumb up and peacefull from Indonesia......Nice job. thumb up and peacefull from Indonesia...Ahmad Fadly Dzil Jalal (2010 470 121)https://www.blogger.com/profile/10342141303278384037noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-28086932692322233162013-05-02T08:22:30.977-07:002013-05-02T08:22:30.977-07:00Yep: SDL.dll should be put in the same directory a...Yep: SDL.dll should be put in the same directory as the executable, not the system directory (I think this is the same for any dynamic linked library too, for future reference).Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-71571726117310585192013-05-02T06:32:50.390-07:002013-05-02T06:32:50.390-07:00Hi,
I follow this tutorial. But when I run the li...Hi, <br />I follow this tutorial. But when I run the little code it gives an error about SDL.dll. I put the file in system32 directory, and the problem that occur is "cannot open the file" (like it can not be used for windows). <br />Do you have any idea what can be wrong?<br /><br />Thanks for the attention.<br />Kind Regards, <br />NeuzaNeuzahttps://www.blogger.com/profile/08919073862696660568noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-64195379170170319182013-04-16T16:21:50.372-07:002013-04-16T16:21:50.372-07:00I just got it all running (Visual Studio 2012 with...I just got it all running (Visual Studio 2012 with SDL) thanks to you.<br />I could give you a big, wet kiss right now! Which it'd be coming from a dude with a beard, but hey you made me happy bro!Anonymoushttps://www.blogger.com/profile/14805033155516003895noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-39840397533126941602013-03-25T08:52:32.666-07:002013-03-25T08:52:32.666-07:00Gah, I got a SDK.dll file not found error, and the...Gah, I got a SDK.dll file not found error, and then I realized I was using x86 files instead of x64.<br /><br />Thanks for the tutorial, I should have read more carefully!DharmaTurtlehttps://www.blogger.com/profile/13614499966834579592noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-37308856333437894352013-03-24T12:08:01.649-07:002013-03-24T12:08:01.649-07:00Windows 7 x86 here, I installed DirectX SDK and no...Windows 7 x86 here, I installed DirectX SDK and now everything compiled correctly!<br />I'm follow the tutorials now, thanks for your patience. :)Paulo Fhttps://www.blogger.com/profile/03910730467171811726noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-9201503759866287942013-03-24T12:05:31.127-07:002013-03-24T12:05:31.127-07:00This comment has been removed by the author.Paulo Fhttps://www.blogger.com/profile/03910730467171811726noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-11513307212782663562013-03-24T11:42:05.608-07:002013-03-24T11:42:05.608-07:00I can't seem to edit my comment for some reaso...I can't seem to edit my comment for some reason, but I'm not sure about the recursion warnings. They are just warnings, so I guess just don't use those functions, you don't need to anyways since the STL has functions for those operations.Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-18760967495821437492013-03-24T11:40:12.470-07:002013-03-24T11:40:12.470-07:00Ah no bug, but to build SDL on Windows you need th...Ah no bug, but to build SDL on Windows you need the DirectX SDK installed, that's what "fatal error C1083: Cannot open include file: 'dxsdkver.h': No such file or directory" is telling you, it can't find DirectX SDK. If you're on Windows 8 the SDK is included, but maybe it's not finding it, so you should look up how to link and include it. If you're on 7 or lower you'll need to download and install the SDK from here: http://www.microsoft.com/en-us/download/details.aspx?displaylang=en&id=6812Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-48642124263742908962013-03-24T11:22:58.269-07:002013-03-24T11:22:58.269-07:00Thanks sir, because of my lack of Visual Studio un...Thanks sir, because of my lack of Visual Studio understanding I didn't figure out I had to actually open the VisualC2012 project file and build it to generate the corresponding *.lib files.<br /><br />I built SDLmain.lib, but the SDL.lib isn't being generated and Visual Studio throws three errors:<br />1>..\..\src\audio\xaudio2\SDL_xaudio2.c(31): fatal error C1083: Cannot open include file: 'dxsdkver.h': No such file or directory<br />1>d:\sdl\src\stdlib\sdl_string.c(34): warning C4717: 'SDL_atoi' : recursive on all control paths, function will cause runtime stack overflow<br />1>d:\sdl\src\stdlib\sdl_string.c(35): warning C4717: 'SDL_atof' : recursive on all control paths, function will cause runtime stack overflow<br /><br />I got the latest files from Mercurial, maybe a bug has been introduced or something, any tips? Thank you so much for your help! :)Paulo Fhttps://www.blogger.com/profile/03910730467171811726noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-6573271124482505002013-03-24T10:48:12.647-07:002013-03-24T10:48:12.647-07:00The .libs are under VisualC/SDL/Win32/Debug/ or Re...The .libs are under VisualC/SDL/Win32/Debug/ or Release depending on the configuration you built. You should build both and use debug for debug builds and release for release builds, or if you only want to build one then just build the release. SDLmain is under VisualC/SDLmain/Win32/Debug/ or Release depending on the configuration built.<br /><br />So you want to copy them from there and put them into a lib folder. Since you only need the headers (under include/ I believe) and the libs which you've just built, you can stick those in some SDL2RC folder and delete everything else.Twinklebearhttps://www.blogger.com/profile/06492916703144329166noreply@blogger.comtag:blogger.com,1999:blog-2260798309252891104.post-72127182336784415322013-03-24T08:54:22.201-07:002013-03-24T08:54:22.201-07:00I don't get it still, shouldn't there be a...I don't get it still, shouldn't there be a 'lib' folder like SDL 1.2 containing all the *.lib files?Paulo Fhttps://www.blogger.com/profile/03910730467171811726noreply@blogger.com