CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Installation of Netgen in SuSE Linux 92

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   May 24, 2006, 03:42
Default HI, I dowloaded cvs version w
  #21
New Member
 
Vincenzo Della Corte
Join Date: Mar 2009
Posts: 1
Rep Power: 0
baldios1972 is on a distinguished road
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!!!!
baldios1972 is offline   Reply With Quote

Old   July 26, 2006, 08:49
Default Hi-- I ran into the same so
  #22
New Member
 
brandon wolfe
Join Date: Mar 2009
Posts: 2
Rep Power: 0
bwolfe is on a distinguished road
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.
bwolfe is offline   Reply With Quote

Old   July 26, 2006, 08:55
Default I should add that users with p
  #23
New Member
 
brandon wolfe
Join Date: Mar 2009
Posts: 2
Rep Power: 0
bwolfe is on a distinguished road
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.
bwolfe is offline   Reply With Quote

Old   January 16, 2009, 06:12
Default hello, I see that the thread
  #24
Senior Member
 
Pawel Sosnowski
Join Date: Mar 2009
Location: Trieste, Italy
Posts: 105
Rep Power: 8
psosnows is on a distinguished road
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
psosnows is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Installation using the precompiled binaries on Suse 103 pamdirac OpenFOAM Installation 1 March 9, 2009 04:05
Installation using the precompiled binaries on Suse 103 pamdirac OpenFOAM Installation 0 March 6, 2009 20:39
Installation OpenFoam on SUSE 101 t42 OpenFOAM Installation 1 August 1, 2007 06:15
Installation OpenFoam on SuSe 101 mephisto OpenFOAM Installation 1 November 8, 2006 02:15
CFX and SUSE linux Paul CFX 5 December 23, 2004 21:53


All times are GMT -4. The time now is 06:26.