|
[Sponsors] |
[Netgen] Installation of Netgen in SuSE Linux 92 |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#21 |
New Member
Vincenzo Della Corte
Join Date: Mar 2009
Posts: 1
Rep Power: 0 ![]() |
HI,
I dowloaded cvs version with instructions fro netgen web site, i modified the root makefile, makefile.MACHINE and makefile.inc as suggested in the netgen website, i downloaded the opencascade module from netgen website, I compiled with gcc 3.3.2 all works fine but the iges/step importing still does not work!!!! |
|
![]() |
![]() |
![]() |
![]() |
#22 |
New Member
brandon wolfe
Join Date: Mar 2009
Posts: 2
Rep Power: 0 ![]() |
Hi--
I ran into the same sorts of problems. The fix was twofold: 1) add the lines 'class Mesh;' and 'class mesh;' to meshtype.hpp. 2) remove the entire tk include mess from 'togl.cpp'. Move the files 'tk.h' from /usr/include and 'tkInt.h', 'tkIntDecls.h' from /usr/include/tk-private/generic. Then add '#include "tkInt.h"' to 'togl.cpp'. This of course assumes you have tk: in FC just type 'yum list | grep tk' to see what's available/installed and 'yum install tk', 'yum install tk-devel' to install them. Do the same for tcl and tix. |
|
![]() |
![]() |
![]() |
![]() |
#23 |
New Member
brandon wolfe
Join Date: Mar 2009
Posts: 2
Rep Power: 0 ![]() |
I should add that users with powerful computers and/or access to a DVD-R burner can now get netgen and a whole bunch of other powerful cae tools with CAELinux. This is a live DVD/virtual machine distro that has all these awkward installations already done. Plus you can pop it in to any windows box and laugh at your neighbor who paid thousands for codes he can't adapt.
|
|
![]() |
![]() |
![]() |
![]() |
#24 |
Senior Member
Pawel Sosnowski
Join Date: Mar 2009
Location: Munich, Germany
Posts: 105
Rep Power: 18 ![]() |
hello,
I see that the thread was dead for years, but just recently I got stuck with netgen compilation... I think that the OS is not a big problem, but to give full info: I use Ubuntu 8.04- the Hardy Heron I tried to compile netgen for some time... The tips presented above were very helpfull (got through the Tcl/Tk and othe features) but after running "make" I get such output: :~/ngs44$ make gcc -c -I./libsrc/include -I/opt/OpenCASCADE5.2/ros/inc -I./ngsolve/include -Ilibsrc/interface -DOPENGL -O2 -I/usr/include/GL3.5 -DLINUX -DOPENGL -ftemplate-depth-99 -finline-limit=20000 -funroll-loops -DNGSOLVE -fpermissive ngtcltk/ngappinit.cpp -o ngtcltk/ngappinit.o In file included from ./libsrc/include/../general/myadt.hpp:31, from ./libsrc/include/myadt.hpp:1, from ./libsrc/include/../meshing/meshing.hpp:4, from ./libsrc/include/meshing.hpp:1, from ngtcltk/ngappinit.cpp:8: ./libsrc/include/../general/symbolta.hpp: In member function 'void netgen::SYMBOLTABLE<t>::Set(const char*, const T&)': ./libsrc/include/../general/symbolta.hpp:138: warning: there are no arguments to 'strlen' that depend on a template parameter, so a declaration of 'strlen' must be available ./libsrc/include/../general/symbolta.hpp:139: warning: there are no arguments to 'strcpy' that depend on a template parameter, so a declaration of 'strcpy' must be available In file included from ./libsrc/include/../general/myadt.hpp:40, from ./libsrc/include/myadt.hpp:1, from ./libsrc/include/../meshing/meshing.hpp:4, from ./libsrc/include/meshing.hpp:1, from ngtcltk/ngappinit.cpp:8: ./libsrc/include/../general/mystring.hpp: In member function 'int netgen::MyStr::Find(char)': ./libsrc/include/../general/mystring.hpp:125: error: 'strchr' was not declared in this scope ./libsrc/include/../general/mystring.hpp: In member function 'int netgen::MyStr::Find(const netgen::MyStr&)': ./libsrc/include/../general/mystring.hpp:131: error: 'strstr' was not declared in this scope ./libsrc/include/../general/mystring.hpp: In member function 'int netgen::MyStr::Find(const char*)': (after that, there are like 20 or 30 similar messages ) I think that the problem is that some includes are not made (like #include <stdio.h> ) but to be honest, I have no idea where to put them... looking foreward for some tips Pawel Sosnowski |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
installation Problem - Linux distribution (Not a meshing problem) | v_herw | Pointwise & Gridgen | 2 | June 20, 2016 14:47 |
[OpenFOAM.org] OpenFOAM 2.3.1 installation on SUSE Linux Enterprise 12 | harsha_kulkarni | OpenFOAM Installation | 17 | November 16, 2015 03:06 |
OpenFoam 2.3.0 installation on SUSE Linux Enterprise Server 11 | sherif35 | OpenFOAM Installation | 4 | July 7, 2014 12:22 |
Dual Boot Windows and Linux and Go Open Source | andyj | Main CFD Forum | 2 | October 21, 2010 16:49 |
Installing OpenFOAM on SuSE Linux 91 | Lars Edvardsen (Edvardsen) | OpenFOAM Installation | 2 | January 10, 2005 02:26 |