User forums > Using Code::Blocks
sdl compiling
unclereg:
I set up sdl according to this tut ....http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/codeblocks/index.php
... everything went ok .. no error messages ... It seems to build ok yet when i run it i get a message saying it hasn't been built yet and offers to build it via a modal window. i click ok but the window just 'stays' offering to build it again and again .. til i click no to get away from it... then it runs and i get
"process returned 4256912 <0x40f490>
whats happening ..? all the setup procedures went ok ....
unclereg:
during the build i actually get message ...
-------------- Build: Debug in sdltester (compiler: GNU GCC Compiler)---------------
Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).
....
don't know if this is an error ...
unclereg:
AND ..... when I'm setting the linker libraries I copy and pasted
"-lmingw32 -lSDL2main -lSDL2 " from the tut into the "other linker options" panel ...
My sdl stuff is in C:\libraries\|Documents\MyDocuments\sdlunzipped\SDL-1.2.15...
is the provided code correct for me ?
BlueHazzard:
please follow the steps described here: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
--- Quote from: unclereg on June 30, 2016, 12:05:58 pm ---during the build i actually get message ...
-------------- Build: Debug in sdltester (compiler: GNU GCC Compiler)---------------
Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).
....
don't know if this is an error ...
--- End quote ---
this is not enougth information, you need to make a rebuild and post the log
greetings
unclereg:
I am running Code::Blocks release 16.01 on windows7 home premium service pack 1
. The compiler I use is ming 1.2.15
When I ...
try to build and run an example cpp from the tut here
http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/codeblocks/index.php
Description of problem.
the build, i suspect, failed .... ctrl+f9 gives ....
-------------- Build: Debug in sdltester (compiler: GNU GCC Compiler)---------------
Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).
a Rebuild gives .....
-------------- Clean: Debug in sdltester (compiler: GNU GCC Compiler)---------------
Cleaned "sdltester - Debug"
-------------- Build: Debug in sdltester (compiler: GNU GCC Compiler)---------------
Linking stage skipped (build target has no object files to link)
Nothing to be done (all items are up-to-date).
I appreciate the formatting ... thanks ...
I have no idea how to run from command line .. havn't tried it obviously
Navigation
[0] Message Index
[#] Next page
Go to full version