larsiusprime / crashdumper

A cross-platform automated crash report generator/sender for Haxe/OpenFL apps.
MIT License
113 stars 33 forks source link

Error while compiling! #43

Closed hoangdung-qbt closed 1 year ago

hoangdung-qbt commented 4 years ago

Hi just used crashdumper and I got this issue while compiling

> Executing task: lime build html5 --connect 6000 <

C:/HaxeToolkit/haxe/lib/lime/7,6,3/src/lime/graphics/opengl/GLBuffer.hx:16: characters 20-40 : You cannot access the js package while in a macro (for js.html.webgl.Buffer)
C:/HaxeToolkit/haxe/lib/lime/7,6,3/src/lime/_internal/backend/native/NativeCFFI.hx:4: characters 8-37 :     referenced here
C:/HaxeToolkit/haxe/lib/lime/7,6,3/src/lime/graphics/Image.hx:7: characters 8-48 :     referenced here
C:/HaxeToolkit/haxe/lib/lime/7,6,3/src/lime/ui/Window.hx:5: characters 8-27 :     referenced here
C:/HaxeToolkit/haxe/lib/lime/7,6,3/src/lime/graphics/RenderContext.hx:4: characters 8-22 :     referenced here
C:/HaxeToolkit/haxe/lib/lime/7,6,3/src/lime/app/Application.hx:3: characters 8-35 :     referenced here
src/crashdumper/hooks/openfl/HookOpenFL.hx:6: characters 9-29 :     referenced here
src/crashdumper/hooks/Util.hx:2: characters 8-43 :     referenced here
src/crashdumper/hooks/openfl/HookOpenFL.hx:61: characters 16-53 :     referenced here
The terminal process terminated with exit code: 1

haxe libraries: actuate: [1.8.9] box2d: [1.2.3] hxcpp: [4.0.64] layout: [1.2.1] lime-samples: [7.0.0] lime: [7.6.3] openfl-samples: [8.7.0] openfl: [8.9.5] starling: [2.5.1]

IDE: VS Code but same issues with Haxe Develop Windows 10 64 bit

Thanks!

JonnycatMeow commented 1 year ago

you might have to put #if !macro