Skip to content

Re: Cannot compile the examples using “make” with Cygwin (no object file)

OpenLB – Open Source Lattice Boltzmann Code Forums on OpenLB General Topics Cannot compile the examples using “make” with Cygwin (no object file) Re: Cannot compile the examples using “make” with Cygwin (no object file)

#2290
John
Member

Hi Thomas,rnI removed minw64, Cygwin and OpenLB, reinstalled Cygwin and OpenLB. There are extraction errors (Unable to extract /usr/bin/ — corrrupt package?””) during the installation of “make” and “gcc”. Click “OK” the installation will continue and the installation was finished.rnrnRunning make produces permission error, see the outputs below. The folder “Temp” has all the rwx permissions. I also changed the permission of folder “Local” using “chmod –R 777”. But it does not fix the problem. Thanks,rnrnFolder “Temp” permission:rndrwxrwxrwx 1 0 Mar 17 14:54 TemprnrnOutputs error:rnrn$ makernCreate dependencies for cylinder2d.cpprnCompile cylinder2d.cpprng++ -DOLB_PRECOMPILED -O3 -Wall -std=c++0x -I../../src -I../../src/ -I../../src/external -c cylinder2d.cpp -o /cygdrive/d/Research01/SRV_resonance/LBcode/OpenLB/olb-1.0r0/examples/cylinder2d/cylinder2d.orncc1plus: fatal error: can’t open ‘/cygdrive/d/Users/204052~1/AppData/Local/Temp/ccVp8J3H.s’ for writing: Permission deniedrncompilation terminated.rnMakefile:63: recipe for target ‘/cygdrive/d/Research01/SRV_resonance/LBcode/OpenLB/olb-1.0r0/examples/cylinder2d/cylinder2d.o’ failedrnmake: *** [/cygdrive/d/Research01/SRV_resonance/LBcode/OpenLB/olb-1.0r0/examples/cylinder2d/cylinder2d.o] Error 1rnrn