Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gmsh
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Larry Price
gmsh
Commits
e494f969
Commit
e494f969
authored
18 years ago
by
Christophe Geuzaine
Browse files
Options
Downloads
Patches
Plain Diff
occ mingw
parent
9206c6bc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Parser/OpenFile.cpp
+3
-2
3 additions, 2 deletions
Parser/OpenFile.cpp
configure
+1
-1
1 addition, 1 deletion
configure
configure.in
+2
-2
2 additions, 2 deletions
configure.in
doc/README.occ
+5
-2
5 additions, 2 deletions
doc/README.occ
with
11 additions
and
7 deletions
Parser/OpenFile.cpp
+
3
−
2
View file @
e494f969
// $Id: OpenFile.cpp,v 1.12
7
2006-11-
15 21:53:31 remacl
e Exp $
// $Id: OpenFile.cpp,v 1.12
8
2006-11-
21 23:03:13 geuzain
e Exp $
//
//
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
// Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
//
//
...
@@ -301,7 +301,8 @@ int MergeProblem(char *name, int warn_if_missing)
...
@@ -301,7 +301,8 @@ int MergeProblem(char *name, int warn_if_missing)
!
strcmp
(
ext
,
".igs"
)
||
!
strcmp
(
ext
,
".IGS"
)){
!
strcmp
(
ext
,
".igs"
)
||
!
strcmp
(
ext
,
".IGS"
)){
GMODEL
->
readOCCIGES
(
std
::
string
(
name
));
GMODEL
->
readOCCIGES
(
std
::
string
(
name
));
}
}
else
if
(
!
strcmp
(
ext
,
".step"
)
||
!
strcmp
(
ext
,
".STEP"
)){
else
if
(
!
strcmp
(
ext
,
".step"
)
||
!
strcmp
(
ext
,
".STEP"
)
||
!
strcmp
(
ext
,
".stp"
)
||
!
strcmp
(
ext
,
".STP"
)){
GMODEL
->
readOCCSTEP
(
std
::
string
(
name
));
GMODEL
->
readOCCSTEP
(
std
::
string
(
name
));
}
}
else
if
(
!
strcmp
(
ext
,
".unv"
)
||
!
strcmp
(
ext
,
".UNV"
)){
else
if
(
!
strcmp
(
ext
,
".unv"
)
||
!
strcmp
(
ext
,
".UNV"
)){
...
...
This diff is collapsed.
Click to expand it.
configure
+
1
−
1
View file @
e494f969
...
@@ -4608,7 +4608,7 @@ case "$UNAME" in
...
@@ -4608,7 +4608,7 @@ case "$UNAME" in
FLAGS
=
"
${
FLAGS
}
-DHAVE_NO_DLL"
FLAGS
=
"
${
FLAGS
}
-DHAVE_NO_DLL"
fi
fi
if
test
"x
${
OCC
}
"
=
"xyes"
;
then
if
test
"x
${
OCC
}
"
=
"xyes"
;
then
GMSH_LIBS
=
"
${
GMSH_LIBS
}
-lwinspool"
GMSH_LIBS
=
"
${
GMSH_LIBS
}
-lwinspool
-lws2_32
"
fi
fi
if
test
"x
$enable_gui
"
!=
"xno"
;
then
if
test
"x
$enable_gui
"
!=
"xno"
;
then
GMSH_LIBS
=
"
${
GMSH_LIBS
}
Fltk/Win32Icon.res"
GMSH_LIBS
=
"
${
GMSH_LIBS
}
Fltk/Win32Icon.res"
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
2
−
2
View file @
e494f969
dnl $Id: configure.in,v 1.11
2
2006-11-21
12:00:57
geuzaine Exp $
dnl $Id: configure.in,v 1.11
3
2006-11-21
23:03:13
geuzaine Exp $
dnl
dnl
dnl Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
dnl Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
dnl
dnl
...
@@ -593,7 +593,7 @@ case "$UNAME" in
...
@@ -593,7 +593,7 @@ case "$UNAME" in
FLAGS="${FLAGS} -DHAVE_NO_DLL"
FLAGS="${FLAGS} -DHAVE_NO_DLL"
fi
fi
if test "x${OCC}" = "xyes"; then
if test "x${OCC}" = "xyes"; then
GMSH_LIBS="${GMSH_LIBS} -lwinspool"
GMSH_LIBS="${GMSH_LIBS} -lwinspool
-lws2_32
"
fi
fi
if test "x$enable_gui" != "xno"; then
if test "x$enable_gui" != "xno"; then
GMSH_LIBS="${GMSH_LIBS} Fltk/Win32Icon.res"
GMSH_LIBS="${GMSH_LIBS} Fltk/Win32Icon.res"
...
...
This diff is collapsed.
Click to expand it.
doc/README.occ
+
5
−
2
View file @
e494f969
...
@@ -23,6 +23,7 @@ How to build OpenCascade 6.1 for Gmsh:
...
@@ -23,6 +23,7 @@ How to build OpenCascade 6.1 for Gmsh:
(or just go into each dir occ/ros/adm/make/XXX and type 'make install')
(or just go into each dir occ/ros/adm/make/XXX and type 'make install')
(In our patched version there is a script to do all this automatically)
*************************************************************************
*************************************************************************
...
@@ -34,11 +35,13 @@ MINGW: too many patches to list here:
...
@@ -34,11 +35,13 @@ MINGW: too many patches to list here:
2) fix all OSD_* routines that throw MSVC-specific expcetions (__try,
2) fix all OSD_* routines that throw MSVC-specific expcetions (__try,
__finally, etc.) using #defines
__finally, etc.) using #defines
3) fix dllimport/dllexport #defines on the fly when the compiler complains
3) remove all the dllimport/dllexport #defines
4) apply same uname patch as for APPLE below
I will try to consolidate all these patches in a single one and submit
I will try to consolidate all these patches in a single one and submit
it to the OCC folks, but it's not easy: we must first find a way to
it to the OCC folks, but it's not easy: we must first find a way to
uniquelyidentify gcc on mingw
uniquely
identify gcc on mingw
.
*************************************************************************
*************************************************************************
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment