Results 1 to 4 of 4

Thread: Help with Bloodshed Dev-C++

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    6

    Red face Help with Bloodshed Dev-C++

    I am trying to use DirectX 8.0 in my app and I have included the directories to the directx .h and .lib files in the compiler options tab. However, I get a bunch of errors when I compile which I think is because the compiler is not able to find the DirectX files, but I'm not sure.

    I have attached a file that lists all the errors and warnings. If anyone has an idea of what could be wrong please reply. thanks!
    Attached Files Attached Files

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    The big one is easy to fix, just use -fvtable-thunks like it says.

    c:\dev-c++\projects\main.cpp:24: cannot declare variable `g_pD3D' to be of type `IDirect3D8'

    How are you declaring this? It needs to be a pointer.


    PS: Are you the same vecna that did chasms?
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2002
    Posts
    6
    Thanks Parksie, I think I got everything correct now .
    PS: Are you the same vecna that did chasms?
    I don't know what your talking about so I guess I'm not hehe.

  4. #4
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Ok Just wondered.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width