Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling default template #21

Closed
GoogleCodeExporter opened this issue Jun 1, 2015 · 1 comment
Closed

Error compiling default template #21

GoogleCodeExporter opened this issue Jun 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1.Install + FD templates (latest version)
2.change to debug android


Doesnt compile:

Running process: C:\Program Files (x86)\FlashDevelop\Tools\fdbuild\fdbuild.exe 
"C:\Projects\Awetest\Awetest.hxproj" -ipc 49e11b04-8226-4ade-bccb-62540685c132 
-version "3.0.0" -compiler "C:\HaxeToolkit\haxe" -library "C:\Program Files 
(x86)\FlashDevelop\Library" -cp "C:\Program Files\Java\jdk1.6.0_37" -target 
"android"
Building Awetest
haxelib run openfl build C:\Projects\Awetest\Awetest.xml android -debug 
haxelib run hxcpp Build.xml haxe -Ddebug -Dandroid="1" -Dawe6="1" -Dhaxe3="1" 
-Dhaxe_release="1" -Dhaxe_ver="3." -Dmobile="1" -Dopenfl="1" 
-Dopenfl-native="1" -Dopenfl_native="1" -Dopenfl_ver="1.0.10" -Dtools="1"
Creating obj/android-debug/__pch/haxe/hxcpp.h.gch...
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -frtti -o 
obj/android-debug/__pch/haxe/hxcpp.h.gch 
C:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include/hxcpp.h
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -x c++ -frtti 
-Iobj/android-debug/__pch/haxe ./src/awe6/core/Scene.cpp 
-oobj/android-debug/src/awe6/core/Scene.obj
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -x c++ -frtti 
-Iobj/android-debug/__pch/haxe ./src/awe6/core/Encrypter.cpp 
-oobj/android-debug/src/awe6/core/Encrypter.obj
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -x c++ -frtti 
-Iobj/android-debug/__pch/haxe ./src/awe6/interfaces/IEncrypter.cpp 
-oobj/android-debug/src/awe6/interfaces/IEncrypter.obj
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -x c++ -frtti 
-Iobj/android-debug/__pch/haxe ./src/awe6/core/_BasicButton/_HelperEState.cpp 
-oobj/android-debug/src/awe6/core/_BasicButton/_HelperEState.obj
./src/awe6/core/Scene.cpp: In member function 'virtual Void 
awe6::core::Scene_obj::removeEntity(awe6::interfaces::IEntity, 
awe6::interfaces::EAgenda, hx::Null<bool>)':
./src/awe6/core/Scene.cpp:224: error: conversion from 'Dynamic' to non-scalar 
type 'Void' requested
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -x c++ -frtti 
-Iobj/android-debug/__pch/haxe ./src/awe6/core/_BasicButton/_HelperState.cpp 
-oobj/android-debug/src/awe6/core/_BasicButton/_HelperState.obj
arm-linux-androideabi-g++ -Iinclude --sysroot=C:\Development\Android 
NDK/platforms/android-5/arch-arm -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/include -IC:\Development\Android 
NDK/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -DHXCPP_DEBUG 
-DHXCPP_VISIT_ALLOCS -IC:\HaxeToolkit\haxe\lib\hxcpp\3,0,2//include -Iinclude 
-fpic -fvisibility=hidden -ffunction-sections -funwind-tables -fstack-protector 
-fno-short-enums -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ 
-D__ARM_ARCH_5TE__ -D_LINUX_STDDEF_H  -Wno-psabi -march=armv5te -mtune=xscale 
-msoft-float -fomit-frame-pointer -fexceptions -fno-strict-aliasing 
-finline-limit=10000 -DANDROID -Wa,--noexecstack -O0 -DNDEBUG -c -x c++ -frtti 
-Iobj/android-debug/__pch/haxe ./src/awe6/core/BasicButton.cpp 
-oobj/android-debug/src/awe6/core/BasicButton.obj
Called from ? line 1
Called from BuildTool.hx line 1529
Called from BuildTool.hx line 673
Called from BuildTool.hx line 708
Called from BuildTool.hx line 842
Called from BuildTool.hx line 939
Uncaught exception - Error in building thread
Error: Build failed
Build halted with errors (haxelib.exe).
Done(1)

Original issue reported on code.google.com by zahar...@gmail.com on 24 Sep 2013 at 8:37

@GoogleCodeExporter
Copy link
Author

Thanks, r591 fixes this (hxcpp can't return Void).

Original comment by robert.f...@hypersurge.com on 24 Sep 2013 at 3:07

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant