2022-10-21 10:44 AM - edited 2022-10-22 10:19 PM
When I try to open element_text I get an error.
What should I do?
Solved! Go to Solution.
2022-10-21 01: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-21 05:01 PM - edited 2022-10-23 01:32 AM
no problem
2022-10-21 05:44 PM
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-21 09:27 PM
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 06:13 AM - edited 2022-10-23 01:49 AM
....
2022-10-22 06:30 AM
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 07:34 AM - edited 2022-10-23 01:31 AM
no problem
2022-10-22 07:41 AM
Did you try to "Rebuild All" after changing the CMakeLists.txt?
2022-10-22 09:22 PM
I succeeded in changing everything in visual studio to english. I hope to see you again.