adobe-flash / crossbridge

Welcome to visit the homepage!
http://www.crossbridge.io
542 stars 194 forks source link

crossbridge and C++11 #70

Closed pol2095 closed 2 years ago

pol2095 commented 4 years ago

Hello,

Is-it possible to use C++11 using crossbridge ?

Thanks

JoeDupuis commented 4 years ago

This project have been abandoned by adobe a long time ago. The crossbridge community fork is a bit ahead. I believe yes it support C++11, but even the crossbridge community port is unmaintained at this point.

JoeDupuis commented 4 years ago

Here's the community fork https://github.com/crossbridge-community/crossbridge

pol2095 commented 4 years ago

I use crossbridge community 15.0.0 but C++11 is not supported std::to_string(42); return an error at compilation

ROBERT-MCDOWELL commented 4 years ago

@pol2095 I think it would be worth for you to join Ruffle project https://github.com/ruffle-rs/ruffle the goal is to replace Flash plugin keeping intact Flash API, SWF and AVM1 / AVM2 So you will be able to integrate your C++ in webassembly as well. WASM is the next Web binary standard container. Project like Crossbridge is abandonned in favour of webassembly.

pol2095 commented 4 years ago

Thanks, but it's for a Air project, webassembly is not a solution.

ROBERT-MCDOWELL commented 4 years ago

Well, Air is depracated too in favour of webassembly.

pol2095 commented 4 years ago

webassembly is for the web, for an app is deprecated too, I prefer Unity instead, or native app for performance, Air is good solution for dev velocity and hiring categories.

JoeDupuis commented 4 years ago

Not necessarily. There is node and electron that allow you to target desktop and not browser.

Depending on the type of project, unity is possibly a good solution.

But as others have said, I would not recommend starting a greenfield project on anything flash/air related.

pol2095 commented 4 years ago

It's not for a new project, I need to add functionnality to my app. But it's not my question.

pol2095 commented 4 years ago

I tried to implement an external library in C++11 using Crossbridge 1.1.0 on Mac but it’s not finalized and I have this error :

/Users/user/Desktop/Projets/crossbridge/flascc/sdk/usr/bin/…/…/usr/lib/libc.a: error: undefined reference to ‘__openat’ /Users/user/Desktop/Projets/crossbridge/flascc/sdk/usr/bin/…/…/usr/lib/libc.a: error: undefined reference to ‘_fstatat’ clang++: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [T05] Error 1

Thanks