Closed MinhDuc21 closed 1 year ago
Sorry, this is not indicated in the readme: you need to append the -project parameter before the project path, for example:
"./build.ps1"
-project "."
-system "native"
-build "release"
-native_compiler_c "cl"
-native_compiler_cxx "cl"
The name of the MSVC compiler is CL, not MSVC, and you need to configure the appropriate environment variables, see MSDN for this.
Sorry to bother you again but after I change the command, I got these errors:
Could you help me with this? Thank you.
you need use powershell's call operator if you invoke a script file with quoted string, like this: & "./build.ps1" -project "." -system "native" -build "release" -native_compiler_c "cl" -native_compiler_cxx "cl"
After I changed the command, I got this error again:
I want to build the Shell according to the README.md in \Shell. But I keep getting this error:
Here is my command: ./build.ps1 C:\Users\Admin\Desktop\TwinKleS.ToolKit-master\Shell -system native -build debug -native_compiler_c msvc -native_compiler_cxx msvc
Can you tell me what's wrong in it? I'm using a Windows device