2
0
Эх сурвалжийг харах

Fixes for compile issues with static X11 and OpenCV builds

rdb 16 жил өмнө
parent
commit
19e7de101a

+ 2 - 2
makepanda/makepanda.py

@@ -465,7 +465,7 @@ if (COMPILER=="LINUX"):
         # CgGL is covered by the Cg framework, and we don't need X11 components on OSX
         if (PkgSkip("NVIDIACG")==0 and not RUNTIME):
             SmartPkgEnable("CGGL",  "",      ("CgGL"), "Cg/cgGL.h")
-        SmartPkgEnable("X11",   "x11", "X11", ("X11", "X11/Xlib.h"))
+        SmartPkgEnable("X11",   ("x11", "xcb", "xau"), ("X11", "xcb", "Xau"), ("X11", "X11/Xlib.h"))
         if (not RUNTIME):
             SmartPkgEnable("XF86DGA", "xxf86dga", "Xxf86dga", "X11/extensions/xf86dga.h")
 
@@ -2663,7 +2663,7 @@ if (not RUNTIME):
 #
 
 if (not RUNTIME):
-  OPTS=['DIR:panda/src/vision', 'BUILDING:VISION', 'ARTOOLKIT', 'OPENCV', 'DX9', 'DIRECTCAM']
+  OPTS=['DIR:panda/src/vision', 'BUILDING:VISION', 'ARTOOLKIT', 'OPENCV', 'DX9', 'DIRECTCAM', 'JPEG']
   TargetAdd('vision_composite1.obj', opts=OPTS, input='vision_composite1.cxx')
   IGATEFILES=GetDirectoryContents('panda/src/vision', ["*.h", "*_composite.cxx"])
   TargetAdd('libvision.in', opts=OPTS, input=IGATEFILES)