Comments (6)
You can safely remove that rsync statement. Neither does that folder exist nor build need. :)
from crossbridge.
OK, I commented this line. Now I'm getting error while building stdlibs target:
In file included from /Users/stopiccot/code/flash/crossbridge/avm2_env/usr/src/kern/kern_umtx.c:41:
/Users/stopiccot/code/flash/crossbridge/sdk/usr/platform/darwin/bin/../../usr/include/sys/mutex.h:49:27: error: machine/mutex.h: No such file or directory
Where I can get missing files?
from crossbridge.
This comes from folder avm2_env. Please try to search for that file, and copy it to the location prompted.
Well, a better way to do this, is manually build each target to see if anything wrong.
And may need to remove the folder where output files are laying at. Or modify the Makefile, since is very big, and tends to be error-prone.
Some targets on branch futures still fail. Either need to modify the compiler or the library code.
It's not completed yet.
from crossbridge.
I've found machine/mutex.h in avm2_env only on master branch. On futures branch there is only sys/mutex.h file. Can I just copy machine/mutex.h from master branch? As for building each target manually I don't know which targets I need. I just want to build whole sdk to test it on my C++11 code and provide you some feedback.
from crossbridge.
Uploaded. Thanks for your feedback!
After pull it, you still have to copy it from avm2_env/usr/include/machine to sdk/usr/include/machine, if you want to continue with your current build.
And yes, most of files are the same on both branches. You surely can borrow one.
If you want to try clang, you have to change the variable to 3.2 (searching for "2.9") in the Makefile.
But the compiler is partially workable. And may not be successfully to do what you want. FYI.
from crossbridge.
I've copied machine/mutex.h from master branch (still not sure it is OK). Now I'm getting another error while building stdlibs target:
--- sigwait.o ---
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/sys/sigwait.c:34: error: ‘_sigwait’ undeclared here (not in a function)
cc1: warnings being treated as errors
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/sys/sigwait.c:34: warning: type defaults to ‘int’ in declaration of ‘sigwait’
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/sys/sigwait.c:34: error: ‘sigwait’ redeclared as different kind of symbol
/Users/stopiccot/code/flash/crossbridge/build/mac/lib/src/lib/libc/../../include/signal.h:87: error: previous declaration of ‘sigwait’ was here
*** [sigwait.o] Error code 1
from crossbridge.
Related Issues (20)
- Merge codebase to the official SWIG project HOT 3
- Cannot build master branch on Windows platform using Cygwin HOT 6
- Cannot build master branch on Mac platform using Travis-CI HOT 2
- getting started HOT 7
- Building the SDK HOT 1
- pthreads and workers support HOT 10
- getting started HOT 17
- performance aspects of crossbridge code HOT 2
- GDB. HOT 1
- fopen with directories makes fseek throw HOT 2
- PlayerKernel.open() throws exception when opening ISpecialFile file with O_TRUNC
- Cygwin dll files is missing HOT 1
- simple app used flashcc socket throws 'terminate called after throwing an instance of 'AS3::ui::var'' HOT 1
- Can't get it to work with SFML
- how do i link a static lib which build by cygwin HOT 1
- Use crossbridge to compile client.c to swc but failed because of a link error HOT 1
- gcc in cygwin is not support windows 10
- archive project? HOT 4
- crossbridge and C++11 HOT 10
- Disable output in adl
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crossbridge.