Archived

This topic is now archived and is closed to further replies.

DirectX 8.0 SDK -- Borland C++ Builder 4

This topic is 6116 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have copied all the files from /include -> /include and /lib -> /lib ... so far so good. I wan''t to compile a sample program (Importing the Visual C++ project in C++Builder 4) and it generates a whole screen full of errors, example: [C++ Error] d3dx8math.inl(1107): E2268 Call to undefined function ''sqrtf''. I''ve compiled also a project that didn''t use d3d and it generates errors too. Do I really have to use MSVisualC ? or I am doing something wrong... .-/303\-.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
The error is more about differences between Borland and MSVC than problem with DX itself. To solve it define sqrtf as (float) sqrt.

If I understands it right have you copied the MSVC libraries and that will certainly not work. You must have libraries in OMF format http://www.geocities.com/foetsch/

They are for the latest builder so perhaps can you not use them. Here is an alternative that has the sources included http://sites.netscape.net/ptrpck/borland.htm

Share this post


Link to post
Share on other sites