Skip to content
Snippets Groups Projects
Commit 52ce65fd authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

compile fixes for debian
parent 7a35c42d
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@
#include "kd_tree.h" // kd-tree declarations
#include "bd_tree.h" // bd-tree declarations
#include <string.h> // for gmsh
#include <stdlib.h> // for gmsh
using namespace std; // make std:: available
......
......@@ -8,6 +8,10 @@ How to build OpenCascade 6.2 for Gmsh:
export CC="gcc -mno-cygwin -DWNT=1 -DWIN32 -DHAVE_NO_DLL"
export CXX="g++ -mno-cygwin -DWNT=1 -DWIN32 -DHAVE_NO_DLL"
- with new versions of gcc, add "-ffriend-injection" to the compiler
options (this prevents the "Standard_Transient_Type_ not declared"
error)
- go to the ros/ directory and type
./configure --prefix=/usr/local/opencascade --enable-debug=no
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment