Search:
Forum
General C++ Programming
setting up SDL2 with codeblocks
setting up SDL2 with codeblocks
Aug 22, 2017 at 10:35am UTC
CodeWriter
(286)
Hi,
I am trying to learn to use the SDL2 using the tutorials at,
http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/codeblocks/index.php
I was successful with lesson1 however it involved creating an empty project and entering some required information.
On lesson2 I found I had to do the settings all again for the next project!
Is there any way to make a template for SDL2 programs that include these settings?
Also when I did a build/run the program could not find the image??
The lessons seem to assume knowledge of these things but up to now all I had to do was choose a console project icon and it just worked.
.
Aug 22, 2017 at 12:17pm UTC
Thomas1965
(4571)
Have you tried the Code::Blocks project template for SDL projects ?
Aug 22, 2017 at 10:09pm UTC
CodeWriter
(286)
This is a SDL2 project not a SDL project.
I was also told the project templates can be out of date although I used the console one with success to learn the basics of C++.
Aug 23, 2017 at 8:47am UTC
Thomas1965
(4571)
One option would be to create a project from scratch and save it as a template => File=>Save project as template.
Topic archived. No new replies allowed.
C++
Information
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs