Help with linker errors

Frank Benoit keinfarbton at googlemail.com
Sun Apr 13 07:42:58 PDT 2008


Jacob Carlborg schrieb:
> I have a framework/game engine or what to call it, 3D Game Studio, that 
> I would like to use with D.
> 
> It comes with four header files and a lib file (in visual studio format) 
> to link in a dll file. I've ported the header files and a "Hello world" 
> example do D. All compile but I get linker errors on the functions I try 
> to use from the game engine.
> 
> I have a converted the lib file with coff2omf and also tried to create 
> my own lib file with implib. I've tried to compile both with dsss and 
> dmd, I've tried both to have a pragma(lib, "acknex.lib"); in the main 
> file and added the lib file to the command line. I don't what more I can 
> do to solve the linker errors. BTW it's works great with C++ and visual 
> studio, maybe I should try with C++ and dmc also to see if that works.

for dwt i used coffimplib from the dmc package
then you can use libunres to check the contained symbols. They should 
have the format
_indentifier at 4


More information about the Digitalmars-d-learn mailing list