Error on configuring and building the code

Hi everyone!
Using this tutorial I tried to build and configure the code in cygwin using the following command:

/cygdrive/c/sources/libo-core/autogen.sh
–with-external-tar=/cygdrive/c/sources/lo-externalsrc
–with-junit=/cygdrive/c/sources/junit-4.10.jar
–with-ant-home=/cygdrive/c/sources/apache-ant-1.9.5
–enable-pch --disable-ccache \

I get the following error: checking Visual C++… found: D:\Visual Studio Community
configure: error: converted path “D:/Visual Studio Community/” still contains spaces. Short filenames (8.3 filenames) support was disabled on this system?
Error running configure at /cygdrive/c/sources/libo-core/autogen.sh line 296.

If somebody know the answer please help, I tried everything like allowing short filenames in cmd and in the cygwin terminal and I still get the error :frowning:

Thank you!