HaxeFlixel / flixel

Free, cross-platform 2D game engine powered by Haxe and OpenFL
https://haxeflixel.com/
MIT License
1.99k stars 438 forks source link

Lime will not compile to windows #2453

Closed PG24Official closed 2 years ago

PG24Official commented 2 years ago

I legit cant compile to windows. All I get is:

Compiling group: haxe
cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/discord_rpc/git/linc/ -IC:/HaxeToolkit/haxe/lib/linc_luajit/0,0,2//linc/ -I C:/Users/Owner/Documents/HIGH EFFORT CORN FILLED CHAOS SRC/source/vlc/cpp/include/ -I C:/Users/Owner/Documents/HIGH EFFORT CORN FILLED CHAOS SRC/source/vlc/cpp/src/ -nologo -DHX_WINDOWS -GR -Od(optim-std) -Zi(optim-std) -FdC:\Users\Owner\Documents\HIGH EFFORT CORN FILLED CHAOS SRC\export\debug\windows\obj\obj/msvc-arm64-debug-nc/vc.pdb(optim-std) -Zi(debug) -FdC:\Users\Owner\Documents\HIGH EFFORT CORN FILLED CHAOS SRC\export\debug\windows\obj\obj/msvc-arm64-debug-nc/vc.pdb(debug) -Od(debug) -O2(release) -bigobj -Os(optim-size) -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/hxcpp/4,2,1/include -DHXCPP_DEBUG -DHXCPP_ARM64 -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]
 - src/openfl/display/_internal/Context3DElementType.cpp
 - src/flixel/input/actions/_FlxSteamController/FlxSteamControllerMetadata.cpp
 - src/sys/io/_Process/Stdout.cpp
Process creation failure : cl.exe

How do I fix this. This is lethal for some projects I'm working on. I'm being forced to build to Neko which works just fine.

TheHENOOB commented 2 years ago

I think the problem is from the folder called HIGH EFFORT CORN CHAOS SRC because it has spaces, The C++ compiler was thinking one of the words (like EFFORT) was a command, change the spaces to this: -

Maybe i am wrong but is just a guess