Visual Studio problem

Status
Not open for further replies.
I was torn between here and the software forum. somehow I thought this might be slightly more on topic here, but if mods think otherwise, I'll move it.

Using Visual Studio 97. Installed the direct x 8.1 sdk. Added c:\dxsdk\include and c:\dxsdk\lib to the directories tab under Tools->Options.

Having a problem trying to link though, it's complaining about not finding the external symbol _Direct3DCreate8@4 which is contained in c:\dxsdk\lib\d3d8.lib. If I add that library to the project, it complains disk being too full (it's not) or incomplete file because it can't seek to 0x3b16034b.

It would seem I'm neglecting a search path, but I can't figure out where. Any thoughts?
 
I did a Windows search for a file containing the appropriate text and that file came up, I'll try dumpdin and see.

edit:---------------

That's odd, it gives the same error. I wonder if they bundled a bad version in the download.

Dump of file d3d8.lib

File Type: LIBRARY
d3d8.lib : fatal error LNK1106: invalid file or disk full: cannot seek to 0x3b160475
 

dhopton

Ars Tribunus Militum
2,009
or your download is corrupt.
redownload
Also, do a chkdsk

I remember having a similar error withsome custom librarys. It was all to do with COFF formats and some other stuff. They changed the format of the libs iirc between 5 and 6. and as such libs built with 6 cant be linked with the VC5 linker unless they are built in VC6 with a specical switch
 
Tried a second download and install (with the required uninstall) last night before posting.

Ran the error checking tool on the drive, it went through it's five passes and didn't flag anything it appeared. The hard drive was fragmented all to hell though, so defragging now and then I'll uninstall just to be safe and see (is it bad when the entire drive comes up red when 31% is free ;))

That would make sense about the linking flag. Maybe I will have to go back to DX7.
 
Defrag and reinstall didn't work. Tried a directdraw sample file to see if that worked (all I want is 2d stuff in the end anyhow), and it posted this error:

Linking...
LINK : error : Internal error during Pass1
Error executing link.exe.
Tool execution canceled by user.

But I build again, builds fine, run the executable and it complains that it is too big to fit in memory. Maybe my Visual C++ didn't install correctly. I'll try 7 later and then try reinstalling if that doesn't work.
 
Status
Not open for further replies.