binji / nacl-nxengine Goto Github PK
View Code? Open in Web Editor NEWA port of nxengine to Native Client
License: GNU General Public License v3.0
A port of nxengine to Native Client
License: GNU General Public License v3.0
Playing around with my Chromebook and trying to figure out how to port a C project to NaCl in the first place, ran into an error when trying to compile with Canary (31?)
[308/886] CC out/x86_32/debug/src/main.o
FAILED: out/nacl_sdk/pepper_canary/toolchain/linux_x86_newlib/bin/i686-nacl-g++ -Iout/nacl_sdk/pepper_canary/include -Ithird_party/include -Ithird_par
ty/include/SDL -Wall -Werror -Wno-comment -Wno-missing-braces -Wno-multichar -Wno-narrowing -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-uninit
ialized -Wno-unused -Wno-unused-variable -g -O0 -Wno-delete-non-virtual-dtor -MMD -MF out/x86_32/debug/src/main.o.d -c src/main.cpp -o out/x86_32/debu
g/src/main.o
src/main.cpp: In function ‘void* PSUserCreateInstance(PP_Instance)’:
src/main.cpp:44: error: invalid conversion from ‘int ()(int, const char__)’ to ‘int ()(int, char**)’
src/main.cpp:44: error: initializing argument 2 of ‘void* PSMainCreate(PP_Instance, int ()(int, char**))’
src/main.cpp: In function ‘int my_main(int, const char**)’:
src/main.cpp:205: error: ‘umount’ was not declared in this scope
src/main.cpp:206: error: ‘mount’ was not declared in this scope
cc1plus: warnings being treated as errors
At global scope:
cc1plus: error: unrecognized command line option "-Wno-delete-non-virtual-dtor"
cc1plus: error: unrecognized command line option "-Wno-narrowing"
[308/886] CC out/x86_64/debug/src/main.o
FAILED: out/nacl_sdk/pepper_canary/toolchain/linux_x86_newlib/bin/x86_64-nacl-g++ -Iout/nacl_sdk/pepper_canary/include -Ithird_party/include -Ithird_p
arty/include/SDL -Wall -Werror -Wno-comment -Wno-missing-braces -Wno-multichar -Wno-narrowing -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-unin
itialized -Wno-unused -Wno-unused-variable -g -O0 -Wno-delete-non-virtual-dtor -MMD -MF out/x86_64/debug/src/main.o.d -c src/main.cpp -o out/x86_64/de
bug/src/main.o
src/main.cpp: In function ‘void* PSUserCreateInstance(PP_Instance)’:
src/main.cpp:44: error: invalid conversion from ‘int ()(int, const char**)’ to ‘int ()(int, char__)’
src/main.cpp:44: error: initializing argument 2 of ‘void PSMainCreate(PP_Instance, int ()(int, char__))’
src/main.cpp: In function ‘int my_main(int, const char__)’:
src/main.cpp:205: error: ‘umount’ was not declared in this scope
src/main.cpp:206: error: ‘mount’ was not declared in this scope
cc1plus: warnings being treated as errors
At global scope:
cc1plus: error: unrecognized command line option "-Wno-delete-non-virtual-dtor"
cc1plus: error: unrecognized command line option "-Wno-narrowing"
ninja: build stopped: subcommand failed.
make: ** [all] Error 1
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.