|
[Sponsors] |
OpenFOAM-2.2.x: mysql++ error when compiling repository |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 21, 2013, 12:34 |
OpenFOAM-2.2.x: mysql++ error when compiling repository
|
#1 |
Member
Join Date: Jul 2011
Posts: 54
Rep Power: 14 |
Hello everyone,
I have compiled OpenFOAM-2.2.x some times before, because I use it at work. Now I want to install it at my own notebook, but am having problems with that. I started by configuring the environment variables and so on. Now I want to compile the official repository of the 2.2.x version and execute ./Allwmake. First it compiles regularly without any specific errors, but when it comes to the bodyForceDataBase/ directory it outputs something like this (my output is in german so I translated the following): "bodyForceDataBase/openWaterDiagram.H:42:21: Fatal error: mysql++.h: Could not find file or directory. Compilation aborted." This goes on for other header files in this directory and then there are just tons of errors which all seem to be caused by the originial one with mysql++.h. I made sure that mysql-common and mysql-client is installed. But I couldn't get more information out of google regarding this problem. Does anybody have an idea what this could mean? Is there possibly some path set wrong for mysql? Thanks in advance. |
|
August 21, 2013, 13:15 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings A_Pete and welcome to the forum!
If you use the packages.ubuntu.com website, you can find the package that has got that file: http://packages.ubuntu.com/search?se...aring&arch=any It looks like the package missing is "libmysql++-dev". I don't have my OpenFOAM 2.2.x installation with me, so I cannot verify this... but the standard OpenFOAM 2.2.x shouldn't need "mysql" at all!? I'm guessing that "bodyForceDataBase" is already part of your own or your company's code? Best regards, Bruno
__________________
|
|
August 21, 2013, 15:18 |
|
#3 |
Member
Join Date: Jul 2011
Posts: 54
Rep Power: 14 |
Hey wyldckat!
Thank you very much for your fast answer! You are right about both things I forgot to say that my colleagues added some things to the official OF-2.2.x. But the package you noted was exactly the missing piece in my puzzle. After I installed the package, I needed to wcleanAll again and so Allwmake made me compile successfully without errors Thanks again! |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem running OpenFOAM 2.2.x in parallel in Centos 5 | lvalvare | OpenFOAM Running, Solving & CFD | 33 | December 9, 2020 08:44 |
OpenFOAM Patched Version 1.5 via git Repository | OpenFOAM discussion board administrator | OpenFOAM Announcements from ESI-OpenCFD | 0 | August 26, 2008 05:06 |
The OpenFOAM extensions project | mbeaudoin | OpenFOAM | 16 | October 9, 2007 09:33 |
A new Howto on the OpenFOAM Wiki Compiling OpenFOAM under Unix | mbeaudoin | OpenFOAM Installation | 2 | April 28, 2006 08:54 |
Compiling openfoam | zaferleylek | OpenFOAM Installation | 0 | November 7, 2005 07:01 |