|
[Sponsors] |
April 4, 2014, 05:48 |
Problems with compiling in qtcreator
|
#1 |
New Member
Josh Dyson
Join Date: Mar 2011
Posts: 21
Rep Power: 15 |
Hello Foamers,
After spending some time trying to work with OpenFOAM in eclipse I gave up because it has too many problems. Qt creator has less problems but I can't get it to compile. I used the tutorial on the OpenFOAM wiki. During compilation it seems unable to find the shared libraries, they are listed in the Qt creator include file as "/opt/openfoam222/platforms/linux64GccDPOpt/libfourPhaseMixture \" etc and in the make folder options file as " -lfourPhaseMixture \" etc. The console output is as follows: /usr/bin/ld: cannot find -lfourPhaseMixture I've tried changing the options file but it continues to say things can't be found even though the locations of the things it can't find are in the includes file and options file. Can anyone think of what I've done wrong? p, li { white-space: pre-wrap; }/usr/bin/ld: cannot find -lfourPhaseMixture |
|
April 7, 2014, 05:40 |
|
#2 |
New Member
Josh Dyson
Join Date: Mar 2011
Posts: 21
Rep Power: 15 |
I've fixed most of these issues by replacing the -l on the options file to the directory the shared libraries are located in. However it seems the shared library "OpenFOAM.so" is included by default in the make process. Does anyone know where this is defined so I can change it?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[BEGINNER] Problems running tutorials (incompressible) in OF 2.xx | Jaro | OpenFOAM Running, Solving & CFD | 8 | March 16, 2016 08:27 |
Problems compiling OpenFOAM15 on Debian Etch | geoffjay | OpenFOAM Installation | 1 | February 5, 2009 17:29 |
Problems while compiling OpenFOAM15 with OpenSuse 103 | coompressor | OpenFOAM Installation | 3 | November 7, 2008 01:57 |
Problems compiling under 14 | grtabor | OpenFOAM Running, Solving & CFD | 9 | July 17, 2007 23:34 |
Problems with compiling CFD code! | ravi | Main CFD Forum | 1 | July 12, 2004 12:28 |