2022-10-21 07:44 PM - edited 2022-10-23 07:19 AM
When I try to open element_text I get an error.
What should I do?
Solved! Go to Solution.
2022-10-23 10:45 AM - edited 2022-10-23 03:13 PM
A stranger in Korea offered to help me, so I took the time to solve it remotely.
I couldn't find an article saying that I have to install python and he said that python was not installed, and installing python solved the problem.
2022-10-21 10:00 PM
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.
2022-10-22 02:01 AM - edited 2022-10-23 10:32 AM
no problem
2022-10-22 02:44 AM
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.
2022-10-22 06:27 AM
Builds ok here on Visual Studio 2019:
>------ Build All started: Project: Element_Test, Configuration: x64-Debug ------
[1/23] Compiling resources...
Element_Test.grc
Element_TestFix.grc
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)
2022-10-22 03:13 PM - edited 2022-10-23 10:49 AM
....
2022-10-22 03:30 PM
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.
2022-10-22 04:34 PM - edited 2022-10-23 10:31 AM
no problem
2022-10-22 04:41 PM
Did you try to "Rebuild All" after changing the CMakeLists.txt?
2022-10-23 06:22 AM
I succeeded in changing everything in visual studio to english. I hope to see you again.