Hi, I'm in a very big trouble. I've downloaded the 6.3 Version .tgz to use the program on my computer (Ubuntu 8.10) but I can not install it.
I can not understand, what to do, when I read the ReadMe file.
It would be very helpful if someone would describe the installation step by step with all lines, which belong to the terminal.
I'm no good in English so excuse me the mistakes.
I hope someone can help me to use the open Source program, because that's is the point I've chosen Linux.
Best regards.
Discussion
18 archived replies
Posts are displayed in their archived order.
01Commenter-1
Here is some help :
Go to the "ros" sub-folder of OpenCascade.
Before proceeding building of OpenCascade, you should make sure you those required packages are installed :
libxmu-dev, tcl8.5-dev and tk8.5-dev. If not type :
Then copy/paste the following lines in a bash script file located in the ros sub-folder (call this script "my_configure.sh" for example). Replace "your_opencascade_folder" by what you have (maybe /opt/lib/occ630).
Then type ./my_configure.sh
This will build a release and shared version of OpenCascade (without WOK).
Hope this helps.
02Author
Thanks for the fast answer.
I've done, but the last command does not work well. I can not start the my_configure.sh in the terminal. What should I change?
03Author
The Permission is denied and when I try to start it with sudo, it says "command not found"
04Commenter-1
Try to insert #!/bin/bash as the first line of your "my_configure.sh" bash script (this is a file you have to create by pasting the lines I have given).
05Author
I've tried but it dosen't help. The # stands infront of comments, but without it didn't work as well. Maybe some one, who has successfully installed the program can tell me ho to do it, or give me a link to a howTo.
06Commenter-2
OFFTOPIC: Author, are you bulgarian?
07Commenter-3
It should be working with :
sudo sh my_configure.sh
08Commenter-1
Try to give "my_configure.sh" execution rights : chmod u+x my_configure.sh
./my_configure.sh must work then ...
If you still have problems tell us what you clearly do in this thread.
09Author
It seams to work with the sudo sh my_configure.sh. But how to start the program now?
And, no, I'm not bulgarian. Why should I? :)
10Commenter-2
Because your name is popular in Bulgaria too. I'm searching for people from Bulgaria working with OpenCascade.
11Commenter-4
I copy this code for the script and works, the error was CASTROOT "your_opencascade_folder/ros" because it is the directory where the program must be installed,not the directory where the setup files are located,
and then i put the script in "your_opencascade_folder/ros".
But i have a problem, at last appear error: Test harness requires visualization component.
12Commenter-5
Hello Author,
perhaps you don't have the right idea of what OCC is. It is not a program you can use to do CAD/CAM operations, but a set of libraries which one can use to write a CAD-related program. For example the commercial CAD software Catia is based on the OpenCascade libraries.
Nevertheless there is an example program included in the OCC package. It's called IESample and is located in the $CASROOT/../samples/standard/qt directory. The program allows you to import/export and view CAD-Files like .stp/.igs/.rle .
If you just want to visualize already existing data this program is sufficient but you cannot design new models or modify already existing ones.
"I think Matra may have NC simulation code. I seem to recall early releases of Catia V5 using a Matra machining package which includes an NC simulation app called WYSIWUG. If I am right, maybe we should campaign to get the code into the public domain."
It would be great if opencascade had a repository for DEBIAN, so that it could be installed directly and updated without problems and that it already installed the dependencies. I'm busting my head to make it work ...
WOULD THIS BE MUCH TO REQUEST ?????
18Commenter-9
It would be great if opencascade had a repository for DEBIAN,
There are dozens of Linux distributions in the world, supporting different architectures, having regular releases
(sometimes each half a year like Ubuntu) and several releases supported in parallel (like LTS releases)
Yes, providing repositories for various Linux distributions looks like a plenty of work. https://en.wikipedia.org/wiki/List_of_Linux_distributions