Can't compile for windows but works on flash - help.

40 views
Skip to first unread message

Ionut Ghenade

unread,
Nov 23, 2014, 4:12:43 PM11/23/14
to nape-p...@googlegroups.com
I am going to to post a great wall of text :D ... since I don't really know what's going on I'll just give out all the info i have.

If anybody has any idea, please reply.
Cheers.

haxelib run openfl build C:\development\haxe\RotoBlades\project.xml windows -debug
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Ychxcpp.h obj/mscv16-debug-ncxp/__pch/haxe/hxcpp.cpp /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch -Foobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.obj
hxcpp.cpp
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp -Foobj/mscv16-debug-ncxp/5cf8189b_NapeScene.obj
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/masks/Grid.cpp -Foobj/mscv16-debug-ncxp/7d92f511_Grid.obj
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/masks/Pixelmask.cpp -Foobj/mscv16-debug-ncxp/7d92f511_Pixelmask.obj
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/graphics/atlas/TileAtlas.cpp -Foobj/mscv16-debug-ncxp/669bc31b_TileAtlas.obj
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/graphics/atlas/AtlasRegion.cpp -Foobj/mscv16-debug-ncxp/669bc31b_AtlasRegion.obj
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/masks/Circle.cpp -Foobj/mscv16-debug-ncxp/7d92f511_Circle.obj
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/graphics/atlas/TextureAtlas.cpp -Foobj/mscv16-debug-ncxp/669bc31b_TextureAtlas.obj
TextureAtlas.cpp
cl.exe -Iinclude -nologo -Od -DHX_WINDOWS -GR -Zi -Fdobj/mscv16-debug-ncxp/vc.pdb -Oy- -c -EHs -GS- -arch:SSE -IC:/development/haxetoolkit/haxe/lib/hxcpp/3,1,39/include -DHXCPP_DEBUG -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=311 -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN -wd4996 -MT -Yuhxcpp.h /Fpobj/mscv16-debug-ncxp/__pch/haxe/hxcpp.pch ./src/com/haxepunk/graphics/atlas/AtlasData.cpp -Foobj/mscv16-debug-ncxp/669bc31b_AtlasData.obj
NapeScene.cpp
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(746) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(752) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(792) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(798) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(836) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(842) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(880) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C3083: 'phys': the symbol to the left of a '::' must be a type
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C2039: 'Body' : is not a member of 'xxx::xxxxxxxxxx::haxepunk::nape'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C2065: 'Body' : undeclared identifier
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C2955: 'hx::TCast' : use of class template requires template argument list
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(209) : see declaration of 'hx::TCast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C2784: 'T hx::TCast<T>::cast(Array<SOURCE_>)' : could not deduce template argument for 'Array<SOURCE_>' from 'nape::phys::Interactor'
        C:\development\haxetoolkit\haxe\lib\hxcpp\3,1,39\include\hx/Operators.h(225) : see declaration of 'hx::TCast<T>::cast'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(hx::ObjectPtr<SOURCE_>)'
        With the following template arguments:
        'nape::phys::Interactor_obj'
./src/xxx/xxxxxxxxxx/haxepunk/nape/NapeScene.cpp(886) : error C2893: Failed to specialize function template 'T hx::TCast<T>::cast(VAL)'
        With the following template arguments:
        'nape::phys::Interactor'

Circle.cpp
AtlasRegion.cpp
TileAtlas.cpp
Pixelmask.cpp
Grid.cpp
AtlasData.cpp
Build halted with errors (haxelib.exe).
Done(1)

Ionut

unread,
Nov 23, 2014, 5:06:57 PM11/23/14
to nape-p...@googlegroups.com

Fixed!

It seems that casting was the problem.

int:InteractionCallback

cast (int.int1, Body) - broke the windows build.
int.int1.castBody - works

Reply all
Reply to author
Forward
0 new messages