Thread: DirectX errors (newb alert)

  1. #1
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916

    DirectX errors (newb alert)

    Hmmm... I'm just trying to compile Nexe's "setting up a directx window" tutorial, and I followed the directions on setting up the SDK, but I get the following error: (MSVC 6)

    Code:
    kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib d3dx8.lib dxguid.lib d3d8.lib/nologo /subsystem:windows /incremental:yes "/pdb:Debug/nexe1.pdb" /debug /mach
    ine:I386 "/out:Debug/nexe1.exe" /pdbtype:sept 
    .\Debug\one.obj 
    LINK : fatal error LNK1104: cannot open file "d3d8.lib/nologo.obj"
    I deleted everything and made a new project (win32 application) and pasted the code in there, but I still got the error, so it isn't MSVC being strange like it sometimes does. The only thing I can think of is that I installed the 9.1 SDK and Nexe was written with 8, but I don't think that should make a difference. What am I doing wrong? Thanks.
    Last edited by confuted; 07-18-2003 at 08:24 PM.
    Away.

  2. #2
    I lurk
    Join Date
    Aug 2002
    Posts
    1,361

    Re: DirectX errors (newb alert)

    Originally posted by blackrat364
    Hmmm... I'm just trying to compile Nexe's "setting up a directx window" tutorial, and I followed the directions on setting up the SDK, but I get the following error: (MSVC 6)

    Code:
    kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib d3dx8.lib dxguid.lib d3d8.lib/nologo /subsystem:windows /incremental:yes "/pdb:Debug/nexe1.pdb" /debug /mach
    ine:I386 "/out:Debug/nexe1.exe" /pdbtype:sept 
    .\Debug\one.obj 
    LINK : fatal error LNK1104: cannot open file "d3d8.lib/nologo.obj"
    I deleted everything and made a new project (win32 application) and pasted the code in there, but I still got the error, so it isn't MSVC being strange like it sometimes does. The only thing I can think of is that I installed the 9.1 SDK and Nexe was written with 8, but I don't think that should make a difference. What am I doing wrong? Thanks.
    Put a space between d3d8.lib/nologo, thus: d3d8.lib /nologo

  3. #3
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Thanks I feel like a moron (again). I feel like more of a moron because my ISP died last night as I tried to post this.
    Away.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Problems with my DirectX program
    By fighter92 in forum Game Programming
    Replies: 1
    Last Post: 01-23-2007, 06:28 PM
  2. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 12:16 PM
  3. DirectX - Starting Guide?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-25-2004, 12:49 AM
  4. errors in class(urgent )
    By ayesha in forum C++ Programming
    Replies: 1
    Last Post: 11-10-2001, 10:14 PM
  5. errors in class(urgent)
    By ayesha in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2001, 06:51 PM