Re: Eugtk 2 s paths
- Posted by Matt Lewis <matthewwalkerlewis at yahoo.com> Sep 24, 2004
- 479 views
Elliott S. de Andrade wrote: > > > The EUINC thing also affects Linux. You need to login again for it to > take effect. I use XP, so I know what you mean about not needing to > reboot. But, as Chris said, it makes it easier to distribute your > program with GTK that way. You don't need the user to change their > EUINC. Everything can be in one folder, but the 135 GTK files don't > need to be in the root clutterin it up. This doesn't just pertain to > zipped up programs (like for the archive, since most people haven't > included GTK, AFAIK), but also helps if you're transporting your work to > another computer. No setup is required. You can just unzip, or copy, > and run. Yes, the second place I develop is a Linux box. However, I still prefer to leave path names out of the include statement. As far as distribution goes, my feeling is that people can either properly install a library so that it's in their EUINC path, or they can dump any required libs into the same directory. That's what I like to do. In general, I try to avoid hard coding things like paths. Matt Lewis