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

Compiling Netgen on Fedora Core is driving me crazy

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 8, 2007, 05:26
Default Hello Everybody, I am tryin
  #1
New Member
 
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 24
Rep Power: 8
jango is on a distinguished road
Hello Everybody,

I am trying to compile the netgen scources from
http://www.hpfem.jku.at/netgen/
on a Fedora Core 6- System without success. after setting the Environment variables and adding the
missing line in meshtype.hpp (class mesh;), as described in the OF-Message Board thread "Installation of Netgen in SuSE Linux 9.2" I still have problems compiling the togl- module receiving the following error messages:

./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1259: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1260: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1267: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1269: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1280: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1281: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1281: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1285: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1289: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1289: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1290: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1290: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1296: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1301: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1304: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp:1304: error: invalid use of incomplete type 'struct Togl'
./libsrc/include/../../togl/togl.h:152: error: forward declaration of 'struct Togl'
togl/togl.cpp: In function 'int Togl_MakeWindowExist(Togl*)':
togl/togl.cpp:1366: error: 'TkWindow' was not declared in this scope
togl/togl.cpp:1366: error: 'winPtr' was not declared in this scope
togl/togl.cpp:1366: error: expected primary-expression before ')' token
togl/togl.cpp:1366: error: expected `;' before 'togl'
togl/togl.cpp:1367: error: 'winPtr2' was not declared in this scope
togl/togl.cpp:1395: error: invalid use of incomplete type 'struct Togl'

I don` t know what the problem is, can anyone of you help me please ? Or does anybody have the same problems ??

thank you,

Jan
jango is offline   Reply With Quote

Old   November 8, 2007, 06:26
Default Hi Jan, you can find useful
  #2
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 82
Rep Power: 8
lucchini is on a distinguished road
Hi Jan,

you can find useful info on some forums. Just type something like "netgen togl fedora" on google and you can find what you need.

However, I managed to compile netgen. If you have an ftp site I can upload there my modified version.

Bye

Tommaso
lucchini is offline   Reply With Quote

Old   November 8, 2007, 07:10
Default Hello Jan, A Good day to yo
  #3
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello Jan,

A Good day to you!

I have been using Netgen since Fedora Core 5 (currently running on Fedora 7, and will be shifting to Fedora 8).

I am currently at work, but once I get back home this evening, I can give you the settings I use for compiling netgen from CVS.

I recompile netgen quite often, so we should be able to solve the problems you have.

Enjoy!

Philippose
philippose is offline   Reply With Quote

Old   November 9, 2007, 14:29
Default Hello again, I think Tommas
  #4
Senior Member
 
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 530
Rep Power: 16
philippose will become famous soon enough
Hello again,

I think Tommaso's idea would be the best in my case too... I have made the required modifications for compiling Netgen v4.5 on Fedora 7, and have also enabled the OpenCascade support which allows for the import of STEP/IGES data.

It might be easier to just zip it up and post it somewhere rather than trying to explain the process (unless you really want to know :-)!)... its not too complex at all...!

Philippose
philippose 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
fluent on fedora core 6 Jeferson FLUENT 7 February 9, 2007 15:43
Netgen under fedora 5 joegi Open Source Meshers: Gmsh, Netgen, CGNS, ... 1 June 15, 2006 17:04
fluent amd 64 and fedora core 5 nikos FLUENT 1 April 11, 2006 09:21
FEDORA CORE and PARALLEL processing Tuks CFX 2 August 20, 2005 11:05
FEDORA core 2 and FLUENT tuks FLUENT 2 July 13, 2005 00:23


All times are GMT -4. The time now is 15:17.