CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   compile ccm26ToFoam (http://www.cfd-online.com/Forums/openfoam/86429-compile-ccm26tofoam.html)

DiegoNaval March 22, 2011 14:06

compile ccm26ToFoam
 
Hi
I have a little problem, I have installed OF1.7.1 from the repository of Ubuntu.
Now I must compile the ccm26ToFoam but it do not works.
-----------------------------------------------------------------------------------------
diego@diego-desktop:~/Scrivania/OpenFOAM/diego-1.7.1/applications/ccm26ToFoam$ wmake
SOURCE=ccm26ToFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/opt/openfoam171/src/finiteVolume/lnInclude -I/opt/openfoam171/src/meshTools/lnInclude -I/opt/ThirdParty-1.7.1/libccmio-2.6.1 -I/opt/ThirdParty-1.7.1/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o
ccm26ToFoam.C:46:19: error: ccmio.h: Nessun file o directory
ccm26ToFoam.C:163: error: variable or field ‘CheckError’ declared void
ccm26ToFoam.C:163: error: ‘CCMIOError’ was not declared in this scope
ccm26ToFoam.C:163: error: expected primary-expression before ‘const’
make: *** [Make/linux64GccDPOpt/ccm26ToFoam.o] Errore 1
------------------------------------------------------------------------------------------------

I need to install libccmio.
Where I can find it? I haven't the ThirdParty directory.

Thank a lot.

Diego

wyldckat March 22, 2011 18:32

Greetings Diego,

I've personally reported that bug a few months ago and the fix for it is in the links in the bug report: http://www.openfoam.com/mantisbt/view.php?id=61

Best regards and good luck!
Bruno

DiegoNaval March 23, 2011 11:37

Hi Bruno
Thank you very much! Now it works well!

Diego


All times are GMT -4. The time now is 02:57.