Comments (14)
It works, I have to add compile option for MacOS
from nerd.
um, in the meantime i tried it on a linux machine with similar problems:
# uname -morp && lsb_release -d
4.4.0-112-generic x86_64 x86_64 GNU/Linux
Description: Ubuntu 16.04.3 LTS
# nectar --example
[+] Copy of arduino.js done
[+] Copy of bad.js done
[+] Copy of bool.js done
[+] Copy of c/test.c done
[+] Copy of c_interface.js done
[+] Copy of child_process.js done
[+] Copy of fibo.js done
[+] Copy of fiboit.js done
[+] Copy of fs.js done
[+] Copy of http_demo.js done
[+] Copy of log.ts done
[+] Copy of loop.js done
[+] Copy of example.js done
[+] Copy of object.js done
[+] Copy of operation.js done
[+] Copy of print.py done
[+] Copy of protoclass.js done
[+] Copy of require.js done
[+] Copy of source.js done
[+] Copy of string.js done
# nectar example.js
Missing project.json
# cat project.json
{"main": "example.js", "out": "example-linux-x86-64.bin", "target":"linux-x86-64", "preset":"speed"}
# nectar example.js
Missing project.json
shouldn’t this work?
from nerd.
It should, I've just tried on my debian and it works well
from nerd.
i see. any suggestions what i could try to make it work for me, too? could i check / provide any configuration settings or the like?
from nerd.
Could you give me your NodeJS version ?
from nerd.
# node -v
v8.9.4
from nerd.
This project looks promising! But I can't test it. When can we expect it to work on macOS?
from nerd.
I also have the same error "Missing project.json" even though I have it. See video http://take.ms/Jhh71
from nerd.
Thank you ilearnio, we will work soon on MacOS compatibilty
from nerd.
Mac OS X compilation is now supported
from nerd.
Just tried running the example on mac and getting this error
{ Error: Command failed: ./file-mac-osx.bin
dyld: Symbol not found: __ZTTNSt7__cxx1118basic_stringstreamIcSt11char_traitsIcESaIcEEE
Referenced from: /Users/jglock/personal-repo/test-nectarjs/./file-mac-osx.bin
Expected in: /usr/lib/libstdc++.6.0.9.dylib
in /Users/jglock/personal-repo/test-nectarjs/./file-mac-osx.bin
at ChildProcess.exithandler (child_process.js:275:12)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:557:12)
killed: false,
code: null,
signal: 'SIGABRT',
cmd: './file-mac-osx.bin' }
any help would be greatly appreciated!
from nerd.
Hi,
Could you try again ?
from nerd.
Worked. What fixed it?
from nerd.
Static linking
I tried to optimize binary size by linking parts of libs, but I need to take more time
from nerd.
Related Issues (20)
- Cyclic references leak memory HOT 2
- nectarjs.com down HOT 8
- ESP32 HOT 3
- Parsing Error: Unexpected Token HOT 1
- Great project HOT 1
- Unexpected behaviors when using Regular Expressions
- nectarjs.com is down again HOT 3
- Confused with cpp out / GPL3 HOT 3
- Unexpected token HOT 2
- javascript file can not exists name is 'main' function HOT 2
- Update description project URL HOT 3
- XDG Spec
- Documentation Template Recommendation
- Compiling HTTP example - no matching function for call to 'NerdCore::Class::Function::New()'
- Has the project been abandoned? HOT 1
- Executables very slow on Debian 12? HOT 6
- Installation instructions are incomplete? HOT 2
- Compilation error __NERD_DIRNAME with fib.js, Debian 12 and pre-compiled nerd v0.0.16 HOT 5
- Recursion broken (fibo.js)? HOT 3
- How to setup a dev environment so that the compilation of .js/.ng can be debugged (preferably step-wise)? HOT 4
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 nerd.