Author Topic: C::B with DirectX but how ... ( French user )  (Read 3580 times)

Offline AlastorS

  • Single posting newcomer
  • *
  • Posts: 5
C::B with DirectX but how ... ( French user )
« 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
« Last Edit: October 20, 2009, 05:43:47 pm by AlastorS »

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9594
Re: C::B with DirectX but how ... ( French user )
« Reply #1 on: October 20, 2009, 05:53:59 pm »
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. ;-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline AlastorS

  • Single posting newcomer
  • *
  • Posts: 5
Re: C::B with DirectX but how ... ( French user )
« Reply #2 on: October 21, 2009, 03:39:40 pm »
Thanks for your reply  :D

First I must to translate all ^^

After I say you the result ;).

Offline AlastorS

  • Single posting newcomer
  • *
  • Posts: 5
Re: C::B with DirectX but how ... ( French user )
« Reply #3 on: October 21, 2009, 04:15:23 pm »
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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 12600
    • Travis build status
Re: C::B with DirectX but how ... ( French user )
« Reply #4 on: October 21, 2009, 04:18:12 pm »
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/
« Last Edit: October 21, 2009, 04:19:56 pm by oBFusCATed »
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline AlastorS

  • Single posting newcomer
  • *
  • Posts: 5
Re: C::B with DirectX but how ... ( French user )
« Reply #5 on: October 21, 2009, 04:36:59 pm »
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 ;)

Offline AlastorS

  • Single posting newcomer
  • *
  • Posts: 5
Re: C::B with DirectX but how ... ( French user )
« Reply #6 on: October 21, 2009, 05:03:55 pm »
So please say me if this was good :

1 - http://forums.codeblocks.org/index.php/topic,11311.0.html

I download :

Quote
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 ;) ...