Jump to content
  • Advertisement
Sign in to follow this  
gauntalus

GNU Triangulated Surface Library

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

For the past month or so I have been working on a research project for the Rad Lab at college. I've come near the end of the project where I need to be able to take the union of various solids that I have computed. I ran across the GNU Triangulated Surface Library (GTS: http://gts.sourceforge.net ) which seems like just the ticket, but I am having some issues getting things to work in Windows. On their sourceforge project page the library is listed as OS independent, and thus cross-platform. I am writing the program in Windows in Visual Studio .NET, and I successfully installed the library following the instructions in the documentation. Now that the library is installed I am trying to compile with it. In my main source file, I included gts.h, the flagship so to speak of the library, however, when I try to compile Visual Studio complains that it can't find glib.h. Inside of gts.h, there is a #include for glib.h, however, I ran a search for it on my windows partition (i dual boot gentoo) and found nothing. So I downloaded glib.h, added it its directory to the include path and compilied again. This time it complained that it couldn't find glibconfig.h. At this point I stopped, thinking that I was probably going against the grain by just downloading these files, figuring that something needed to be proporly installed. However, google'ing on "glib" and "glib for windows" hasn't been so fruitful. The info that I've found has just referred to its use in GTK, GDK, and Gnome, but nothing else that helps me to be any closer to getting this thing to compile in Visual Studio. So I am asking, does anyone have experience using the GTS library, or maybe Glib in Windows? Seems like it is Unix native, forgive my naivety, I'm still stretching my programming wings. help!

Share this post


Link to post
Share on other sites
Advertisement
GLib is part of GTK+ and GNOME. Early versions of GTK included it, now its a separate library. The apt-get name is "libglib-dev".

Download link and basic information at http://mail.gnome.org/archives/gnome-announce-list/2004-December/msg00036.html

Share this post


Link to post
Share on other sites
Ok I ended up getting a GTK+ development kit which seemed to contain everything I need. Thanks a bunch! Now if I can just figure out these gts class linker errors :-/

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!