|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 24
Rep Power: 6 ![]() |
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 |
|
|
|
|
|
|
|
|
#2 |
|
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 80
Rep Power: 6 ![]() |
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 |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 509
Rep Power: 13 ![]() |
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 |
|
|
|
|
|
|
|
|
#4 |
|
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 509
Rep Power: 13 ![]() |
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 |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| fluent on fedora core 6 | Jeferson | FLUENT | 7 | February 9, 2007 14: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 |