User forums > Using Code::Blocks
Problem Running Program w/file dependency in C::B
(1/1)
tsl:
Hi everyone,
So I'm working on a program that uses SDL. SDL reads a file called terminal.bmp at the start of run-time. When I run the program though my OS, it works fine. However, when I run it through C::B, I get an error stating that SDL cannot find terminal.bmp. This is bad, since it means that I can't run the debugger at all. What should I do to resolve this? Thanks in advance.
Oh, and I'm running C::B Version 8.02 on Windows XP, running MinGW 5.1.3
MortenMacFly:
--- Quote from: tsl on August 24, 2008, 06:37:59 am ---I get an error stating that SDL cannot find terminal.bmp.
--- End quote ---
Go to your project properties, tab "build targets" and set the "Execution working dir" to where the bitmap and the exe is...
tsl:
Huh, weird. Thought I had that settled out. Thanks very much, sir!
Navigation
[0] Message Index
Go to full version