Compile/Link errors...

This is a discussion on Compile/Link errors... within the C++ Programming forums, part of the General Programming Boards category; I've been reading The Zen Of Direct3d Game Programming and am doing an exercise for one of the chapters that ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    3

    Angry Compile/Link errors...

    I've been reading The Zen Of Direct3d Game Programming and am doing an exercise for one of the chapters that simply plots 10000 random pixels in a given amount of seconds. Well... the code itself is easy enough to understand but the problem comes into view when I try to complie and link it.

    Yes I've set it up right (as far as I know)...
    DirectX include folder is at top list in directories tab/include...
    DirectX lib folder is at top list in directories tab/lib...
    Links... dxguid.lib d3d8.lib d3dx8.lib and winmm.lib have been put at the begginging of Object/library modules text box.

    When I go to Compile it these errors occur....

    Compiling...
    dots.cpp
    c:\MSSDK\INCLUDE\d3dx8math.inl(1107) : error C2065: 'sqrtf' : undeclared identifier
    c:\MSSDK\INCLUDE\d3dx8math.inl(1107) : error C2064: term does not evaluate to a function
    c:\MSSDK\INCLUDE\d3dx8math.inl(1239) : error C2064: term does not evaluate to a function
    c:\MSSDK\INCLUDE\d3dx8math.inl(1384) : error C2064: term does not evaluate to a function
    c:\MSSDK\INCLUDE\d3dx8math.inl(1554) : error C2064: term does not evaluate to a function
    Error executing cl.exe.
    dots.exe - 5 error(s), 0 warning(s)

    Why would d3dx8math.inl... a file that comes with directx be wrong? This is why I think it's something that I'm doing wrong... I just don't understand. If someone can help with this problem it would be greatly appreciated. Thankyou.

  2. #2
    BMJ
    BMJ is offline
    Banal internet user BMJ's Avatar
    Join Date
    Aug 2002
    Location
    Chicagoland
    Posts
    1,380
    Have you have ever gone by the name Xerent?

  3. #3
    Registered User
    Join Date
    Oct 2002
    Posts
    3
    Nope...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 11:50 AM
  2. Unknown Errors in simple program
    By neandrake in forum C++ Programming
    Replies: 16
    Last Post: 04-06-2004, 03:57 PM
  3. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  4. Help me with these errors... :-(
    By major_small in forum C++ Programming
    Replies: 6
    Last Post: 09-07-2003, 09:18 PM
  5. Compile/Link errors...
    By Xenent in forum Game Programming
    Replies: 2
    Last Post: 10-23-2002, 06:39 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21