DUK_USE_DATE_GET_NOW Out of the box error
See original GitHub issueHi, I’m trying to compile Duktape in my existing cpp program. I’ve added the source headers/file from src-noline and by default the compilation fails due to a missing DUK_USE_DATE_GET_NOW macro.
From what I’ve read in the docs, I would expect this to work by default for my OS? I’m on OS X 10.13.6 building in XCode 9.4.1.
I can get it to compile fine if I use the dummy date provider from the examples folder here, but the javascript that I want to run may rely on actual date information. So I’m asking here because I want to get this to compile the right way. Am I missing a #define or something? Or will I just actually have to provide my own date provider? Thanks!
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Out-of-bag error
Out-of-bag (OOB) error, also called out-of-bag estimate, is a method of measuring the prediction error of random forests, boosted decision trees, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

It should indeed work out of the box on OS X. I have a Mac Mini somewhere so I’ll try to reproduce the issue later on.
Good to hear!