cancel
Showing results for 
Search instead for 
Did you mean: 
EN
cancel
Showing results for 
Search instead for 
Did you mean: 
Fatih Emre Kursun
Participant

CMake Failed to detect Archicad version (C++ Addon)

Hi,

 

When i try to enter this commands;

 

mkdir Build

cd Build
cmake -G "Visual Studio 16 2019" -A "x64" -DAC_API_DEVKIT_DIR="C:\API Development Kit 25.3002" ..
cd ..

 

I'm getting this error and i couldnt solve it;

 

C:\ArchicadAddonCmake\Build>cmake -G "Visual Studio 16 2019" -A "x64" -DAC_API_DEVKIT_DIR="C:\API Development Kit 25.3002" ..
CMake Error at CMakeLists.txt:59 (message):
Failed to detect Archicad version, please check the value of the
AC_API_DEVKIT_DIR variable.


-- Configuring incomplete, errors occurred!

 

Can you help me please

 

 

 

1 Solution

Accepted Solutions
Fatih Emre Kursun
Participant

Okey solved,

 

i added \Support and now working 

Like this;

mkdir Build
cd Build


cmake -G "Visual Studio 16 2019" -A "x64" -DAC_API_DEVKIT_DIR="C:\Program Files\Graphisoft\API Development Kit 25.3002\Support" ..
cd ..

 

 

Go to post

1 Reply 1
Fatih Emre Kursun
Participant

Okey solved,

 

i added \Support and now working 

Like this;

mkdir Build
cd Build


cmake -G "Visual Studio 16 2019" -A "x64" -DAC_API_DEVKIT_DIR="C:\Program Files\Graphisoft\API Development Kit 25.3002\Support" ..
cd ..

 

 

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!