cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
YourQS
Booster

Cannot generate example projects for AC27

I am trying to set up the CMake environment for AC27 example projects


I have followed the web example of how to set up the CMake environment, but without success:

Clone the repo with

git clone (message won't allow me to insert html) --recurse-submodules

Run the build script

python Tools/BuildAddOn.py --configFile config.json --acVersion 26 27

 

I get the following output:

Downloading API.Development.Kit.WIN.26.7000.zip

Extracting API.Development.Kit.WIN.26.7000.zip

Downloading API.Development.Kit.WIN.27.3001.zip

Extracting API.Development.Kit.WIN.27.3001.zip

[WinError 2] The system cannot find the file specified


This indicates that I have downloaded the repo fine, because it finds the tools folder and the Python script. The problem is I have no idea what "the file specified" is, because there is no log file. Running the script in verbose mode gives me this:

import 'tarfile' # <_frozen_importlib_external.SourceFileLoader object at 0x000001BB2FD06D50>
[WinError 2] The system cannot find the file specified

 

Can anyone help with getting the example projects set up?

1 Solution

Accepted Solutions
YourQS
Booster

Hi, Chris has helped me with this issue and it is now resolved.   The problem was I didn't have a path to CMake.exe

Go to post

4 Replies 4
Archein
Contributor

Have you ever add your python to the path in enviroment variables.

YourQS
Booster

Hi, yes I have.

Hiromichi Shinkawa
Graphisoft
Graphisoft

Hi, Could you login from Archicad API site and download Devkit from web?

 

YourQS
Booster

Hi, Chris has helped me with this issue and it is now resolved.   The problem was I didn't have a path to CMake.exe

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!