Jump to content
  • Advertisement
Sign in to follow this  
Leo28C

Unity ClanLib gives runtime errors

This topic is 3690 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 got ClanLib installed earlier today: http://www.gamedev.net/community/forums/topic.asp?topic_id=500710 Well, it compiled fine, but now my programs show this error: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. I'm using this:
CFLAGS    := -Wall -ansi -g -O3
CXXFLAGS  := $(CFLAGS) -mthreads -I/mingw/include/ClanLib-0.8

CLANLIBS  := -lclanApp -lclanGL -lclanDisplay -lclanCore -lclanSignals
EXTRALIBS := -lz -lwinmm -lddraw -ldinput -ldxguid -ljpeg -lpng            -lopengl32 -lglu32 -lz
LFLAGS    := $(CLANLIBS) $(EXTRALIBS)

I'm guessing I need to put some DLLs with my application, but I can't figure out which ones. Also, I went through the trouble of re-installing MinGW and MSYS just for this... Any ideas? Thanks in advance!

Share this post


Link to post
Share on other sites
Advertisement
Can you run your program with the Debugger attached? It should show you the line of code that is causing the error.

Share this post


Link to post
Share on other sites
DAMN IT.

I forgot to add this line:
CL_SetupGL setup_gl;

I spent like 2 hours installing the VC9 version to figure that out.

It was all thanks to your comment; if you hadn't said that I wouldn't have checked the debugger carefully to see that the error had something to do with OpenGL. Thanks very much! =)

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!