Comments (7)
Hi, @slimak2
The problem is written in the output: SC2Api_INCLUDE_DIR-NOTFOUND;SC2Api_Proto_INCLUDE_DIR-NOTFOUND
Please carefully follow instructions in the README.
from commandcenter.
I am following, but i dont now how to set the variables SC2Api_INCLUDE_DIR and SC2Api_Proto_INCLUDE_DIR. i dont see anything in README about those variables. Please tell me in witch step i did mistake.
I tried to set variables as
SC2Api_INCLUDE_DIR="/mnt/minerva1/nlp/projects/ai_in_games19/s2client-api/commandcenter/src:$SC2Api_INCLUDE_DIR"
and as
SC2Api_Proto_INCLUDE_DIR="/mnt/minerva1/nlp/projects/ai_in_games19/s2client-api/commandcenter/src:$SC2Api_Proto_INCLUDE_DIR"
but there was no difference.
from commandcenter.
The variables are set automatically by cmake if it finds required headers in the folders described in readme. Your error means that the api and protobuf headers are not where we expect it to find. Thats why I recommend you recheck the readme and the files copied.
from commandcenter.
Thank you, i see, the problem is that i am installing it on server where i dont have root rights, thats why i moved SC2 API headers and SC2 API libraries in my local folder and i did set CMAKE_LIBRARY_PATH and PATH variables to this location. i was convinced it would work. Can you please give me advice how can i make it work if i dont have root?
from commandcenter.
There are several ways to fix it.
-
You can edit our findSC2Api cmake macro
https://github.com/davechurchill/commandcenter/blob/master/cmake/FindSC2Api.cmake
Search for the 'PATHS' specifications and add there absolute path to your folders. -
You can change the build routine itself (it requires more work): drop findSC2Api macro and specify all the paths manually. The example could be seen in my repository:
https://github.com/alkurbatov/suvorov-bot
In general we should support such case, for example Boost allows to specify custom path to the libs and headers. Please file additional issue regarding it or reopen this one.
from commandcenter.
this is working! thank you so much!
from commandcenter.
@alkurbatov Thanks for the help :)
from commandcenter.
Related Issues (20)
- Linker errors after merging latest changes HOT 5
- Bug with CatalystLE: unable to find all base locations HOT 4
- null self base location HOT 3
- Config file not found? HOT 5
- "corecrt.h" not found? HOT 3
- how can use in online mode? HOT 1
- How do I play against my own AI ? HOT 2
- Expansion Error
- a
- class BWAPI::Race has no member "Protoss" HOT 14
- Segmentation Fault After Game Started HOT 1
- How many kinds of units and buildings CommandCenter can construct? HOT 1
- Cannot open include file: 'cstdio' HOT 5
- cannot open input file 'BWAPI.lib' HOT 1
- COMMANDCENTER: AN SC2 AI BOT on windows HOT 3
- CommandCenter doesn't work with StarCraft 2 >= v4.10 HOT 2
- Default BotConfig.txt Causes Crashes in SC:BW HOT 1
- [Windows] [SC2] Bot unable to build building HOT 5
- malloc: can't allocate region
- Run example of Commandcenter,* homeBase = getPlayerStartingBaseLocation(player) is NULL HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from commandcenter.