Blizzard / s2client-api

StarCraft II Client - C++ library supported on Windows, Linux and Mac designed for building scripted bots and research using the SC2API.
MIT License
1.66k stars 281 forks source link

tutorial.cc isn't what is described #111

Closed Skarlso closed 7 years ago

Skarlso commented 7 years ago

So, the startup guid says this:

Open the file examples/tutorial.cc, this is where you'll be adding your code. It is already setup with the necessary include paths and links the api.

The said cc is this:

int main(int /*argc*/, char* /*argv*/[]) {
    return 0;
}

I feel like it's missing a couple of things. :P

kuzi117 commented 7 years ago

Are you trying to say it's missing include paths and links? I think it's taking about that cmake is already set up to compile it correctly. That is, it has your include paths set up and links the correct API targets against the tutorial, not that includes are in the file

Skarlso commented 7 years ago

Oooh, I see. The linker is setup to create the executable and things like that. I misunderstood that part than. Thanks.