Jump to content
  • Advertisement

Archived

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

-Thork-

Dev-C++ "undefined reference"

This topic is 5980 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''m trying to compile a DLL in Dev-C++ that acts as a server / client using WinSock. The code compiles fine, but the linker gives me a whole list of "undefined references". Any Winsock function that I have used appears in this list, e.g. closesocket, send etc. The Project is being compiled as a DLL, "Do not create a console" is checked and I am importing the correct libraries through "-lwsock32 -lws2_32" as extra link files. Still no luck though. Any ideas as to why this may not be working?

Share this post


Link to post
Share on other sites
Advertisement

  • 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!