I have problem with compiling
I have problem with compiling ccm26ToFoam under Ubuntu x64 8.10,
wmake ccm26ToFoam SOURCE=ccm26ToFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1 -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o In file included from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/syslimits.h:7, from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/limits.h:11, from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/climits:48, from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/label.H:38, from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:36, from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/ListOps.H:40, from ccm26ToFoam.C:36: /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/limits.h:122:61: error: limits.h: No such file or directory In file included from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux -gnu/bits/os_defines.h:44, from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/x86_64-unknown-linux -gnu/bits/c++config.h:40, from /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/../../../../include/c++/4.3.1/cstdlib:48, from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/label.H:39, from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/labelList.H:36, from /home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/ListOps.H:40, from ccm26ToFoam.C:36: /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/features.h:331:25: error: sys/cdefs.h: No such file or directory /home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/bin/../lib/gcc/x 86_64-unknown-linux-gnu/4.3.1/include-fixed/features.h:354:23: error: gnu/stubs.h: No such file or directory in the specified location (/home/kprzysowa/OpenFOAM/ThirdParty/gcc-4.3.1/platforms/linux64/lib/gcc/x86_64- unknown-linux-gnu/4.3.1/include-fixed) I have the limits.h file and the permissions (read/write) for it are given. What does /../ mean?, I thought it was hidden part of the path but /platforms/linux64/bin/../lib/gcc/ in my system is /platforms/linux64/lib/gcc/. Should I have limits.h file in /platforms/linux64/bin/ location as well? Please advise proper solution. |
I have an update. I have manag
I have an update. I have managed to solve the problem by instlling:
build-essentials package for my system. Unfortunately I have stacked again: kprzysowa@larix:~/OpenFOAM/OpenFOAM-1.5/applications/utilities/mesh/conversion/Optional$ wmake ccm26ToFoam/ SOURCE=ccm26ToFoam.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/finiteVolume/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1 -I/home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1/lnInclude -IlnInclude -I. -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/home/kprzysowa/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/ccm26ToFoam.o ccm26ToFoam.C:47:19: error: ccmio.h: No such file or directory ccm26ToFoam.C:164: error: variable or field 'CheckError' declared void ccm26ToFoam.C:164: error: 'CCMIOError' was not declared in this scope ccm26ToFoam.C:164: error: expected primary-expression before 'const' make: *** [Make/linux64GccDPOpt/ccm26ToFoam.o] Error 1 I have the ccmio.h file in: /home/kprzysowa/OpenFOAM/ThirdParty/libccmio-2.6.1/libccmio location. I do not know why wmake doesn't "see" it. Should I change any variable? |
I have resolved the problem us
I have resolved the problem using the following post:
http://www.cfd-online.com/OpenFOAM_D...tml?1219661051 |
hi people,
I HAVE,A MODEL C
hi people,
I HAVE,A MODEL CREATED USING ccm+ 3.04 VERSION ....I MA TRYING TO IMPORT IT TO OPENFOAM BT PROBLEM IS I DIDNT FIND ANY ccm26ToFoam FOLDER IN UTEITIES/MESH/CONVERTION.... CAN ANY ONE PLEASE SEN ME THIN UTELITY FILE.... THANKS VISHAL |
it should be there:
$HOME/Ope
it should be there:
$HOME/OpenFOAM/OpenFOAM-1.5/applications/utilities/mesh/conversion/Optional/ccm2 6ToFoam |
Hi,
i checked it it but i d
Hi,
i checked it it but i didnt get it....is there any other way to get it....can u please send ccm26tofoam folder to me.... Thanks Vishal |
hi i put it there but it stll
hi i put it there but it stll says bad command.....i am using ccm 3.04 version ....do this makes any difference...and yes thanks for instant reply....actually in user guide also no infor mation is given about syntax for command...i tried folloeing syntax..
ccm26ToFoam Prism.ccm isthis the right syntax... Thanks Vishal |
You need to compile ccm26ToFoam
I am sorry I did not notice your replays.
ccm26ToFoam is not precompiled in default installation. So you need to complile it first. check 'wmake' keyword in user guide |
All times are GMT -4. The time now is 09:40. |