How to setting the binding.gyp file or cMake.js to use external libraries?

Aperta
#175 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
20/100
Tipo di issue
Documentazione
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
cmake, cpp, electron, nodejs

Direzione di ricerca

The issue mentions binding.gyp, cmake.js, node-gyp, and cmake-js, but does not name an example file or a failing build to reproduce. Start by reviewing the existing addon build examples and the referenced build-tool documentation, then define the supported external-library setup and cross-platform outcome before making a change.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hi folks!

I'm trying to use the powerful C++ Eigen Library(https://eigen.tuxfamily.org/index.php?title=Main_Page) or Armadillo Library(http://arma.sourceforge.net/) through NodeJS as a Addon for a Desktop Application built in Electron for a graduation final project in Engineering.

I'm trying to use https://github.com/nodejs/node-gyp or https://github.com/cmake-js/cmake-js to build it, but until now I couldn't do that. I don't know exactly how I have to linking the Eigen or Armadillo Libraries on setting files (the biding.gyp for example).

Have anyone done something like this ?
Could someone help me please?

OBS: My development is on Windows but the application is a cross-plataform(Linux, Mac, Windows).

Thanks so much in advance!

Lingua principale
C++
Stelle
2.6k
Fork
602
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di nodejs/node-addon-examples

Tutte le issue di nodejs/node-addon-examples

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.