Beeblerox/HaxeFlixel — Issue #18: Ubuntu 11.10 build error.
Author: JacksonBrsrd
Created: 2011-12-06 11:29:35+00:00
State: open

Not sure if this is just me, but it's very annoying and I can't seem to remedy it.

here's the apparent problem:

In file included from /usr/lib/haxe/lib/hxcpp/2,08,0//include/hxcpp.h:198:0:
/usr/lib/haxe/lib/hxcpp/2,08,0//include/hx/Object.h: In constructor ‘hx::ObjectPtr::ObjectPtr(const hx::ObjectPtr&) [with SOURCE_ = hx::Object, OBJ_ = nme::display::BitmapData_obj]’:
./src/org/flixel/ImgStop.cpp:34:106: instantiated from here
/usr/lib/haxe/lib/hxcpp/2,08,0//include/hx/Object.h:141:10: error: cannot dynamic_cast ‘((hx::Object*)inObjectPtr.hx::ObjectPtr::mPtr)->hx::Object::__GetRealObject()’ (of type ‘class hx::Object*’) to type ‘struct nme::display::BitmapData_obj*’ (target is not pointer or reference to complete type)
/usr/lib/haxe/lib/hxcpp/2,08,0//include/hx/Object.h:143:13: error: invalid use of incomplete type ‘struct nme::display::BitmapData_obj’
include/nme/display/Bitmap.h:10:1: error: forward declaration of ‘struct nme::display::BitmapData_obj’
Called from ? line 1
Called from BuildTool.hx line 1100
Called from BuildTool.hx line 501
Called from a C function
Called from BuildTool.hx line 538
Called from BuildTool.hx line 657
Called from BuildTool.hx line 690
Called from BuildTool.hx line 200
Uncaught exception - Error : 256 - build cancelled
Called from ? line 1
Called from InstallTool.hx line 549
Called from a C function
Called from InstallTool.hx line 94
Called from a C function
Called from installers/InstallerBase.hx line 116
Called from installers/DesktopInstaller.hx line 32
Called from installers/CPPInstaller.hx line 25
Called from installers/InstallerBase.hx line 201
Called from installers/InstallerBase.hx line 411
Uncaught exception - Error : Source path "Export/cpp/linux/obj/ApplicationMain" does not exist