Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: scanff on September 01, 2015, 02:14:28 am

Title: Win10 execution dir
Post by: scanff on September 01, 2015, 02:14:28 am
Hi,

Just wondering if this is a new issue relating to Win10. 

I've never had this issue before but since my new laptop came with 10 setting the execution directory does not work.  Firstly if I set bogus location I get message boxes pop-up telling me SDL2.dll .... etc could not be found.  If it's set correctly then my program runs but hangs.  If I click on the icon in the taskbar it then gives me the messages - "The program can't start becase SDL2.dll is missing ....." and so on.  The DLL are in the correct place.

Has anyone else been having this problem?

Thanks :)
Title: Re: Win10 execution dir
Post by: scanff on October 07, 2015, 12:30:13 am
*Bump.  Really nobody has this problem?
Title: Re: Win10 execution dir
Post by: oBFusCATed on October 07, 2015, 01:33:41 am
What do you mean by "the dll are in correct place"?
Title: Re: Win10 execution dir
Post by: Keringar on October 13, 2015, 04:59:55 am
You need to put the SDL dll's where the actual program exe's are. So if your program is bin/debug/test.exe then put the dll in bin/debug/