I never did see where the path to lib and include were supposed to be set, but 
I have made some progress. I used cmake to generate the stuff in cmake-build, 
then got the following error when issuing the make command:

Dougs-MacBook-Pro:cmake-build dougblanding$ make
[  0%] Swig source
Scanning dependencies of target _AIS
[  0%] Building CXX object 
CMakeFiles/_AIS.dir/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx.o
In file included from 
/Users/dougblanding/Downloads/pythonocc-0.6-beta/cmake-build/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx:5392:
/usr/local/include/oce/ImageUtility_X11Display.hxx:39:10: fatal error: 
      'X11/Xlib.h' file not found
#include <X11/Xlib.h>
         ^
1 error generated.
make[2]: *** 
[CMakeFiles/_AIS.dir/src/wrapper/SWIG_files/linux_darwin/AISPYTHON_wrap.cxx.o] 
Error 1
make[1]: *** [CMakeFiles/_AIS.dir/all] Error 2
make: *** [all] Error 2

-Doug

On Dec 21, 2013, at 6:00 AM, pythonocc-users-requ...@gna.org wrote:

> Send Pythonocc-users mailing list submissions to
>       pythonocc-users@gna.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>       https://mail.gna.org/listinfo/pythonocc-users
> or, via email, send a message with subject or body 'help' to
>       pythonocc-users-requ...@gna.org
> 
> You can reach the person managing the list at
>       pythonocc-users-ow...@gna.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Pythonocc-users digest..."
> 
> 
> Today's Topics:
> 
>   1. installing pyOCC on OS X (10.9) (Doug Blanding)
>   2. Re: installing pyOCC on OS X (10.9) (Thomas Paviot)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 20 Dec 2013 09:26:49 -0500
> From: Doug Blanding <dbland...@gmail.com>
> To: pythonocc-users@gna.org
> Subject: [Pythonocc-users] installing pyOCC on OS X (10.9)
> Message-ID: <d6a18c49-04b3-417e-9f77-c1bfe1098...@gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> I have been happily using pyOCC on my Windows7 desktop and had no idea how 
> difficult it was going to be to install it on the MacBook Pro. Holy smokes! 
> I?ve been working on this for days and still haven?t got it. I am using 
> python 2.7.5. I have been able to install most of the required s/w using the 
> configure/make/install compilation process. I am following the instructions 
> posted at https://github.com/tpaviot/pythonocc/blob/master/INSTALL and am not 
> able to get all the way through it. I installed cmake from a .dmg file but 
> the install didn?t go to completion. the cmake-gui command doesn?t work but 
> the cmake command launches the gui. When I launch the cmake gui, it asks me 
> where the OCE include and lib directories are. I installed OCE but have no 
> idea where these directories are. any advice?
> 
> -Doug
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: </public/pythonocc-users/attachments/20131220/5d60ce7d/attachment.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 20 Dec 2013 15:43:52 +0100
> From: Thomas Paviot <tpav...@gmail.com>
> To: "pythonOCC users mailing list." <pythonocc-users@gna.org>
> Subject: Re: [Pythonocc-users] installing pyOCC on OS X (10.9)
> Message-ID:
>       <cabc2abw-6rme9yagfdtdmpjo4uqbjuf5two9_s2+zch8bfr...@mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> 2013/12/20 Doug Blanding <dbland...@gmail.com>
> 
>> I have been happily using pyOCC on my Windows7 desktop and had no idea how
>> difficult it was going to be to install it on the MacBook Pro. Holy smokes!
>> I?ve been working on this for days and still haven?t got it. I am using
>> python 2.7.5. I have been able to install most of the required s/w using
>> the configure/make/install compilation process. I am following the
>> instructions posted at
>> https://github.com/tpaviot/pythonocc/blob/master/INSTALL and am not able
>> to get all the way through it. I installed cmake from a .dmg file but the
>> install didn?t go to completion. the cmake-gui command doesn?t work but the
>> cmake command launches the gui. When I launch the cmake gui, it asks me
>> where the OCE include and lib directories are. I installed OCE but have no
>> idea where these directories are. any advice?
>> 
>> -Doug
>> 
>> 
> Hi Doug,
> 
> I moved up to Maverick as soon it was released. Can you please tell me
> which step fails in the instruction ?
> 
> Which cmake version did you download/install ? I can't remember any issue
> with cmake and cmake-gui.
> 
> OCE libraries are installed by default to /usr/local/lib and include to
> /usr/local/include/oce (which is the default setting for pyocc CMakeList).
> If you downloaded precompiled binaries, the might be in
> /Library/OCE/0.12/lib and /Library/OCE/0.12/include/oce.
> 
> Thomas
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: </public/pythonocc-users/attachments/20131220/50f25654/attachment.html>
> 
> ------------------------------
> 
> _______________________________________________
> Pythonocc-users mailing list
> Pythonocc-users@gna.org
> https://mail.gna.org/listinfo/pythonocc-users
> 
> 
> End of Pythonocc-users Digest, Vol 60, Issue 15
> ***********************************************

_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to