Error compiling Project Generator in Linux Mint 64bits

There is an error when compiling the project generator, this is what it says:

Compiling projectGenerator for Release
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal openssl libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
make[1]: Entering directory `/home/adrian/Documentos/of_v0.9.3_linux64_release/apps/projectGenerator/commandLine'
/bin/sh: 1: cannot create obj/linux64/Release/.compiler_flags: Permission denied
make[1]: *** [obj/linux64/Release/.compiler_flags] Error 2
make[1]: Leaving directory `/home/adrian/Documentos/of_v0.9.3_linux64_release/apps/projectGenerator/commandLine'
make: *** [Release] Error 2
make: Leaving directory `/home/adrian/Documentos/of_v0.9.3_linux64_release/apps/projectGenerator/commandLine'

Do you people know any way around this? I know there is some permission denial, but I don’t know why, I’m compiling like this:

./compilePG.sh