mlabbe / nativefiledialog

A tiny, neat C library that portably invokes native file open and save dialogs.
zlib License
1.77k stars 209 forks source link

Install on RPI #74

Closed AbrahamWisman closed 5 years ago

AbrahamWisman commented 5 years ago

Probably due to my ignorance but i cant get this library installed on my RPI. (im new to rpi) I downloaded the zip, unzipped it, then tried this with the terminal:

  1. pi@raspberrypi:~/Downloads/nativefiledialog-master/nativefiledialog-master/build/gmake_linux $ make config=release_x86
  2. ==== Building nfd (release_x86) ====
  3. ==== Building test_pickfolder (release_x86) ====
  4. ==== Building test_opendialog (release_x86) ====
  5. ==== Building test_opendialogmultiple (release_x86) ====
  6. ==== Building test_savedialog (release_x86) ====

I need nfd for compiling a program, still get the errors:

  1. Compiling src/packager.cpp
  2. Linking midiviz-packager...
  3. /usr/bin/ld: cannot find -lnfd
  4. collect2: error: ld returned 1 exit status
  5. make: *** [Makefile.linux:51: midiviz-packager] Error 1

How to correctly install this lib on a RPI?