|
[Sponsors] |
[Netgen] Compiling Netgen on Fedora Core is driving me crazy |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 8, 2007, 05:26 |
Compiling Netgen on Fedora Core is driving me crazy
|
#1 |
Member
Jan Goebel
Join Date: Mar 2009
Location: Mannheim, Baden Wuerttemberg, Germany
Posts: 35
Rep Power: 17 |
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 |
|
November 8, 2007, 06:26 |
Hi Jan,
you can find useful
|
#2 |
Member
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17 |
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 |
|
November 8, 2007, 07:10 |
Hello Jan,
A Good day to yo
|
#3 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
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 |
|
November 9, 2007, 14:29 |
Hello again,
I think Tommas
|
#4 |
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 552
Rep Power: 25 |
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 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
solving a conduction problem in FLUENT using UDF | Avin2407 | Fluent UDF and Scheme Programming | 1 | March 13, 2015 03:02 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
Error compiling 1.6.x on Fedora 12 | vnpenguin | OpenFOAM Installation | 7 | July 24, 2012 15:52 |
FEDORA CORE and PARALLEL processing | Tuks | CFX | 2 | August 20, 2005 12:05 |
FEDORA core 2 and FLUENT | tuks | FLUENT | 2 | July 13, 2005 01:23 |