CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   OF2.2.2 in Mac 10.9_error of compiling new solver (https://www.cfd-online.com/Forums/openfoam-programming-development/128973-of2-2-2-mac-10-9_error-compiling-new-solver.html)

Ran Sui January 25, 2014 09:59

OF2.2.2 in Mac 10.9_error of compiling new solver
 
Hello dear all,

Thanks to the great work of http://openfoamwiki.net/index.php/In...OpenFOAM_2.2.2, I have successfully installed OpenFOAM v2.2.2 in my Mac 10.9. I did everything exactly the same as the instruction, and tested fine with the simple tutorial 'cavity'.

Then comes the error when I tried to implement my own solver and library. I firstly just copied a icoFoam to my RUN directory and modified the make/files to

myIcoFoam.C
EXE = $(FOAM_USER_APPBIN)/myIcoFoam

and then wclean, wmake.
Then I get the error:
make: *** No rule to make target `myIcoFoam.dep', needed by `Make/darwinIntel64Gcc46DPOpt/dependencies'. Stop.

Any help or hint will be greatly appreciated. Thanks!

Cheers,
Ran

alexeym January 25, 2014 10:51

Hi,

And did you rename icoFoam.C to myIcoFoam.C?

Ran Sui January 25, 2014 11:00

Hi Alexey,

Merci beaucoup! That's it!

I'm just too nervous with the new OS and the OF installation, and didn't notice such a stupid mistake. :)

Thanks,
Ran


All times are GMT -4. The time now is 03:49.