|
[Sponsors] |
June 15, 2010, 03:51 |
problems with compiling self defined class
|
#1 |
New Member
Victor Fleischer
Join Date: Nov 2009
Posts: 21
Rep Power: 16 |
Hi at all,
i tried to implement my own class(class Tracing) which follows the flameFront and writes the current position of the flame to a file. So i wrote two files: Tracing.H Tracing.C After including flameTrace.H in my solver and creating an Object of this class by ... Tracing flameTip; ... and using the two methods for following the flame and write the position to the file, by: flameTip.follow(); ... flameTip.write(); I allways get this error message while compiling the solver: Make/linux64GccDPOpt/reactingTotalFoamFE2.o: In function `main': reactingTotalFoamFE2.C.text+0x338f): undefined reference to `main::Tracing::Tracing()' reactingTotalFoamFE2.C.text+0x9bdf): undefined reference to `main::Tracing::~Tracing()' reactingTotalFoamFE2.C.text+0xa74b): undefined reference to `main::Tracing::follow()' reactingTotalFoamFE2.C.text+0xa79e): undefined reference to `main::Tracing::writeToFile()' reactingTotalFoamFE2.C.text+0xdb2a): undefined reference to `main::Tracing::~Tracing()' collect2: ld returned 1 exit status make: *** [/nfs/home/fleischer/OpenFOAM/fleischer-1.6.x/applications/bin/linux64GccDPOpt/reactingTotalFoamFE2] Error 1 I don't know what "undefined reference to main::Tracing::....." shoud mean!? Can anybody help me please! Thanks a lot in advance! Victor |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM13 for Mac OSX Darwin 104 | hjasak | OpenFOAM Installation | 70 | September 24, 2010 05:06 |
Problems compiling under 14 | grtabor | OpenFOAM Running, Solving & CFD | 9 | July 17, 2007 22:34 |
User Defined Scalars - Returning Values | Carlos V. | FLUENT | 0 | April 19, 2006 18:18 |
Some problems with Star CD | Micha | Siemens | 0 | August 6, 2003 13:55 |
Compiling | MON | FLUENT | 0 | October 20, 2002 20:48 |