Compiling Netgen on Fedora Core is driving me crazy
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 |
Hi Jan,
you can find useful
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 |
Hello Jan,
A Good day to yo
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 |
Hello again,
I think Tommas
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 |
All times are GMT -4. The time now is 05:40. |