On 21/11/10 21:41, Trevor Strickler wrote:
Well I accidentally sent the previous message before I was completely
finished editing it: Here it is with minor modifications and polite
closing:
Hi Trevor - revision 8353 contains an alternate fix: can you tell us if
it's ok?
Thanks for the bug report!
Hello,
I have successfully compiled Gmsh in the MinGW platform for
Windows. I choose MinGW because cygwin builds will rely on a cygwin
dll (and -mno-cygwin option has been removed from new releases of
gcc), and I do not feel inclined to purchase MS VC. Anyway, I
discovered that the CMakeLists.txt file you distribute with Gmsh
does not create makefiles for MinGW that tell the linker to set the
stack size to 16 MB, nor does it link the Win32icon. I made a
modification that will allow that to happen. I added the following
elseif statement to the code block in the cmake script that is in
charge of setting the stacksize for windows builds:
elseif( CMAKE_GENERATOR STREQUAL "MinGW Makefiles" OR
CMAKE_GENERATOR STREQUAL "MinGW Makefiles" OR
CMAKE_GENERATOR STREQUAL "Eclipse CDT4 - MinGW Makefiles" )
set_target_properties(gmsh PROPERTIES LINK_FLAGS
"-Wl,--stack,16777216 ${CMAKE_CURRENT_SOURCE_DIR}/Fltk/Win32Icon.res
-mwindows")
Anyway, thank you for creating gmsh and I hope this information helps.
-Trevor
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh