Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
OpenCASCADE on MAC (Mountain Lion) - Solved!
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Silex  
View profile  
 More options Sep 16 2012, 3:17 pm
From: Silex <birkas....@gmail.com>
Date: Sun, 16 Sep 2012 12:17:48 -0700 (PDT)
Local: Sun, Sep 16 2012 3:17 pm
Subject: OpenCASCADE on MAC (Mountain Lion) - Solved!

If anyone had issues with building OCE on Mountain Lion here is what worked
for me!

I spent a little time on this and I think I have it. Here is what I did
step by step:

Preparation phase:

   -

   Installing Xcode (with command line tools) = Apple developer site // If
   Xcode doesn't install gcc, than you can still download it from the
   developer site as Command Line Tools for Xcode.
   -

   Installing Cmake (with command line tools) = Google // You can download
   it from the official site with a .dmg/.pkg file extension. Easy install.
   -

   X11 under Mountain Lion "changed" to Xquartz. Probably it is not
   installed by default, but it is easy to check it. Just go to the folder
   "Application" and start the X11 app. If X11/Xquartz is not installed than
   it will install automatically!
   -

   Installing FTGL = MacPorts = Google // Download MacPorts from their
   official site, install it with the installer, than write this to the
   terminal:

sudo port install ftgl

   - Download OCE and extract it (.OCE-0.9.0.tar.gz file) =
   https://github.com/tpaviot/oce/wiki/Download

Installing phase:

I. Open Terminal.

II. Run this command
// This will set the proper PATH.

ln -s /opt/X11/include/X11 /usr/local/include/X11

III. Than from the Terminal go to the directory where you extracted the OCE
file (the original extracted file name should be: tpaviot-oce-6c9a06a).

IV. Than write these commands:
// You make a build directory to the extracted OCE folder.

mkdir build
cd build

V. After this you give out the cmake command:

cmake -DOCE_INSTALL_PREFIX:PATH=$HOME/OCE \
-DOCE_WITH_FREEIMAGE:BOOL=ON \
-DOCE_WITH_GL2PS:BOOL=ON \
-DOCE_DRAW:BOOL=ON \
..

VI. And at the end the make commands:

make
make install/strip

If you did everything exactly like this, than it should work! I posted this
little "tutorial" here too:
http://stackoverflow.com/questions/11967001/how-to-build-opencascade-...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Silex  
View profile  
 More options Sep 16 2012, 3:25 pm
From: Silex <birkas....@gmail.com>
Date: Sun, 16 Sep 2012 12:25:38 -0700 (PDT)
Local: Sun, Sep 16 2012 3:25 pm
Subject: Re: OpenCASCADE on MAC (Mountain Lion) - Solved!

Hint: if you don't want to run the draw example, than in the cmake flag set
it off:

2012. szeptember 16., vasárnap 21:17:48 UTC+2 időpontban Silex a következőt
írta:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Silex  
View profile  
 More options Sep 17 2012, 11:38 pm
From: Silex <birkas....@gmail.com>
Date: Mon, 17 Sep 2012 20:38:58 -0700 (PDT)
Local: Mon, Sep 17 2012 11:38 pm
Subject: Re: OpenCASCADE on MAC (Mountain Lion) - Solved!

The build section on the wiki site has been updated with this tutorial too,
with more details!

2012. szeptember 16., vasárnap 21:25:38 UTC+2 időpontban Silex a következőt
írta:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
D. Barbier  
View profile  
 More options Sep 18 2012, 3:38 pm
From: "D. Barbier" <bou...@gmail.com>
Date: Tue, 18 Sep 2012 21:38:30 +0200
Local: Tues, Sep 18 2012 3:38 pm
Subject: Re: [oce-dev] Re: OpenCASCADE on MAC (Mountain Lion) - Solved!

On 2012/9/18 Silex wrote:
> The build section on the wiki site has been updated with this tutorial too,
> with more details!

And you also added a link from the Build page, this is excellent, thanks!

Denis


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Silex  
View profile  
 More options Sep 20 2012, 8:25 pm
From: Silex <birkas....@gmail.com>
Date: Thu, 20 Sep 2012 17:25:27 -0700 (PDT)
Local: Thurs, Sep 20 2012 8:25 pm
Subject: Re: [oce-dev] Re: OpenCASCADE on MAC (Mountain Lion) - Solved!

No problem! Hope it helps to people out there trying to use OCE on MAC! :)

2012. szeptember 18., kedd 21:38:51 UTC+2 időpontban Denis Barbier a
következőt írta:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
BrianH  
View profile  
 More options Oct 27 2012, 4:06 pm
From: BrianH <brian.helenbr...@gmail.com>
Date: Sat, 27 Oct 2012 13:06:13 -0700 (PDT)
Local: Sat, Oct 27 2012 4:06 pm
Subject: Re: [oce-dev] Re: OpenCASCADE on MAC (Mountain Lion) - Solved!

I tried to install on Mountain Lion and ran into a glitch.    In my case, I
didn't have gl2ps or freeimage installed so I disabled those options.  
During the compile process I get:

In file included from
/Users/bhelenbr/Packages/oce/src/AlienImage/AlienImage_X11XWDAlienData.cxx: 32:
/Users/bhelenbr/Packages/oce/inc/Aspect_XWD.hxx:22:12: fatal error:
      'X11/XWDFile.h' file not found
#  include <X11/XWDFile.h>
           ^
1 error generated.

The strange thing is, the file is installed in /usr/X11R6/include/X11.   As
far as I can tell, Cmake has correctly identified all of the X11 paths so
I'm not sure what's going on.  If I disable all x11 and visualization
features it seems to be compiling fine.  

I assume you installed gl2ps and freeimage from DarwinPorts?

Brian


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »