Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#Actualajm113

Posted 08 July 2012 - 09:24 PM

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL 2.1 Jan 20th snapshot source code, and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
http://www.mediafire...clvn8axmydposjf


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

EDIT: Wooow, never mind... I fixed this myself, by putting the dlls in. "(project name)/Debug"... I'm kinda surprised they would relocate the execution position when you debug/release run your project. Let me ask this then... Why this change? I kinda like the new layout changes they made, but I'm not too happy to the new look really...

Thanks, Andrew.

#8ajm113

Posted 08 July 2012 - 09:21 PM

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL 2.1 Jan 20th snapshot source code, and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
http://www.mediafire...clvn8axmydposjf


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

EDIT: Wooow, never mind... I fixed this myself, by putting the dlls in. "(project name)/Debug"... I'm kinda surprised they would relocate the execution position when you debug/release run your project. Let me ask this then... Why this change?

Thanks, Andrew.

#7ajm113

Posted 08 July 2012 - 08:29 PM

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL 2.1 Jan 20th snapshot source code, and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
http://www.mediafire...clvn8axmydposjf


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

Thanks, Andrew.

#6ajm113

Posted 08 July 2012 - 08:26 PM

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL 2.1 Jan 20th snapshot, source code and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
http://www.mediafire...clvn8axmydposjf


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

Thanks, Andrew.

#5ajm113

Posted 08 July 2012 - 08:25 PM

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL Jan 20th snapshot, source code and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
http://www.mediafire...clvn8axmydposjf


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

Thanks, Andrew.

#4ajm113

Posted 08 July 2012 - 08:25 PM

Hello all, I'm trying to convert a project of mine from Visual Studio 2008 to Visual Studio 2012 RC that uses SDL, and I've ran into a few problems... Most of them I was able to fix, but now I'm just stuck. What I did:

1. Converted my project from 2008 to 2012.
2. Visual Studio didn't like that "SDLmain.lib" was not "SAFESEH" safe.
3. Got SDL source code and rebuilt it on 2012 using release build and no project setting changes.
4. Got the new libs, and SDL.dll and placed them in the correct destinations where SDL was installed.

Everything built perfectly fine under Visual Studio 2012, but when I ran my project, I get a SDL.dll cannot be found error. The dll is placed in the same directory as my exe, and where SDL is installed, I've updated them both to the 2012 version build, and I still get the same error.

Here is my build 2012 libs of SDL.
http://www.mediafire...clvn8axmydposjf


I'm not sure if some how the DLL is corrupted or there is a new setting in Visual Studio 2012 I don't know about building libraries or what, but any information would be appreciated since I haven't found anyone on this topic! P.S I just got 2012 today, so I haven't been up to date on what changes where made, so I'm just learning as I go, as I always do.

Thanks, Andrew.

PARTNERS