Jump to content
  • Advertisement


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


Dev-C++ "undefined reference"

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

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!