Trouble compiling from CVS on Debian Sid

Return to Compiling or Editing the Panda Source

Trouble compiling from CVS on Debian Sid

Postby Scramblejams » Sun Jan 08, 2012 6:26 pm

Hi all,

I'm having trouble compiling using the latest CVS. I'm using ppremake on amd64. The trouble happens in the panda compile, here:

Code: Select all
make[1]: Entering directory `/home/steve/panda3d-src-20120108-1450/panda3d/panda/src/glxdisplay'
g++ -ftemplate-depth-30  -c -o Opt3-Linux/p3glxdisplay_config_glxdisplay.o -I. -I/home/steve/panda3d-src-20120108-1450/panda3d/panda -I../cull -I../display -I../downloader -I../event -I../express -I../glgsg -I../glstuff -I../gobj -I../gsgbase -I../linmath -I../mathutil -I../nativenet -I../net -I../pandabase -I../pgraph -I../pgraphnodes -I../pipeline -I../pnmimage -I../pstatclient -I../putil -I/usr/local/panda/20120108-1450/include -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/include/python2.6 -I/usr/include    -g -O2 -fPIC config_glxdisplay.cxx
In file included from glxGraphicsBuffer.h:20:0,
                 from config_glxdisplay.cxx:16:
glxGraphicsPipe.h:24:29: fatal error: x11GraphicsPipe.h: No such file or directory


I expect the trouble is because there's no "-I../x11display" in there. I'm not sure how to fix that though. Any help would be appreciated. Thanks!

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

Postby drwr » Mon Jan 09, 2012 9:58 am

I think it failed to do this because it didn't detect x11-dev on your system. Really, it shouldn't have attempted to build glxdisplay in this case either, and I've just committed a fix for that mistake.

Any particular reason you're using ppremake instead of makepanda?

David
drwr
 
Posts: 11425
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Re: Compiling or Editing the Panda Source

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

drwr wrote:I think it failed to do this because it didn't detect x11-dev on your system. Really, it shouldn't have attempted to build glxdisplay in this case either, and I've just committed a fix for that mistake.


Thanks David for your quick response, that cured that particular issue. Sorry for my slow response, my day job gets busy. :-/

drwr wrote:Any particular reason you're using ppremake instead of makepanda?


I had tried to build 1.7.2 with makepanda and failed, and figured ppremake was a fair alternative, and while I was thinking about making things difficult, why not throw CVS into the mix? :-)

My ppremake build's now breaking in ./direct...

Code: Select all
make[1]: Entering directory `/home/steve/panda3d-src-20120110-2022/panda3d/direct/src/heapq'
g++ -ftemplate-depth-30  -c -o Opt3-Linux/p3heapq_heapq.o -I. -I/home/steve/panda3d-src-20120110-2022/panda3d/direct -I/usr/local/panda/20120110-2022/include -I/usr/local/panda/20120110-2022/include -I/usr/include/python2.6    -g -O2 -fPIC heapq.cxx
In file included from directbase.cxx:15:0:
directbase.h:22:23: fatal error: pandabase.h: No such file or directory


...so I'll give makepanda a try.

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

Trouble with makepanda...

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

Hi David,

Unfortunately I didn't have any luck with makepanda and CVS...

Code: Select all
[T1] Building C++ object built/tmp/p3vision_composite1.o
In file included from panda/src/vision/config_vision.cxx:16:0,
                 from panda/src/vision/p3vision_composite1.cxx:2:
panda/src/vision/openCVTexture.h:23:20: fatal error: cxcore.h: No such file or directory


(I've posted the whole build output at http://pastebin.com/KdnkRKwa just in case you need it.)

Any tips would be much appreciated. Thank you!

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

Postby rdb » Thu Jan 12, 2012 2:51 am

You don't have the cxcore headers installed, which are part of OpenCV. Or build without OpenCV support.
rdb
 
Posts: 9306
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby drwr » Thu Jan 12, 2012 1:04 pm

As to your ppremake build, perhaps you didn't "make install" in panda yet? You have to make install in each of dtool, panda, direct, pandatool before you move on to the next one.

David
drwr
 
Posts: 11425
Joined: Fri Feb 13, 2004 12:42 pm
Location: Glendale, CA

Postby Scramblejams » Fri Jan 13, 2012 12:13 am

rdb wrote:You don't have the cxcore headers installed, which are part of OpenCV. Or build without OpenCV support.


Hmm, I have these installed:

Code: Select all
/usr/include/opencv2/core/core_c.h
/usr/include/opencv2/core/operations.hpp
/usr/include/opencv2/core/version.hpp
/usr/include/opencv2/core/mat.hpp
/usr/include/opencv2/core/eigen.hpp
/usr/include/opencv2/core/types_c.h
/usr/include/opencv2/core/core.hpp
/usr/include/opencv2/core/wimage.hpp
/usr/include/opencv2/core/internal.hpp


Should those be sufficient?

I disabled opencv and it finished the build successfully. Thanks.

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

Postby Scramblejams » Fri Jan 13, 2012 12:14 am

drwr wrote:As to your ppremake build, perhaps you didn't "make install" in panda yet? You have to make install in each of dtool, panda, direct, pandatool before you move on to the next one.


Good question, wish I could answer it. :-) makepanda did the trick so I abandoned the ppremake build. Thanks for all your help! Looking forward to getting going on panda.

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 0 guests