question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DUK_USE_DATE_GET_NOW Out of the box error

See original GitHub issue

Hi, 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:closed
  • Created 5 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
svaaralacommented, Dec 8, 2018

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.

0reactions
svaaralacommented, May 7, 2019

Good to hear!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found