Showing results for 
Search instead for 
Did you mean: 
Showing results for 
Search instead for 
Did you mean: 
Developer forum

When I try to open cmakelist.txt for element_test I get an error.







When I try to open element_text I get an error.
What should I do?



AC25 5010 / AC26 4019 on window 11

Karl Ottenstein

Since I don't know of anyone who speaks Korean here other than you, perhaps you could translate the error message?  There's no reason that any .txt file should not open, much less a makefile ... unless you have a permissions problem.


One of the forum moderators   •   AC 26 USA and earlier   •   macOS Ventura 13.2, iMac Pro 10-Core, Radeon Pro Vega 64

no problem

AC25 5010 / AC26 4019 on window 11

I'll try saying it another way:  why do you think anyone here can read your Korean screenshots and offer help?  Please translate any screenshots containing Korean, or if not possible, find a Korean C++ dev forum to seek assistance since you are new to C++ and the development process.


An active developer here might be able to address the between-the-lines issue of why you cannot just use CMake and had to install a Linux subsystem.

One of the forum moderators   •   AC 26 USA and earlier   •   macOS Ventura 13.2, iMac Pro 10-Core, Radeon Pro Vega 64


Builds ok here on Visual Studio 2019:

>------ Build All started: Project: Element_Test, Configuration: x64-Debug ------
  [1/23] Compiling resources...
  Microsoft (R) Windows (R) Resource Compiler Version 10.0.10011.16384
  Copyright (C) Microsoft Corporation.  All rights reserved.
  [2/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Modify_Polygon.cpp.obj
  [3/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Modify_ChangeParameters.cpp.obj
  [4/23] Building CXX object CMakeFiles\AddOn.dir\Src\APISpeedTest.cpp.obj
  [5/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Edit.cpp.obj
  [6/23] Building CXX object CMakeFiles\AddOn.dir\Src\APICommon.c.obj
  [7/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Hotlink.cpp.obj
  [8/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Batch_Create.cpp.obj
  [9/23] Building CXX object CMakeFiles\AddOn.dir\Src\Dumper.cpp.obj
  [10/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Modify_2DElements.cpp.obj
  [11/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Basics.cpp.obj
  [12/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Set.cpp.obj
  [13/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_SolidLink.cpp.obj
  [14/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Modify_ModelElements.cpp.obj
  [15/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Modify_Dimensions.cpp.obj
  [16/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Test.cpp.obj
  [17/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Tools.cpp.obj
  [18/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Tips.cpp.obj
  [19/23] Building CXX object CMakeFiles\AddOn.dir\Src\PropertyUtils.cpp.obj
  [20/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Snippets.cpp.obj
  [21/23] Building CXX object CMakeFiles\AddOn.dir\Src\Element_Trim.cpp.obj
  [22/23] Building CXX object CMakeFiles\AddOn.dir\Src\UserItemDialog.cpp.obj
  [23/23] Linking CXX shared library Element_Test.apx

Build All succeeded.


Can you share your CMakeLists.txt? (first 25 lines should help)



AC25 5010 / AC26 4019 on window 11

Change line# 6/7 to:


target_compile_options (${target} PUBLIC /W2 /wd4996 /Zc:wchar_t-)


You need "C++ CMake tools for Windows", which you already seem to have. You don't need a Linux Dev. Environment.

no problem

AC25 5010 / AC26 4019 on window 11

Did you try to "Rebuild All" after changing the CMakeLists.txt?

I succeeded in changing everything in visual studio to english. I hope to see you again.

AC25 5010 / AC26 4019 on window 11

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!