|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.learn - Help with linker errors
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. Apr 13 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. Apr 13 2008
Frank Benoit wrote: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. Apr 14 2008
"Jacob Carlborg" <doobnet gmail.com> wrote in message news:ftt5hf$1a9h$1 digitalmars.com...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. Apr 13 2008
|