Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / How to make a .lib ?

Author
Message
_Pauli_
AGK Developer
15
Years of Service
User Offline
Joined: 13th Aug 2009
Location: Germany
Posted: 4th Feb 2010 15:05 Edited at: 4th Feb 2010 15:10
Hi,
Sorry I didn't really search on this, but maybe someone has a quick answer.
How can I turn my code (e.g. a .h header file and a .cpp file) into a .lib file (like 'DarkPhysics.lib', 'ode.lib', ...)?

EDIT:
I'm using MS Visual C++ 2008 Express.

Now the plot thickens, the fps decreases, and the awesomeness goes through the roof.
bloodmage2
15
Years of Service
User Offline
Joined: 14th Jun 2009
Location:
Posted: 4th Feb 2010 17:53
make a new project, win32 console application, choose static library, not sure, but if you can, deselect precompiled header. that screws things up. when you compile, it should output to a .lib. to use it, include the .h in a file, and in the projects menu, include the path for the library in "additional include directories"

-to the optimist, the glass is half full. to the pessimist, it is half empty, to the engineer, it is twice as big as it needs to be.

Login to post a reply

Server time is: 2024-10-01 23:33:48
Your offset time is: 2024-10-01 23:33:48