We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2023-09-30 08:41 AM - last edited on 2024-09-17 01:00 PM by Doreena Deng
I'm trying to study API in Trier version Archicad 27.
What should I do if this error message appears?
Solved! Go to Solution.
2023-10-02 08:33 AM - edited 2023-10-02 01:50 PM
Things change between versions, and a lot of things depend on whats currently installed on you machine etc.
From the errors you get I would specify the following (in the CMake Settings I mentioned in my previous command):
Edit: Fix actual generator to use.
2023-09-30 09:35 AM
Hi Lee,
You are using some incompatible settings with your CMake generator.
I had the best success with using "Visual Studio 16 2019" or "Visual Studio 17 2022" generators instead of the "Ninja" generator.
Here would be the option if you are using "CMakeSettings.json":
Hope that helps,
Bernd
2023-09-30 06:53 PM - edited 2023-09-30 06:58 PM
How can I access your cmake settings?
How can I access your cmake settings?
genenate is not included.
Python 3.10.11
In settings, the following settings appear.
2023-09-30 07:33 PM - edited 2023-10-01 07:11 AM
I set up what you asked me to do.
Even though I reinstalled it... ^^
I came across these errors:
I want to know what the problem is.
This file was also compiled in archicad 26.
Why does archicad 27 produce this error message?
I need your help.
I am a beginner.
2023-10-02 08:33 AM - edited 2023-10-02 01:50 PM
Things change between versions, and a lot of things depend on whats currently installed on you machine etc.
From the errors you get I would specify the following (in the CMake Settings I mentioned in my previous command):
Edit: Fix actual generator to use.
2023-10-02 01:01 PM - edited 2023-10-02 01:20 PM
thank you
With your help, I was able to study API. ^^
Because compilation failed due to the warning of C2220, I compiled by deleting /WX as shown in the picture below.
Q1. Is it right to do this?
컴파일러 오류 C2220 | Microsoft Learn
I didn't have x64, so I chose win64.
2023-10-02 01:49 PM
Glad I could help!
@LeeJaeYoung wrote:
Because compilation failed due to the warning of C2220, I compiled by deleting /WX as shown in the picture below.
Q1. Is it right to do this?
Yes that works. Alternatively you could keep the /WX
flag and disable this specific warning with adding the flag /wd2220
.
@LeeJaeYoung wrote:
I didn't have x64, so I chose win64.
That's the right one! I mistyped it.
The "-T v142"
should maybe go to the "cmakeCommandArgs" instead of "ctestCommandArgs".
But since it works anyway for you, maybe it's not important.
2023-10-02 03:03 PM
Thank you again for your consideration. ^^
Well then, I hope you have a happy time.
2023-10-02 03:09 PM - edited 2023-10-02 03:12 PM
"The should maybe go to the "cmakeCommandArgs" instead of "ctestCommandArgs""
When I set it like this, this error occurs.
target_compile_options (${target} PUBLIC /W3 /WX /wd2220 /wd4996 /Zc:wchar_t-)
2023-10-02 03:13 PM
Looks like you need to delete your CMake cache and reconfigure CMake. (Project -> Delete Cache and Reconfigure)