CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Netgen] Installation of Netgen in SuSE Linux 92

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2006, 04: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, 09: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, 09: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, 07:12
Default hello, I see that the thread
  #24
Senior Member
 
Pawel Sosnowski
Join Date: Mar 2009
Location: Munich, Germany
Posts: 105
Rep Power: 18
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
installation Problem - Linux distribution (Not a meshing problem) v_herw Pointwise & Gridgen 2 June 20, 2016 15:47
[OpenFOAM.org] OpenFOAM 2.3.1 installation on SUSE Linux Enterprise 12 harsha_kulkarni OpenFOAM Installation 17 November 16, 2015 04:06
OpenFoam 2.3.0 installation on SUSE Linux Enterprise Server 11 sherif35 OpenFOAM Installation 4 July 7, 2014 13:22
Dual Boot Windows and Linux and Go Open Source andyj Main CFD Forum 2 October 21, 2010 17:49
Installing OpenFOAM on SuSE Linux 91 Lars Edvardsen (Edvardsen) OpenFOAM Installation 2 January 10, 2005 03:26


All times are GMT -4. The time now is 23:46.