Author Topic: Build problems  (Read 1718 times)

0 Members and 1 Guest are viewing this topic.

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Since I haven't touched the source in six months, I guess I'm a born-again n00b, so bear w/ me...

I am having trouble building the latest from CVS.  I'm getting a fair number of undefined symbols at compile-time that all look like DirectX symbols.  grepping through my DX include files for the undef symbols returns no matches.  

Is DirectX 9 required now?  I have DX8 installed, and it compiled OK back in March.  I can install DX9 if it's required, but I'd rather not unless I have to.

thx
your source code slave

 

Offline RandomTiger

  • Senior Member
  • 211
We are still DX8.1
I'm just about to try compiling, I'll tell you how it goes.

 

Offline RandomTiger

  • Senior Member
  • 211
Works OK for me.

Best to have your DX8.1 SDK at 'C:\DXSDK'
Also dont forget to try a 'clean'

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Thanks, RT, but no joy...  

I'm pretty sure the include path is OK because all other DX symbols are being resolved; I'd get a heap-o-errors rather than just 3.  And I did grep for the unreolved symbols, and they're not there.  

Maybe I'll try and get a newer DX SDK.  I might be running 8.0 (not 8.1), I'm not sure, and I don't know how to find out.  And the oh-so-helpful online MSDN doesn't tell you when a symbol was introduced, just that it's present in version 9.


FWIW, here are the undefs I'm getting:

Code: [Select]

graphics/grd3d.cpp:2191: `D3DFMT_A2B10G10R10' undeclared (first use this function)
make: *** [grd3d.o] Error 1
graphics/grd3drender.cpp:2921: `D3DXIFF_BMP' undeclared (first use this function)
graphics/grd3drender.cpp:2921: `D3DXSaveSurfaceToFile' undeclared (first use this function)
make: *** [grd3drender.o] Error 1
make: Target `all' not remade because of errors.
your source code slave

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
Check DXReadme.txt; the first line should say
Quote
Microsoft(R) DirectX (R) 8.1 SDK - Final Release
-C

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
hmm, no such file.  I think I got an unofficial release or something, just the header and .lib files.

Guess I'll try to find the "official" DX8.1 at MS, else I'll get DX 9.0.

Thanks all for the info.
your source code slave

 

Offline penguin

  • Eudyptes codus
  • 28
  • Still alive.
Got the official DX8.1 SDK and I can compile, after making a tweak to two header files -- I use MinGW/gcc (MS uses nonstandard stuff that only works with their compiler...)  

Running into linker issues now, I guess it's just a matter of finding the magic combination of lib files to link with...
your source code slave