2016-08-20 7 views
1

Windows用のフローをターゲットにしてLuxeをビルドしようとしていて、エラーが発生しています。私は '--arch 64'と '--arch 32'でビルドしようとしましたが、同じ結果が得られます。WindowsにビルドするときにLuxeのエラーが発生する

セットアップガイドで指示されているように、hxcpp(わかっているようにそこに置いてください)、OpenAL、Visual C++もインストールしました。

すべて最新です。

Webビルドは完全に正常に動作します。ここで

はエラーログです:

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フォルダを削除してください。

関連する問題