Jump to content
  • Advertisement


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


dll link to another dll

This topic is 5827 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 create a dll that links to another dll in Dev-C++/MinGW, but I get this error message c:\MinGW\myprog\gui.o(.text+0x24):gui.c: undefined reference to `glutDisplayFunc@4'' c:\MinGW\myprog\gui.o(.text+0x43):gui.c: undefined reference to `glutReshapeFunc@4'' c:\MinGW\myprog\gui.o(.text+0x62):gui.c: undefined reference to `glutIdleFunc@4'' Warning: no export definition file provided dllwrap will create one, but may not be what you want C:\MinGW\Bin\dllwrap: gcc exited with status 1 So it can''t find the functions even though I linked it with the option "-lglut32" under "Project->Project Options->Futher linker options". I know this linking works with static libraries, and this compiled fine before I started using glut functions, so is there some problem with having a dll link with another dll?

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.

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!