Code::Blocks Forums
User forums => Help => Topic started by: roboguy on August 26, 2011, 01:47:33 am
-
Hello, I am trying to set up SDL with code blocks. I installed the files manually using this tutorial (http://www.cprogramming.com/tutorial/sdl/setup.html). I then tried to create an SDL project. Everything went fine until I received the following error. "The path you entered seems valid, but this wizard can't locate the following SDL's include file: SDL.h in it." I then searched for information on the error and found this topic (http://forums.codeblocks.org/index.php/topic,13352.0.html). It said that the headers for SDL have changed. (I am using version 1.2.14) They said to change the wizard settings. The problem is I don't know what to use in place of SDL.h. Thanks in advance for any help. I am using MinGW. I did read the rules and assume this falls under the category of code::blocks related?
-
This file has probably be moved at a time or another. Search in your directories where it is, and fill the "include" path or the C::B variable with the correct value, I think it should be ok.
"I did read the rules and assume this falls under the category of code::blocks related?"
I think too :)
-
EDIT: I fixed that problem. Apparently a lot of stuff got messed up. So I cut pasted all of the headers needed and I came up with another error. undefined reference to '__dyn_tls_init_callback'
-
Give more informations...
Like full compiler log, by example
-
EDIT: I fixed that problem. Apparently a lot of stuff got messed up. So I cut pasted all of the headers needed and I came up with another error. undefined reference to '__dyn_tls_init_callback'
Per http://forums.codeblocks.org/index.php/topic,12701.msg86150.html#msg86150
It is likely from mixing multiple MinGW Installations or mixing object (or library files) from older MinGW build with a newer mingw build.
Tim S.
-
Thank you so much. That code::blocks logo was so beautiful.