motion-twin / heaps

Lightweight Stage3D engine for Haxe
MIT License
19 stars 1 forks source link

How to run the samples? #4

Closed anissen closed 8 years ago

anissen commented 10 years ago

This project looks very interesting but I cannot figure out how to run the samples to test it.

I've cloned the most recent version of the repository, run haxelib dev h3d to be able to reference the h3d-library but have been unable to run the samples (specifically samples/showcase).

I've tried simply:

$ haxe demo.hxml
Class not found : ApplicationMain

Changing "ApplicationMain" to "Demo" in demo.hxml and repeating the command gives a huge number of different errors.

Other equally unsuccessful attempts:

$ haxe -main Demo -swf demo.swf
Demo.hx:5: characters 1-25 : Class not found : h3d.Engine
$ lime test flash
(...)/h3d/hxd/fmt/h3d/Tools.hx:181: characters 28-42 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:92: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:93: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:94: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:95: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:98: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:99: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:100: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:101: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:105: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:106: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:107: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:108: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:112: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:113: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:114: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:115: characters 10-20 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:24: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:25: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:26: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:27: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:31: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:32: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:33: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:34: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:38: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:39: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:40: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:41: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:45: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:46: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:47: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:48: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:60: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:61: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:62: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:63: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:67: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:68: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:69: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:70: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:74: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:75: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:76: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:77: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:81: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:82: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:83: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:84: characters 2-12 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:280: characters 2-16 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:162: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:172: characters 3-13 : haxe.io.Bytes has no field setFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:272: characters 74-88 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:236: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:237: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:238: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:239: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:243: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:244: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:245: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:246: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:250: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:251: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:252: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:253: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:257: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:258: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:259: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:260: characters 11-25 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:350: characters 13-27 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:587: characters 7-22 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/fmt/h3d/Tools.hx:595: characters 7-17 : haxe.io.Bytes has no field getFloat
(...)/h3d/hxd/FloatBuffer.hx:168: characters 10-24 : haxe.io.Bytes has no field getFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:275: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:276: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:277: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:280: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:281: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:282: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:283: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:286: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:287: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h3d/anim/LinearAnimation.hx:288: characters 5-21 : haxe.io.Bytes has no field setFloat
(...)/h3d/h2d/Drawable.hx:423: characters 17-34 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:453: characters 3-20 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:476: characters 3-20 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:485: characters 3-20 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:494: characters 3-20 : h2d.DrawableShader has no field invalidate

So my question is; how do I run the samples? (And please add instructions for doing so to the readme)

delahee commented 10 years ago

So here is the deal :

then You should be ok. I'll do a setup script soon :)

In your particular case you are facin an insufficient haxe version I think

edit:I'll add those in the readme if you are successful ;)

anissen commented 10 years ago

Thanks for your quick feedback!

I updated to the latest version of Haxe, which solved the haxe.io.Bytes has no field setFloat-problem. I still got the following errors:

$ lime test flash
(...)/h3d/h2d/Drawable.hx:423: characters 17-34 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:453: characters 3-20 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:476: characters 3-20 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:485: characters 3-20 : h2d.DrawableShader has no field invalidate
(...)/h3d/h2d/Drawable.hx:494: characters 3-20 : h2d.DrawableShader has no field invalidate
$ lime test mac
(...)/h3d/hxd/FloatBuffer.hx:78: characters 2-18 : hxd._FloatBuffer.InnerData has no field __setLength
(...)/h3d/hxd/FloatBuffer.hx:108: characters 4-17 : hxd._FloatBuffer.InnerData has no field __setF32
(...)/h3d/hxd/FloatBuffer.hx:90: characters 11-24 : hxd._FloatBuffer.InnerData has no field __getF32

On cpp-targets, InnerData is of type openfl.utils.Float32Array. I cloned motion-twin/openfl-native and set haxelib dev openfl-native . but the errors persist...

anissen commented 10 years ago

Installing motion-twin/openfl and setting it as dev solves the errors. Got a lot of compile errors instead though:

Error: In file included from ./src/sys/io/FileOutput.cpp:4:
include/cpp/Lib.h:27:3: error: C++ requires a type specifier for all declarations
                HX_DO_RTTI_ALL;
                ^~~~~~~~~~~~~~
In file included from ./src/sys/io/FileOutput.cpp:7:
include/haxe/io/Bytes.h:28:3: error: C++ requires a type specifier for all declarations
                HX_DO_RTTI_ALL;
                ^~~~~~~~~~~~~~
In file included from ./src/sys/io/FileOutput.cpp:13:
include/haxe/io/Output.h:30:3: error: C++ requires a type specifier for all declarations
                HX_DO_RTTI_ALL;
                ^~~~~~~~~~~~~~
In file included from ./src/sys/io/FileOutput.cpp:16:
include/sys/io/FileOutput.h:34:3: error: C++ requires a type specifier for all declarations
                HX_DO_RTTI_ALL;
                ^~~~~~~~~~~~~~
./src/sys/io/FileOutput.cpp:123:3: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
                this->super::close();
                ^~~~
./src/sys/io/FileOutput.cpp:144:1: error: cannot initialize a parameter of type 'hx::Object *' with an rvalue of type 'sys::io::FileOutput_obj *'
HX_DEFINE_DYNAMIC_FUNC2(FileOutput_obj,seek,(void))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/Macros.h:195:11: note: expanded from macro 'HX_DEFINE_DYNAMIC_FUNC2'
          HX_DEFINE_DYNAMIC_FUNC(class,2,func,ret,HX_ARR_LIST2,HX_DYNAMIC_ARG_LIST2,HX_ARG_LIST2)
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/Macros.h:154:39: note: expanded from macro 'HX_DEFINE_DYNAMIC_FUNC'
   return hx::CreateMemberFunction##N(this,__##class##func); \
                                      ^~~~
/usr/lib/haxe/lib/hxcpp/3,1,39/include/Dynamic.h:208:43: note: passing argument to parameter here
Dynamic CreateMemberFunction2(hx::Object *, MemberFunction2);
                                          ^
./src/sys/io/FileOutput.cpp:154:1: error: cannot initialize a parameter of type 'hx::Object *' with an rvalue of type 'sys::io::FileOutput_obj *'
HX_DEFINE_DYNAMIC_FUNC0(FileOutput_obj,tell,return )
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/Macros.h:143:37: note: expanded from macro 'HX_DEFINE_DYNAMIC_FUNC0'
   return hx::CreateMemberFunction0(this,__##class##func); \
                                    ^~~~
/usr/lib/haxe/lib/hxcpp/3,1,39/include/Dynamic.h:204:43: note: passing argument to parameter here
Dynamic CreateMemberFunction0(hx::Object *, MemberFunction0);
                                          ^
./src/sys/io/FileOutput.cpp:196:46: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
                if (HX_FIELD_EQ(inName,"flush") ) { return flush_dyn(); }
                                                           ^~~~~~~~~
./src/sys/io/FileOutput.cpp:197:46: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
                if (HX_FIELD_EQ(inName,"close") ) { return close_dyn(); }
                                                           ^~~~~~~~~
./src/sys/io/FileOutput.cpp:202:50: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
                if (HX_FIELD_EQ(inName,"writeByte") ) { return writeByte_dyn(); }
                                                               ^~~~~~~~~~~~~
./src/sys/io/FileOutput.cpp:208:51: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
                if (HX_FIELD_EQ(inName,"writeBytes") ) { return writeBytes_dyn(); }
                                                                ^~~~~~~~~~~~~~
./src/sys/io/FileOutput.cpp:213:16: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
        return super::__Field(inName,inCallProp);
                      ^~~~~~~
./src/sys/io/FileOutput.cpp:234:16: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
        return super::__SetField(inName,inValue,inCallProp);
                      ^~~~~~~~~~
./src/sys/io/FileOutput.cpp:240:9: error: cannot initialize object parameter of type 'haxe::io::Output_obj' with an expression of type 'sys::io::FileOutput_obj'
        super::__GetFields(outFields);
               ^~~~~~~~~~~
./src/sys/io/FileOutput.cpp:270:22: error: no member named '__mClass' in 'sys::io::FileOutput_obj'; did you mean 'Array_obj<Dynamic>::__mClass'?
        HX_MARK_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass");
                            ^~~~~~~~~~~~~~~~~~~~~~~~
                            Array_obj<Dynamic>::__mClass
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/GC.h:146:52: note: expanded from macro 'HX_MARK_MEMBER_NAME'
#define HX_MARK_MEMBER_NAME(x,name) hx::MarkMember(x, __inCtx )
                                                   ^
/usr/lib/haxe/lib/hxcpp/3,1,39/include/Array.h:82:17: note: 'Array_obj<Dynamic>::__mClass' declared here
   static Class __mClass;
                ^
./src/sys/io/FileOutput.cpp:281:23: error: no member named '__mClass' in 'sys::io::FileOutput_obj'; did you mean 'Array_obj<Dynamic>::__mClass'?
        HX_VISIT_MEMBER_NAME(FileOutput_obj::__mClass,"__mClass");
                             ^~~~~~~~~~~~~~~~~~~~~~~~
                             Array_obj<Dynamic>::__mClass
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/GC.h:167:54: note: expanded from macro 'HX_VISIT_MEMBER_NAME'
#define HX_VISIT_MEMBER_NAME(x,name) hx::VisitMember(x, __inCtx )
                                                     ^
/usr/lib/haxe/lib/hxcpp/3,1,39/include/Array.h:82:17: note: 'Array_obj<Dynamic>::__mClass' declared here
   static Class __mClass;
                ^
./src/sys/io/FileOutput.cpp:292:23: error: no member named '__mClass' in 'sys::io::FileOutput_obj'
Class FileOutput_obj::__mClass;
      ~~~~~~~~~~~~~~~~^
In file included from ./src/sys/io/FileOutput.cpp:1:
In file included from /usr/lib/haxe/lib/hxcpp/3,1,39/include/hxcpp.h:208:
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/Object.h:186:18: error: cannot initialize a parameter of type 'hx::Object *' with an rvalue of type 'sys::io::FileOutput_obj *'
         CastPtr(const_cast<SOURCE_ *>(inPtr));
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/lib/haxe/lib/hxcpp/3,1,39/include/Dynamic.h:57:11: note: in instantiation of function template specialization 'hx::ObjectPtr<hx::Object>::ObjectPtr<sys::io::FileOutput_obj>' requested here
          hx::ObjectPtr<hx::Object>(inObjectPtr.mPtr) { }
          ^
./src/sys/io/FileOutput.cpp:48:9: note: in instantiation of function template specialization 'Dynamic::Dynamic<sys::io::FileOutput_obj>' requested here
        return result;}
               ^
/usr/lib/haxe/lib/hxcpp/3,1,39/include/hx/Object.h:154:29: note: passing argument to parameter 'inPtr' here
   void CastPtr(hx::Object *inPtr)
                            ^
18 errors generated.
delahee commented 10 years ago

I seems your hxcpp version it not up to sync with our haxe version, you should haxelib git it and recompile it (yes it s uncool ) :)

Thanks a lot for your kind perseverance !

anissen commented 10 years ago

Cloned and built the latest version of hxcpp (neko build.n && neko build.n mac) and did haxelib dev hxcpp hxcpp.

Now I'm getting a little bit further:

nissen at MacBook-Pro in ~/code/h3d/samples/showcase on master
$ lime test mac
xcrun --sdk macosx10.9 clang++ -Iinclude -c -fvisibility=hidden -stdlib=libstdc++ -O2 -I/Users/nissen/code/haxe/hxcpp/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-bool-conversion -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -frtti -x c++-header -o obj/darwin64//__pch/haxe/hxcpp.h.gch /Users/nissen/code/haxe/hxcpp/include/hxcpp.h
xcrun --sdk macosx10.9 clang++ -Iobj/darwin64//__pch/haxe -Iinclude -c -fvisibility=hidden -stdlib=libstdc++ -O2 -I/Users/nissen/code/haxe/hxcpp/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-bool-conversion -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -x c++ -frtti ./src/openfl/utils/Float32Array.cpp -oobj/darwin64/b8017b47_Float32Array.o
xcrun --sdk macosx10.9 clang++ -Iobj/darwin64//__pch/haxe -Iinclude -c -fvisibility=hidden -stdlib=libstdc++ -O2 -I/Users/nissen/code/haxe/hxcpp/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-bool-conversion -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=312 -x c++ -frtti ./src/openfl/utils/ArrayBufferView.cpp -oobj/darwin64/b8017b47_ArrayBufferView.o
Error: ./src/openfl/utils/ArrayBufferView.cpp:128:11: error: no member named '__hxcpp_memory_get_f32' in the global namespace; did you mean '__hxcpp_memory_get_i32'?
        return ::__hxcpp_memory_get_f32(this->bytes,(position + this->byteOffset));
               ~~^~~~~~~~~~~~~~~~~~~~~~
                 __hxcpp_memory_get_i32
/Users/nissen/code/haxe/hxcpp/include/hx/StdLibs.h:179:12: note: '__hxcpp_memory_get_i32' declared here
inline int __hxcpp_memory_get_i32(Array<unsigned char> inBuffer ,int addr) { return *(int *)(inBuffer->GetBase()+addr); }
           ^
./src/openfl/utils/ArrayBufferView.cpp:219:5: error: no member named '__hxcpp_memory_set_f32' in the global namespace; did you mean '__hxcpp_memory_set_i32'?
                ::__hxcpp_memory_set_f32(this->bytes,(position + this->byteOffset),value);
                ~~^~~~~~~~~~~~~~~~~~~~~~
                  __hxcpp_memory_set_i32
/Users/nissen/code/haxe/hxcpp/include/hx/StdLibs.h:187:13: note: '__hxcpp_memory_set_i32' declared here
inline void __hxcpp_memory_set_i32(Array<unsigned char> inBuffer ,int addr,int v) { *(int *)(inBuffer->GetBase()+addr) = v; }
            ^
2 errors generated.
Error: ./src/openfl/utils/Float32Array.cpp:181:11: error: no member named '__hxcpp_memory_get_f32' in the global namespace; did you mean '__hxcpp_memory_get_i32'?
        return ::__hxcpp_memory_get_f32(this->bytes,(((int(index) << int((int)2))) + this->byteOffset));
               ~~^~~~~~~~~~~~~~~~~~~~~~
                 __hxcpp_memory_get_i32
/Users/nissen/code/haxe/hxcpp/include/hx/StdLibs.h:179:12: note: '__hxcpp_memory_get_i32' declared here
inline int __hxcpp_memory_get_i32(Array<unsigned char> inBuffer ,int addr) { return *(int *)(inBuffer->GetBase()+addr); }
           ^
./src/openfl/utils/Float32Array.cpp:194:5: error: no member named '__hxcpp_memory_set_f32' in the global namespace; did you mean '__hxcpp_memory_set_i32'?
                ::__hxcpp_memory_set_f32(this->bytes,(((int(index) << int((int)2))) + this->byteOffset),value);
                ~~^~~~~~~~~~~~~~~~~~~~~~
                  __hxcpp_memory_set_i32
/Users/nissen/code/haxe/hxcpp/include/hx/StdLibs.h:187:13: note: '__hxcpp_memory_set_i32' declared here
inline void __hxcpp_memory_set_i32(Array<unsigned char> inBuffer ,int addr,int v) { *(int *)(inBuffer->GetBase()+addr) = v; }
            ^
2 errors generated.
delahee commented 10 years ago

whoops can you try with this hxcpp : https://github.com/delahee/hxcpp.git (haxelib dev and rebuild )

Thanks !

anissen commented 10 years ago

That was the missing puzzle piece! Now am actually able to compile the "showcase" sample.

However, running it (via lime test mac) is a different matter entirely - it crashes with the following error description:

Process:         showcase [575]
Path:            /Users/USER/*/showcase.app/Contents/MacOS/./showcase
Identifier:      h2d.samples.showcase
Version:         1.0.0 (1)
Code Type:       X86-64 (Native)
Parent Process:  neko [468]
Responsible:     iTerm [2096]
User ID:         501

Date/Time:       2014-08-22 11:03:36.603 +0200
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID:  EC8387FD-1F4D-7120-BD41-1D9286B6BD77

Sleep/Wake UUID: CB54CEC6-B623-4964-8E33-6356E922559F

Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_platform.dylib        0x00007fff94b4fd13 _platform_strcmp + 19
1   h2d.samples.showcase            0x0000000100256abb 0x100000000 + 2452155
2   h2d.samples.showcase            0x000000010007a568 0x100000000 + 501096
3   h2d.samples.showcase            0x00000001002241cf 0x100000000 + 2245071
4   h2d.samples.showcase            0x000000010001e68b 0x100000000 + 124555
5   h2d.samples.showcase            0x00000001002291d8 0x100000000 + 2265560
6   h2d.samples.showcase            0x000000010022936d 0x100000000 + 2265965
7   h2d.samples.showcase            0x000000010022d8a5 0x100000000 + 2283685
8   h2d.samples.showcase            0x000000010027c043 0x100000000 + 2605123
9   h2d.samples.showcase            0x0000000100139e22 0x100000000 + 1285666
10  h2d.samples.showcase            0x0000000100139e8a 0x100000000 + 1285770
11  h2d.samples.showcase            0x000000010027be23 0x100000000 + 2604579
12  h2d.samples.showcase            0x00000001000d487d 0x100000000 + 870525
13  h2d.samples.showcase            0x000000010008833b 0x100000000 + 557883
14  h2d.samples.showcase            0x0000000100086fbd 0x100000000 + 552893
15  h2d.samples.showcase            0x00000001000875b4 0x100000000 + 554420
16  h2d.samples.showcase            0x00000001001df23e 0x100000000 + 1962558
17  h2d.samples.showcase            0x00000001001db07c 0x100000000 + 1945724
18  h2d.samples.showcase            0x00000001001dbbf6 0x100000000 + 1948662
19  h2d.samples.showcase            0x00000001001dbc30 0x100000000 + 1948720
20  h2d.samples.showcase            0x000000010027be23 0x100000000 + 2604579
21  h2d.samples.showcase            0x0000000100258b76 0x100000000 + 2460534
22  lime.ndll                       0x00000001014575bf 0x101400000 + 357823
23  lime.ndll                       0x0000000101441aba 0x101400000 + 268986
24  lime.ndll                       0x0000000101405dff 0x101400000 + 24063
25  lime.ndll                       0x0000000101405c74 0x101400000 + 23668
26  lime.ndll                       0x00000001014571c8 0x101400000 + 356808
27  h2d.samples.showcase            0x000000010026c0ef 0x100000000 + 2539759
28  h2d.samples.showcase            0x000000010027809e 0x100000000 + 2588830
29  h2d.samples.showcase            0x000000010024230c 0x100000000 + 2368268
30  h2d.samples.showcase            0x0000000100255457 0x100000000 + 2446423
31  h2d.samples.showcase            0x000000010025693e 0x100000000 + 2451774
32  h2d.samples.showcase            0x0000000100001444 start + 52

Thread 1:
0   libsystem_kernel.dylib          0x00007fff90246716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff89a43c3b _pthread_cond_wait + 727
2   h2d.samples.showcase            0x000000010025fc22 0x100000000 + 2489378
3   h2d.samples.showcase            0x000000010025fb85 0x100000000 + 2489221
4   libsystem_pthread.dylib         0x00007fff89a41899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff89a4172a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff89a45fc9 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib          0x00007fff90246716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff89a43c3b _pthread_cond_wait + 727
2   h2d.samples.showcase            0x000000010025fc22 0x100000000 + 2489378
3   h2d.samples.showcase            0x000000010025fb85 0x100000000 + 2489221
4   libsystem_pthread.dylib         0x00007fff89a41899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff89a4172a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff89a45fc9 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff90246716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff89a43c3b _pthread_cond_wait + 727
2   h2d.samples.showcase            0x000000010025fc22 0x100000000 + 2489378
3   h2d.samples.showcase            0x000000010025fb85 0x100000000 + 2489221
4   libsystem_pthread.dylib         0x00007fff89a41899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff89a4172a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff89a45fc9 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff90246716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff89a43c3b _pthread_cond_wait + 727
2   h2d.samples.showcase            0x000000010025fc22 0x100000000 + 2489378
3   h2d.samples.showcase            0x000000010025fb85 0x100000000 + 2489221
4   libsystem_pthread.dylib         0x00007fff89a41899 _pthread_body + 138
5   libsystem_pthread.dylib         0x00007fff89a4172a _pthread_start + 137
6   libsystem_pthread.dylib         0x00007fff89a45fc9 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff90246e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff89a42f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff89a45fb9 start_wqthread + 13

Thread 6:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib          0x00007fff90247662 kevent64 + 10
1   libdispatch.dylib               0x00007fff941be421 _dispatch_mgr_invoke + 239
2   libdispatch.dylib               0x00007fff941be136 _dispatch_mgr_thread + 52

Thread 7:
0   libsystem_kernel.dylib          0x00007fff90246e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff89a42f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff89a45fb9 start_wqthread + 13

Thread 8:
0   libsystem_kernel.dylib          0x00007fff90246e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff89a42f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff89a45fb9 start_wqthread + 13

Thread 9:
0   libsystem_kernel.dylib          0x00007fff90246e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff89a42f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff89a45fb9 start_wqthread + 13

Thread 10:
0   libsystem_kernel.dylib          0x00007fff90246e6a __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fff89a42f08 _pthread_wqthread + 330
2   libsystem_pthread.dylib         0x00007fff89a45fb9 start_wqthread + 13

Thread 11:
0   libsystem_kernel.dylib          0x00007fff90242a1a mach_msg_trap + 10
1   libsystem_kernel.dylib          0x00007fff90241d18 mach_msg + 64
2   com.apple.CoreFoundation        0x00007fff91a2ff15 __CFRunLoopServiceMachPort + 181
3   com.apple.CoreFoundation        0x00007fff91a2f539 __CFRunLoopRun + 1161
4   com.apple.CoreFoundation        0x00007fff91a2ee75 CFRunLoopRunSpecific + 309
5   com.apple.AppKit                0x00007fff8d49805e _NSEventThread + 144
6   libsystem_pthread.dylib         0x00007fff89a41899 _pthread_body + 138
7   libsystem_pthread.dylib         0x00007fff89a4172a _pthread_start + 137
8   libsystem_pthread.dylib         0x00007fff89a45fc9 thread_start + 13

Thread 12:: SDLTimer
0   libsystem_kernel.dylib          0x00007fff90246716 __psynch_cvwait + 10
1   libsystem_pthread.dylib         0x00007fff89a43c3b _pthread_cond_wait + 727
2   lime.ndll                       0x00000001015987be 0x101400000 + 1673150
3   lime.ndll                       0x0000000101598b30 0x101400000 + 1674032
4   lime.ndll                       0x000000010162bfe3 0x101400000 + 2277347
5   lime.ndll                       0x000000010162bbcc 0x101400000 + 2276300
6   lime.ndll                       0x0000000101598cf9 0x101400000 + 1674489
7   libsystem_pthread.dylib         0x00007fff89a41899 _pthread_body + 138
8   libsystem_pthread.dylib         0x00007fff89a4172a _pthread_start + 137
9   libsystem_pthread.dylib         0x00007fff89a45fc9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000109607314  rcx: 0x0000000000000000  rdx: 0x00007fff5fbfdca0
  rdi: 0x09606f7c023a0019  rsi: 0x000000010960737c  rbp: 0x00007fff5fbfdc40  rsp: 0x00007fff5fbfdc40
   r8: 0x0000000000000001   r9: 0x0000000000000000  r10: 0x0000000109606f7c  r11: 0x00000000093630b8
  r12: 0x000000000000000f  r13: 0x00000001003bd310  r14: 0x00007fff5fbfdcb0  r15: 0x000000010960737c
  rip: 0x00007fff94b4fd13  rfl: 0x0000000000010206  cr2: 0x00000001000841a3

Logical CPU:     0
Error Code:      0x00000000
Trap Number:     13

Maybe some incompatibility issues with the standard version of lime?

delahee commented 10 years ago

Super !

Seems to me it is a real crash :)

Do you have some other sample fully running ( real_world ) ?

2014-08-22 11:08 GMT+02:00 Anders Nissen notifications@github.com:

That was the missing puzzle piece! Now am actually able to compile the "showcase" sample.

However, running it (via lime test mac) is a different matter entirely - it crashes with the following error description:

Process: showcase [575] Path: /Users/USER/*/showcase.app/Contents/MacOS/./showcase Identifier: h2d.samples.showcase Version: 1.0.0 (1) Code Type: X86-64 (Native) Parent Process: neko [468] Responsible: iTerm [2096] User ID: 501

Date/Time: 2014-08-22 11:03:36.603 +0200 OS Version: Mac OS X 10.9.4 (13E28) Report Version: 11 Anonymous UUID: EC8387FD-1F4D-7120-BD41-1D9286B6BD77

Sleep/Wake UUID: CB54CEC6-B623-4964-8E33-6356E922559F

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: EXC_I386_GPFLT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_platform.dylib 0x00007fff94b4fd13 _platform_strcmp + 19 1 h2d.samples.showcase 0x0000000100256abb 0x100000000 + 2452155 2 h2d.samples.showcase 0x000000010007a568 0x100000000 + 501096 3 h2d.samples.showcase 0x00000001002241cf 0x100000000 + 2245071 4 h2d.samples.showcase 0x000000010001e68b 0x100000000 + 124555 5 h2d.samples.showcase 0x00000001002291d8 0x100000000 + 2265560 6 h2d.samples.showcase 0x000000010022936d 0x100000000 + 2265965 7 h2d.samples.showcase 0x000000010022d8a5 0x100000000 + 2283685 8 h2d.samples.showcase 0x000000010027c043 0x100000000 + 2605123 9 h2d.samples.showcase 0x0000000100139e22 0x100000000 + 1285666 10 h2d.samples.showcase 0x0000000100139e8a 0x100000000 + 1285770 11 h2d.samples.showcase 0x000000010027be23 0x100000000 + 2604579 12 h2d.samples.showcase 0x00000001000d487d 0x100000000 + 870525 13 h2d.samples.showcase 0x000000010008833b 0x100000000 + 557883 14 h2d.samples.showcase 0x0000000100086fbd 0x100000000 + 552893 15 h2d.samples.showcase 0x00000001000875b4 0x100000000 + 554420 16 h2d.samples.showcase 0x00000001001df23e 0x100000000 + 1962558 17 h2d.samples.showcase 0x00000001001db07c 0x100000000 + 1945724 18 h2d.samples.showcase 0x00000001001dbbf6 0x100000000 + 1948662 19 h2d.samples.showcase 0x00000001001dbc30 0x100000000 + 1948720 20 h2d.samples.showcase 0x000000010027be23 0x100000000 + 2604579 21 h2d.samples.showcase 0x0000000100258b76 0x100000000 + 2460534 22 lime.ndll 0x00000001014575bf 0x101400000 + 357823 23 lime.ndll 0x0000000101441aba 0x101400000 + 268986 24 lime.ndll 0x0000000101405dff 0x101400000 + 24063 25 lime.ndll 0x0000000101405c74 0x101400000 + 23668 26 lime.ndll 0x00000001014571c8 0x101400000 + 356808 27 h2d.samples.showcase 0x000000010026c0ef 0x100000000 + 2539759 28 h2d.samples.showcase 0x000000010027809e 0x100000000 + 2588830 29 h2d.samples.showcase 0x000000010024230c 0x100000000 + 2368268 30 h2d.samples.showcase 0x0000000100255457 0x100000000 + 2446423 31 h2d.samples.showcase 0x000000010025693e 0x100000000 + 2451774 32 h2d.samples.showcase 0x0000000100001444 start + 52

Thread 1: 0 libsystem_kernel.dylib 0x00007fff90246716 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff89a43c3b _pthread_cond_wait + 727 2 h2d.samples.showcase 0x000000010025fc22 0x100000000 + 2489378 3 h2d.samples.showcase 0x000000010025fb85 0x100000000 + 2489221 4 libsystem_pthread.dylib 0x00007fff89a41899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff89a4172a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff89a45fc9 thread_start + 13

Thread 2: 0 libsystem_kernel.dylib 0x00007fff90246716 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff89a43c3b _pthread_cond_wait + 727 2 h2d.samples.showcase 0x000000010025fc22 0x100000000 + 2489378 3 h2d.samples.showcase 0x000000010025fb85 0x100000000 + 2489221 4 libsystem_pthread.dylib 0x00007fff89a41899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff89a4172a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff89a45fc9 thread_start + 13

Thread 3: 0 libsystem_kernel.dylib 0x00007fff90246716 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff89a43c3b _pthread_cond_wait + 727 2 h2d.samples.showcase 0x000000010025fc22 0x100000000 + 2489378 3 h2d.samples.showcase 0x000000010025fb85 0x100000000 + 2489221 4 libsystem_pthread.dylib 0x00007fff89a41899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff89a4172a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff89a45fc9 thread_start + 13

Thread 4: 0 libsystem_kernel.dylib 0x00007fff90246716 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff89a43c3b _pthread_cond_wait + 727 2 h2d.samples.showcase 0x000000010025fc22 0x100000000 + 2489378 3 h2d.samples.showcase 0x000000010025fb85 0x100000000 + 2489221 4 libsystem_pthread.dylib 0x00007fff89a41899 _pthread_body + 138 5 libsystem_pthread.dylib 0x00007fff89a4172a _pthread_start + 137 6 libsystem_pthread.dylib 0x00007fff89a45fc9 thread_start + 13

Thread 5: 0 libsystem_kernel.dylib 0x00007fff90246e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff89a42f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff89a45fb9 start_wqthread + 13

Thread 6:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x00007fff90247662 kevent64 + 10 1 libdispatch.dylib 0x00007fff941be421 _dispatch_mgr_invoke + 239 2 libdispatch.dylib 0x00007fff941be136 _dispatch_mgr_thread + 52

Thread 7: 0 libsystem_kernel.dylib 0x00007fff90246e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff89a42f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff89a45fb9 start_wqthread + 13

Thread 8: 0 libsystem_kernel.dylib 0x00007fff90246e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff89a42f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff89a45fb9 start_wqthread + 13

Thread 9: 0 libsystem_kernel.dylib 0x00007fff90246e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff89a42f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff89a45fb9 start_wqthread + 13

Thread 10: 0 libsystem_kernel.dylib 0x00007fff90246e6a __workq_kernreturn + 10 1 libsystem_pthread.dylib 0x00007fff89a42f08 _pthread_wqthread + 330 2 libsystem_pthread.dylib 0x00007fff89a45fb9 start_wqthread + 13

Thread 11: 0 libsystem_kernel.dylib 0x00007fff90242a1a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff90241d18 mach_msg + 64 2 com.apple.CoreFoundation 0x00007fff91a2ff15 CFRunLoopServiceMachPort + 181 3 com.apple.CoreFoundation 0x00007fff91a2f539 CFRunLoopRun + 1161 4 com.apple.CoreFoundation 0x00007fff91a2ee75 CFRunLoopRunSpecific + 309 5 com.apple.AppKit 0x00007fff8d49805e _NSEventThread + 144 6 libsystem_pthread.dylib 0x00007fff89a41899 _pthread_body + 138 7 libsystem_pthread.dylib 0x00007fff89a4172a _pthread_start + 137 8 libsystem_pthread.dylib 0x00007fff89a45fc9 thread_start + 13

Thread 12:: SDLTimer 0 libsystem_kernel.dylib 0x00007fff90246716 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fff89a43c3b _pthread_cond_wait + 727 2 lime.ndll 0x00000001015987be 0x101400000 + 1673150 3 lime.ndll 0x0000000101598b30 0x101400000 + 1674032 4 lime.ndll 0x000000010162bfe3 0x101400000 + 2277347 5 lime.ndll 0x000000010162bbcc 0x101400000 + 2276300 6 lime.ndll 0x0000000101598cf9 0x101400000 + 1674489 7 libsystem_pthread.dylib 0x00007fff89a41899 _pthread_body + 138 8 libsystem_pthread.dylib 0x00007fff89a4172a _pthread_start + 137 9 libsystem_pthread.dylib 0x00007fff89a45fc9 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x0000000109607314 rcx: 0x0000000000000000 rdx: 0x00007fff5fbfdca0 rdi: 0x09606f7c023a0019 rsi: 0x000000010960737c rbp: 0x00007fff5fbfdc40 rsp: 0x00007fff5fbfdc40 r8: 0x0000000000000001 r9: 0x0000000000000000 r10: 0x0000000109606f7c r11: 0x00000000093630b8 r12: 0x000000000000000f r13: 0x00000001003bd310 r14: 0x00007fff5fbfdcb0 r15: 0x000000010960737c rip: 0x00007fff94b4fd13 rfl: 0x0000000000010206 cr2: 0x00000001000841a3

Logical CPU: 0 Error Code: 0x00000000 Trap Number: 13

Maybe some incompatibility issues with the standard version of lime?

— Reply to this email directly or view it on GitHub https://github.com/motion-twin/h3d/issues/4#issuecomment-53039179.

David Elahee

anissen commented 10 years ago

I tried running samples/real_world - it crashes in a similar fashion...

delahee commented 10 years ago

Ok I am holidays, you can go into more details with lime test mac -debug. Here the mac version is running fine these days but having a full stack will help. Thanks ! Le 22 août 2014 12:48, "Anders Nissen" notifications@github.com a écrit :

I tried running samples/real_world - it crashes in a similar fashion...

— Reply to this email directly or view it on GitHub https://github.com/motion-twin/h3d/issues/4#issuecomment-53047255.

kiroukou commented 8 years ago

issue is too old, and main dev is now focused on heaps.