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.

Cannot build s2geometry-node

See original GitHub issue

I’ve tried many times and many tips over the internet to build s2geometry using node-gyp but each time it fails on errors like

..\geometry\s1interval.cc(249): error C2065: 'M_PI': undeclared identifier [C:\
nodejs\poke\node_modules\s2geometry-node\build\NativeExtension.vcxproj

I’m pasting a npm-debug.log

npm-debug.txt

npm -v 3.10.5

node -v v4.4.7

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:21 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
billyriantonocommented, Jul 22, 2016

Sorry for the nan problem … i have removed from package.json but i am miss in one file have been updated in s2geometry-node@1.2.2

0reactions
coolaj86commented, Jul 28, 2016

Fixed in https://github.com/Armax/Pokemon-GO-node-api/pull/165 by using pure JavaScript - no C++ or compiler necessary.

Read more comments on GitHub >

github_iconTop Results From Across the Web

mapbox/node-s2: bindings for s2 in node - GitHub
Bindings for the S2 Geometry Library into node.js. S2 is a library that does spherical math over the world, and supports a very...
Read more >
S2 Geometry Concepts - s2cell
Introduction to the core concepts of the S2 Geometry coordinate systems and conversions, using code from the s2cell Python library.
Read more >
Geometry nodes output attribute is not the values actually ...
I have a plane and in Geometry nodes I first scattered some points and then using a Geometry Proximity node to measure distances...
Read more >
How to enable blender geometry node legacy in Blender 3.0
In this short video tutorial i am going to show you how to enable geometry node legacy. ... Your browser can't play this...
Read more >
Gaea Tutorial - Building Environments: Realistic Desert Rocks II
There are a lot of ways we can solve these stretched faces on Heightmaps, but by using Blender and Geometry Nodes we will...
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