darmie / cabasa

Haxe Framework for WebAssembly
MIT License
35 stars 2 forks source link

can't build with hexlog #1

Open sonygod opened 4 years ago

sonygod commented 4 years ago

Error: ./src/hex/log/LoggerConfig.cpp: In member function ‘virtual hx::Val hex::log::LoggerConfig_obj::__Field(const String&, hx::PropertyAccess)’:

darmie commented 4 years ago

@sonygod C++ target is broken for hexlog version I installed.

I will take a look.

Btw, I just pushed another commit for Wasp

darmie commented 4 years ago

@sonygod I have fixed the hexlog issue

Install the alpha version

haxelib install hexlog 1.0.0-alpha.7

sonygod commented 4 years ago

still got nothing trace or file generate?

have you test your project and then push into github?

sonygod commented 4 years ago

image

darmie commented 4 years ago

I have not tested Cabasa with cpp, I have only tested Wasp with cpp.

On Thu, 30 Jan 2020, 05:50 Mr zhan, notifications@github.com wrote:

[image: image] https://user-images.githubusercontent.com/748320/73420893-0ac72980-435f-11ea-9730-18fcfd8cdc55.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/darmie/cabasa/issues/1?email_source=notifications&email_token=AAGPBASWNFQDN4W4RKC4VNTRAJMATA5CNFSM4KM5X6AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKJVSLI#issuecomment-580081965, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPBAUAYECF5JJ5CD7BVU3RAJMATANCNFSM4KM5X6AA .

darmie commented 4 years ago

@sonygod use build.hxml

In test.hxml I was trying to use a new C++ and Hashlink binder which is not working.

Apologies for the confusion.

Also please note that C++ version of Cabasa doesn't work yet.

sonygod commented 4 years ago

oh....

which target have you test before?

darmie commented 4 years ago

C# and Java

darmie commented 4 years ago

@sonygod I just made a new PR merge. You can pull from master and run it again for C++ target.

C++ target now working

sonygod commented 4 years ago

I'll take a look later..

sonygod commented 4 years ago

$RY A)4LC7T~%FUQ6X@HC8E

there are still something error ,maybe platform issue?

ubuntu 18.04

@darmie

darmie commented 4 years ago

@sonygod please update your version of Wasp

sonygod commented 4 years ago

after update.it's seem only

call_fib(raw5);

not work.

erveryhing seem ok

Y05U`ZRA}L`4EK%18)V2~6X

darmie commented 4 years ago

Yes I am aware. I commented it out because I am still investigating it.

On Thu, 30 Jan 2020, 14:35 Mr zhan, notifications@github.com wrote:

after update.it's seem only

call_fib(raw5);

not work.

erveryhing seem ok

[image: Y05UZRA}L4EK%18)V2~6X] https://user-images.githubusercontent.com/748320/73454145-71246a00-43a8-11ea-83b3-cd2014ab93fc.png

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/darmie/cabasa/issues/1?email_source=notifications&email_token=AAGPBASHKBKZ57HOUDIA3R3RALJS7A5CNFSM4KM5X6AKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEKK76UI#issuecomment-580255569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGPBAUT6XFMO6HXTUXLAF3RALJS7ANCNFSM4KM5X6AA .

sonygod commented 4 years ago

are you going to support wasm build by hxcpp?

the current version I did test seems not support hxcpp's wasm .

wasm.zip

darmie commented 4 years ago

@sonygod Cabasa is designed to support the MVP version of wasm, it depends on what tool you used to compile hxcpp code to wasm. I suggest you use Binaryen.

sonygod commented 4 years ago

I jsut use hxcpp defalut toolchain.xml with emcc ,

is this not Binaryen?

darmie commented 4 years ago

I don't know. I will focus on hxcpp specifics when I have much time. Right now, I use wasm builds from WebAssembly Studio for my tests.