94451
Sep 13, 2016
1054
1
0
Librarys richtig einbinden
Hallo Leute,
ich habe hier Librarys:
https://github.com/abelectronicsuk/ABElectronics_C_Libraries
jene welche habe ich mit mit:
git clone https://github.com/abelectronicsuk/ABElectronics_C_Libraries.git
in mein Homeverzeichnis von meinem PI3 (Jessie Lite) geladen /home/roadrunner/ABE...
wie kann ich diese jetzt richtig einbinden, dass der PI diese automatisch beim Kompilieren findet
gcc testscript.c -o testscript
bis jetzt muss ich immer noch zusätzlich die library mit angeben:
gcc testscript.c ABE_ADCPi.c ABE_IoPi.c ABE_helpers.c -o testscript
Vielen Dank
Gruß RoadRunner
ich habe hier Librarys:
https://github.com/abelectronicsuk/ABElectronics_C_Libraries
jene welche habe ich mit mit:
git clone https://github.com/abelectronicsuk/ABElectronics_C_Libraries.git
in mein Homeverzeichnis von meinem PI3 (Jessie Lite) geladen /home/roadrunner/ABE...
wie kann ich diese jetzt richtig einbinden, dass der PI diese automatisch beim Kompilieren findet
gcc testscript.c -o testscript
bis jetzt muss ich immer noch zusätzlich die library mit angeben:
gcc testscript.c ABE_ADCPi.c ABE_IoPi.c ABE_helpers.c -o testscript
Vielen Dank
Gruß RoadRunner
Please also mark the comments that contributed to the solution of the article
Content-Key: 315157
Url: https://administrator.de/contentid/315157
Printed on: April 20, 2024 at 06:04 o'clock
1 Comment