BrettMayson / HEMTT

Build System for Arma 3
https://brettmayson.github.io/HEMTT
GNU General Public License v2.0
109 stars 40 forks source link

Build fails on windows #50

Closed BrettMayson closed 5 years ago

BrettMayson commented 5 years ago

HEMTT Version: d4780bdba7ab85038e9a2f10eab86a267ab76741 Project: https://github.com/synixebrett/diwako_dui

Description: armake is throwing a not found error for includes

Steps to reproduce:

HEMTT Output:

error: Failed to build PBO:
Failed to parse config:
Failed to preprocess config:
Failed to preprocess include "script_component.hpp":
File "\z\diwako_dui\addons\main\script_mod.hpp" included from "\\?\C:\Users\Brett\Desktop\diwako_dui\addons\radar\script_component.hpp" not found.
BrettMayson commented 5 years ago

Works with other mods I have on my windows machine, just not this one. I couldn't find any differences between them. I think this might be an armake2 issue. The mod builds fine using the really old HEMTT and armake1.

jokoho48 commented 5 years ago

armake2 builds it fine without crashes on Windows but it throws 2 warnings

$ .\armake2.exe build -i "include" .\addons\main\ dui_main.pbo
$ In file .\addons\main\config.cpp:4: warning: String value "main" is not quoted properly. [unquoted-string]
$ In file .\addons\main\config.cpp:12: warning: String value "1.4.1.2" is not quoted properly. [unquoted-string]
$  .\armake2.exe build -i "include" .\addons\radar\ dui_radar.pbo
$ In file .\addons\radar\config.cpp:4: warning: String value "radar" is not quoted properly. [unquoted-string]
$ In file .\addons\radar\config.cpp:10: warning: String value "1.4.1.2" is not quoted properly. [unquoted-string]
jokoho48 commented 5 years ago

as an addition, my local version of HEMMT also builds fine

BrettMayson commented 5 years ago

I was never able to figure out what was causing this, it only happened with that particular mod on that particular Windows VM.

BrettMayson commented 5 years ago

I have now encountered another mod on my machine that is failing to build with the same error related to not being found.

BrettMayson commented 5 years ago

Haven't encountered this in a while now, closing. Comment if you encounter this issue.