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)

#2282
mathias
Keymaster

Hi WopenLB,rnrnThanks for reporting. We tried to reproduce your case in two different systems using cgywin, gcc and openmpi. However, in both cases it was working fine. rnrnI found this https://github.com/simhacker/micropolis/issues/10 which points in the direction that there might be a problem with the includes.rnrnYou can try changing this part in the file singleton.h: rnrn#ifdef _WIN32rn#include <direct.h>rn#else //f defined __linux__rn#include <sys/stat.h>rn#endifrnrnremoving all line with “”#”” or maybe change #ifdef _WIN32 to a 64-bit version since it looks like you are working on a 64-bit machine.rnrnPlease, let us know what you find because it might be of interest for others as well.rnrnBestrnMathias