2016-08-20 6 views
1

Windows 타겟으로의 플로우를 사용하여 Luxe를 빌드하려고 시도했지만 오류가 발생했습니다. 나는 '- arch 64'와 '--arch 32'를 사용하여 건물을 만들려고 노력했으며 동일한 결과를줍니다.윈도우에 빌드 할 때 Luxe에게 오류가 발생했습니다.

셋업 가이드가 지시 한대로 hxcpp (알다시피 저것을 거기에 두었습니다), OpenAL 및 Visual C++도 설치했습니다.

모든 것이 최신입니다.

웹 빌드가 완벽하게 작동합니다.

Error: While running :cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/linc_ogg/git//lib/ -IC:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/ -IC:/HaxeToolkit/haxe/lib/linc_ogg/git//lib//ogg/include/ -IC:/HaxeToolkit/haxe/lib/linc_ogg/git//lib//vorbis/include/ -IC:/HaxeToolkit/haxe/lib/linc_ogg/git//lib//theora/include/ -DNATIVE_TOOLKIT_OGG -DNATIVE_TOOLKIT_VORBIS -DNATIVE_TOOLKIT_THEORA -DLINC_OPENAL -IC:/HaxeToolkit/haxe/lib/linc_openal/git//linc/ -IC:/HaxeToolkit/haxe/lib/linc_opengl/git//linc/ -IC:/HaxeToolkit/haxe/lib/linc_opengl/git//lib/glew/include/ -DLINC_OPENGL_GLEW -DGLEW_STATIC -DLINC_SDL -IC:/HaxeToolkit/haxe/lib/linc_sdl/git//linc/ -IC:/HaxeToolkit/haxe/lib/linc_sdl/git//lib/sdl/include/ -IC:/HaxeToolkit/haxe/lib/linc_sdl/git//lib/sdl/include/configs/windows/ -DHAVE_LIBC -DNATIVE_TOOLKIT_SDL -IC:/HaxeToolkit/haxe/lib/linc_stb/git//lib/ -IC:/HaxeToolkit/haxe/lib/linc_stb/git//linc/ -IC:/HaxeToolkit/haxe/lib/linc_timestamp/git//linc/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2 -FS -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/hxcpp/3,3,49/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=321 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -wd4996 -MT -Yuhxcpp.h /FpC:/HaxeToolkit/haxe/lib/luxe/git/samples/empty/bin/windows64.build/cpp/obj/msvc1964-nc/__pch/haxe/hxcpp.pch C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp -FoC:/HaxeToolkit/haxe/lib/luxe/git/samples/empty/bin/windows64.build/cpp/obj/msvc1964-nc/39abceb4_linc_ogg.obj 
linc_ogg.cpp 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(9): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(9): error C2146: syntax error: missing ';' before identifier 'newOggVorbisFile' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(9): error C2143: syntax error: missing ';' before '{' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(9): error C2447: '{': missing function header (old-style formal list?) 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(15): error C2146: syntax error: missing ')' before identifier 'vf' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(15): error C2143: syntax error: missing ';' before '{' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(15): error C2447: '{': missing function header (old-style formal list?) 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(39): error C2146: syntax error: missing ')' before identifier 'vf' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(39): error C2143: syntax error: missing ';' before '{' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(39): error C2447: '{': missing function header (old-style formal list?) 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(50): error C2061: syntax error: identifier 'OggFile' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(52): error C2065: 'ov_callbacks': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(52): error C2146: syntax error: missing ';' before identifier 'cb' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(52): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(52): error C3861: 'ov_callbacks': identifier not found 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(54): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(54): error C2228: left of '.read_func' must have class/struct/union 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(54): note: type is 'unknown-type' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(54): error C2065: 'ogg_read_func': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(55): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(55): error C2228: left of '.seek_func' must have class/struct/union 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(55): note: type is 'unknown-type' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(55): error C2065: 'ogg_seek_func': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(56): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(56): error C2228: left of '.close_func' must have class/struct/union 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(56): note: type is 'unknown-type' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(56): error C2065: 'ogg_close_func': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(57): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(57): error C2228: left of '.tell_func' must have class/struct/union 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(57): note: type is 'unknown-type' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(57): error C2065: 'ogg_tell_func': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(62): error C2065: 'initial': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(63): error C2065: 'vf': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(63): error C2228: left of '.get_raw' must have class/struct/union 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(63): note: type is 'unknown-type' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(63): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(63): error C3861: 'ov_open_callbacks': identifier not found 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): error C2065: 'vf': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): error C2228: left of '.get_raw' must have class/struct/union 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): note: type is 'unknown-type' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): error C2065: 'initial': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): error C2065: 'ibytes': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): error C2065: 'cb': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(65): error C3861: 'ov_open_callbacks': identifier not found 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(72): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(72): error C2146: syntax error: missing ';' before identifier 'read_fn' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(73): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(73): error C2146: syntax error: missing ';' before identifier 'seek_fn' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(74): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(74): error C2146: syntax error: missing ';' before identifier 'close_fn' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(75): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(75): error C2146: syntax error: missing ';' before identifier 'tell_fn' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(79): error C2146: syntax error: missing ')' before identifier '_read_fn' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(83): error C2143: syntax error: missing ';' before '{' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(83): error C2447: '{': missing function header (old-style formal list?) 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(107): error C2064: term does not evaluate to a function taking 4 arguments 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(121): error C2061: syntax error: identifier 'ogg_int64_t' 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(127): error C2065: 'offset': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(127): error C2065: 'whence': undeclared identifier 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(137): error C2064: term does not evaluate to a function taking 1 arguments 
C:/HaxeToolkit/haxe/lib/linc_ogg/git//linc/linc_ogg.cpp(147): error C2064: term does not evaluate to a function taking 1 arguments 

flow/
build - stopping because of errors in hxcpp compile, while building arch 64 

답변

1

당신은 럭스의 올바른 hxcpp lib 디렉토리 버전이 있는지 확인해야합니다 여기

오류 로그입니다.

haxelib install hxcpp

을하지만 가이드에 명시 적으로 먼저 제거해야 할 수 있습니다 버전 3.2.205

haxelib install hxcpp 3.2.205

를 사용하는 상태 : 내가 달릴 때 전에이 오류를 보았다 이전 버전에서는 C:\HaxeToolkit\lib (또는 경로가있는 곳)의 hxcpp 폴더를 삭제하면됩니다.