Code::Blocks Forums
User forums => Help => Topic started by: AlastorS on October 20, 2009, 05:33:20 pm
-
Hi all !
Sorry for my spelling but I'm French and I am not perfect in English xD.
I am "obliged" to open a new topic because I do not really understand all the others that already exists.
So my problem is simple : anyone can provide me a tutorial (even in English) step by step, that can tell me what to do to make programs that use DirectX.
I currently have Code:: Blocks 8.02 with MinGw ...I also have the latest DirectX SDK (August 09).
Already it is possible to configure GNU GCC to use the SDK ?
If not, I also have Visual toolkit versions 2003 and 2008 but what do I do ? ...
The problem that I can not understand is: When I point the way to OS: \ Program Files (x86) \ Microsoft DirectX SDK (August 2009) \, which includes and contains the binary files, it said me : The path you seems valid, but this wizard can't locate Direct/X's files in it ...
With hoping you can help me ...
AlastorS.
PS : using Windows
-
The problem that I can not understand is: When I point the way to OS: \ Program Files (x86) \ Microsoft DirectX SDK (August 2009) \, which includes and contains the binary files, it said me : The path you seems valid, but this wizard can't locate Direct/X's files in it ...
Are you sure you selected the right Direct/X version within the wizard? If you don't have a version page in the wizard, try a recent nightly. The wizard has been modified to work with DX8 and DX9 recently. I am not sure if this change made into C::B 08/02 though... The DX version you are using is v9 where the header files are named differently which was not supported by earlier versions of the C::B DX wizard (DX v9 was not present that time).
Alternatively you can try to use the wizard from SVN. It should work with 08/02. Thus you'll need to checkout the wizard in question from SVN and overwrite the files in your copy of C::B.
PS : using Windows
Hehe... sure if you're installing Direct/X. ;-)
-
Thanks for your reply :D
First I must to translate all ^^
After I say you the result ;).
-
Sorry for double post.
So I have finish the translation but there is one word I have not understand : " checkout " .
My new question is : What's SVN ?? Could you give a link ??
Thanks for your help.
-
Search in google with the following search string: "svn book french" :lol:
here is the link for the English version http://svnbook.red-bean.com/
-
Search in google with the following search string: "svn book french" :lol:
here is the link for the English version http://svnbook.red-bean.com/
Thanks :P I read this ;)
-
So please say me if this was good :
1 - http://forums.codeblocks.org/index.php/topic,11311.0.html (http://forums.codeblocks.org/index.php/topic,11311.0.html)
I download :
The 10 October 2009 build is out.
- Windows :
http://prdownload.berlios.de/codeblocks/CB_20091010_rev5859_win32.7z
2 - I make a backup of my C::B files and I replace all files in CB_20091010_rev5859_win32 in my current folder C::B ...
3 - I launch C::B and create a project DX ...
4 - I choose GCC compiler
5 - I copy the destination link : OS: \ Program Files (x86) \ Microsoft DirectX SDK (August 2009) \
6 - It ask me for link to include folder , OS:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Include
to lib folder , OS:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Lib\x86
and to obj folder , what's that ?? what files type contain this folder ?? I have link to OS:\Program Files (x86)\Microsoft DirectX SDK (August 2009)\Utilities\bin\x86
but it see not good ...
I can create a project but he can't build ... I have some error at the compilation ...
Maybe I must to link akk folder to Setting -> Compiler and Debugger -> linker setting & search directory ?? If yes : what files please ??
When it will work I make a small tuto for french_user ;) ...