HaxeFoundation / HaxeFoundation/hxcpp

Hxcpp thinks it's trying to compile to Linux GCC despite MSVC already installed

Open
#510 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
330
Forks
227
Avg merge
2d 16h
Merged PRs (30d)
18

Description

Ever since I opened the Multitouch demo project from flixel-demos to compile to Android, my build has failed, with the error message basically saying there's a missing stddef.h file.

However, once I got to look at hxcpp.h I saw that it was attempting to compile through Linux GCC, skipping the #if MSC_VER condition. I already have installed MSVC (it recognized VC2012) as I previously posted in [the other issues](https://github.com/HaxeFoundation/hxcpp/issues/492) I've had here, and I've successfully compiled an Android app through it. For some reason however, this time it's unable to detect it in the first place. Am I missing an environment variable? I tried adding MSC_VER with value of 12 or 1200 and nothing changes. I've tried running vcvarsall.bat, vsvars32.bat and vcvars32.bat and other batch files within the Microsoft SDK and Microsoft Visual Studio 12.0 folders, but nothing has changed either? Am I missing something?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.