-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix -G "Unix Makefiles" for linux cmake commnad #1618
Conversation
Hey, that line has a typo. it should be ``-G "Unix Makefiles"``. Without this line you get: ``` $ cmake .. -G Makefile -DCMAKE_BUILD_TYPE=Release CMake Error: Could not create named generator Makefile Generators * Unix Makefiles = Generates standard UNIX makefiles. Green Hills MULTI = Generates Green Hills MULTI files (experimental, work-in-progress). ... ``` Also - do you know where the binaries are actually built to? I can find it
There is a bigger problem with that cmake command, it's making you think you have to use a specific generator to build, that's just plain wrong! Remove the generator argument entirely, there is no generator specific arguments passed so its fine to do that, cmake will choose the default generator installed on the system. It's less confusing that way. |
Listen to the guy above. I'm pretty sure his fork fixes it. |
I did, i'm saying it can be better. Literally removing the |
I was thinking that too, but thought someone wanted to make it more explicit for some reason, can close and open a new one for that. |
As suggested in ValveSoftware#1618 , removing flags that are not required
Closing, see #1619 |
That works |
@okawo80085 Feel free to comment there :) |
Will do! |
Hey, that line has a typo. it should be
-G "Unix Makefiles"
.Without this line you get:
Also
./samples/bin/linux64/helloworldoverlay
I had to search for that too.-DCMAKE_PREFIX_PATH=
is not required in most distr