PaulCombal / SamRewritten

Steam Achievement Manager For Linux. Rewritten in C++.
GNU General Public License v3.0
321 stars 29 forks source link

Makefile: Cannot compile with spaces in path #129

Closed Arcitec closed 2 years ago

Arcitec commented 2 years ago

You will see errors such as these when you run make:

/usr/bin/ld: cannot find Party/SamRewritten/bin/samrewritten: No such file or directory
/usr/bin/ld: cannot find Party/SamRewritten/bin: No such file or directory
/usr/bin/ld: cannot find -lsteam_api
collect2: error: ld returned 1 exit status
make: *** [Makefile:47: /home/foobar/Code/Third] Error 1

Solution: Don't use spaces in path. make doesn't support spaces. There's nothing SamRewritten can do about that.

Arcitec commented 2 years ago

I just made this to document the issue for others who may search for it later.