CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

Problems with compiling in qtcreator

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2014, 04:48
Default Problems with compiling in qtcreator
  #1
New Member
 
Josh Dyson
Join Date: Mar 2011
Posts: 21
Rep Power: 15
jd210 is on a distinguished road
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
jd210 is offline   Reply With Quote

Old   April 7, 2014, 04:40
Default
  #2
New Member
 
Josh Dyson
Join Date: Mar 2011
Posts: 21
Rep Power: 15
jd210 is on a distinguished road
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?
jd210 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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 07:27
Problems compiling OpenFOAM15 on Debian Etch geoffjay OpenFOAM Installation 1 February 5, 2009 16:29
Problems while compiling OpenFOAM15 with OpenSuse 103 coompressor OpenFOAM Installation 3 November 7, 2008 00:57
Problems compiling under 14 grtabor OpenFOAM Running, Solving & CFD 9 July 17, 2007 22:34
Problems with compiling CFD code! ravi Main CFD Forum 1 July 12, 2004 11:28


All times are GMT -4. The time now is 23:21.