HaxeFoundation / HaxeFoundation/hxcpp
msvc detection bat scripts do not work.
- Dominant language
- C++
- Stars
- 330
- Forks
- 227
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 18
Description
i know this is probably like the 5th issue like this but i couldn't find a solution to my specific issue in any other ones.
sorry in advance if i didn't look hard enough and it's a dupe.
my machine has visual studio community 2019 installed, and i have vswhere installed using winget. the bat scripts still fails.
also, the vswhere command in the bat file works properly, it outputs the correct path to vs which is E:\!fuckunity\vs.
also also i just realized that maybe the ! in the path may be an issue and i'm just a doofus. though it isn't an issue with unity and executing it manually in cmd works.
i don't really want to try installing it into a dir without bad symbols because that'd require way too much effort. ,_,
hope the output below helps.
```
# Myachick @ maskpc in D:\Myachick\Desktop\owehgpiwrghpiweg [02:08:14]
$ haxe --main Main --cpp cpp
haxelib run hxcpp Build.xml haxe -Dhaxe="4.2.5" -Dhaxe3="1" -Dhaxe4="1" -Dhaxe_ver="4.205" -Dhxcpp_api_level="400" -Dhxcpp_smart_strings="1" -Dsource_header="Generated by Haxe 4.2.5" -Dstatic="1" -Dtarget.name="cpp" -Dtarget.static="true" -Dtarget.sys="true" -Dtarget.threaded="true" -Dtarget.unicode="true" -Dtarget.utf16="true" -Dutf16="1" -I"" -I"E:\\HaxeToolkit\\haxe\\extraLibs/" -I"E:\\HaxeToolkit\\haxe\\std/cpp/_std/" -I"E:\\HaxeToolkit\\haxe\\std/"
D:\Myachick\Desktop\owehgpiwrghpiweg\cpp>setlocal enabledelayedexpansion
Warning: Could not find Visual Studio 2017 VsDevCmd
Missing HXCPP_VARS
Error: Could not automatically setup MSVC
Error: Build failed
```
don't mind that i'm running this in pwsh, it still outputs the same in cmd.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.