Advertisement

directx: error compiling code that uses D3DFont and D3DApp

Started by February 16, 2002 01:01 PM
-1 comments, last by fireleo 22 years, 10 months ago
I''m new to DirectX coding, and have just today managed to set up DirectX SDK 8.1 to work with Borland C++ 5.5. I''ve managed to compile and run some of the samples fine (after much trial and error), but have run into problems when it comes to samples that use the D3DFont or D3DApp files. For example, the Text3D sample code - when I try to compile it I get 26 errors similar to this: C:\Borland\BCC55\bin\ILink32 @MAKE0000.@@@ > Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland ! Error: Unresolved external ''CD3DFont::~CD3DFont()'' referenced from C:\WINDOWS\DESKTOP\CODE\TEST5\TEXT3D.OBJ ! Error: Unresolved external ''CD3DApplication::CD3DApplication()'' referenced from C:\WINDOWS\DESKTOP\CODE\TEST5\TEXT3D.OBJ ! Error: Unresolved external ''CD3DApplication::AdjustWindowForChange()'' referenced from C:\WINDOWS\DESKTOP\CODE\TEST5\TEXT3D.OBJ I know that D3DApp and D3DFont are include files stored in the DXSDK\samples\Multimedia\Common\include folder, and I have added the path to that folder to my include paths to no effect. I''ve also changed the order in which the compiler checks that different paths, again to no effect. I''m not sure why this isn''t working...I had errors like this before with other code, and they turned out to be linking errors to lib files, but that doesn''t seem to be the case here. I''m terribly confused - any help would be very gratefully appreciated!!

This topic is closed to new replies.

Advertisement