Code::Blocks Forums

User forums => Help => Topic started by: laserbeak43 on August 08, 2007, 09:44:59 am

Title: what would be codeblocks' equivalent to this?
Post by: laserbeak43 on August 08, 2007, 09:44:59 am
hi,
what would be codeblocks' equivalent to this procedure?


Quote
-Next, select the C/C++ tab. From the Category drop-down
menu, select the Code Generation option (see Figure 1.13).
- From the Use Run-Time Library drop-down menu, select
Multithreaded DLL, as shown in Figure 1.14.

the book that i'm reading uses Visual Studio. it told me to start out as a win32 project even though this book is about SDL. when i become more comfortable, i'll try the SDL project wizard.

-edit-
it's for the SDL and after reading on, it says that it needs me to use a .dll to be put in the project directory.
do i need to use a special mingw library file? or just the regular win32 one.
Title: Re: what would be codeblocks' equivalent to this?
Post by: thomas on August 08, 2007, 10:37:30 am
I would recommend you just use the SDL wizard, instead of tampering with all that stuff yourself, if you aren't comfortable yet.
The wizard should set up everything so it works (I haven't done anything SDL for about a year now, but a year ago, it worked fine). The instructions for Visual Studio obviously won't help much. Whether or not you need to copy a .dll depends on the SDL build that you use.

Please do note that although there is a wizard for SDL projects, the required headers and libraries do not ship with Code::Blocks, so you will have to download those in order to be able to build SDL applications.
We have a Wiki page on how to build SDL applications too (it's almost two years old, but most things should still be more or less the same).
Title: Re: what would be codeblocks' equivalent to this?
Post by: laserbeak43 on August 08, 2007, 03:58:11 pm
well ok then SDL Wizard it is  :lol: