Jump to content
  • Advertisement
Sign in to follow this  
Falling Sky

Generating a LIB file with DevC++

This topic is 4796 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

Hi, im working on a DLL in DevC++ and I was wondering how to generate a LIB file for people to link in their projects to include the DLL

Share this post


Link to post
Share on other sites
Advertisement
Dev-C++ automatically generates a .a file that is used to link the .dll into the project when it creates the dll.

I've recently done this myself for the 1st time so feel to ask any questions..:)

Share this post


Link to post
Share on other sites
Lib files are for use within Visual Studio, the GCC compiler (which Dev-C++ uses) counterpart is the .a file as has been mentioned. AFAIK there's no tool to generate VS import libraries from GCC .a files although there is a tool to convert .lib files to .a/.def for use with GCC (Google reimp).

Share this post


Link to post
Share on other sites
Also newer Dev-C++(newer mingw) can support .lib(coff) and .a(aout? i don't really know), but it's not the same with VC++(lib only). I reccomend you get the free version of the vc compiler, and get an ide like code::blocks to make a .lib that can be used with both mingw and VC.

Share this post


Link to post
Share on other sites
You can make DLLs with the express edition. Do you have the platform SDK installed and the IDE setup to make native apps?

Share this post


Link to post
Share on other sites
Quote:
Original post by Azh321
I have the 2005 express edition for C++ but it doesnt alllow me to make DLL's, I guess thats not in the express edition

Quote:
Original post by Rebooted
You can make DLLs with the express edition. Do you have the platform SDK installed and the IDE setup to make native apps?


Rebooted is correct, take a look at my post here, it has instructions.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!