Got a good Config.pp for 64-bit Debian Sid? Please post it!

Return to Compiling or Editing the Panda Source

Got a good Config.pp for 64-bit Debian Sid? Please post it!

Postby Scramblejams » Sun Jan 08, 2012 8:14 pm

Hi all,

I'm having trouble getting my ppremake to use Config.pp to recognize various libs I've installed from Debian's package libraries. Anybody out there willing to share their Config.pp?

Thanks,

Steve
Scramblejams
 
Posts: 14
Joined: Sun Jan 08, 2012 6:19 pm

Postby drwr » Mon Jan 09, 2012 10:04 am

Here's the one I use for 32-bit Ubuntu. It should at least give you a starting point.

Note that makepanda does do a better job at finding this stuff out automatically, and may be a better choice for the simple task of building Panda. ppremake is usually a better choice for hardcore Panda developers who are likely to be mucking around in individual source directories a lot, and prefer to use a less-monolithic build system using Makefiles.

David

Code: Select all
#define BUILD_TYPE unix
#define OPTIMIZE 3

//#define EIGEN_IPATH /home/drose/eigen-eigen-3.0.4
#define PYTHON_IPATH /usr/include/python2.7

#define JPEG_LPATH /usr/lib/i386-linux-gnu
#define PNG_LPATH /usr/lib/i386-linux-gnu
#define TIFF_LPATH /usr/lib/i386-linux-gnu
#define ZLIB_LPATH /usr/lib/i386-linux-gnu

#define HAVE_GTK 1

#define X11_LPATH /usr/lib/i386-linux-gnu

#define GL_IPATH
#define GL_IPATH /usr/lib/i386-linux-gnu
#define GL_LIBS GL
#define HAVE_GL 1

#define OPENSSL_IPATH
#define OPENSSL_LPATH /usr/lib/i386-linux-gnu
#define OPENSSL_LIBS ssl crypto
drwr
 
Posts: 11253
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Postby rdb » Mon Jan 09, 2012 12:35 pm

I usually just start with an empty Config.pp, add some basic instructions like:
Code: Select all
// Necessary for 64-bits, not sure if it still is though
#define C++FLAGS -fPIC

#define HAVE_THREADS 1


And then I just run "ppremake" in the dtool directory, look at the list of libraries, and add the _IPATH and _LPATH for the ones I want to my Config.pp, until it finds every library I want to build with support for.
rdb
 
Posts: 8565
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby Scramblejams » Wed Jan 11, 2012 10:27 pm

rdb, I was having trouble getting some paths to work, but drwr's sample did the trick for me.

drwr wrote:Here's the one I use for 32-bit Ubuntu. It should at least give you a starting point.


Thanks, that gave me a good start.

Steve
Scramblejams
 
Posts: 14
Joined: Sun Jan 08, 2012 6:19 pm


Return to Compiling or Editing the Panda Source

Who is online

Users browsing this forum: No registered users and 1 guest