Last active
August 29, 2015 14:22
Revisions
-
SamWhited revised this gist
May 31, 2015 . 1 changed file with 5 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ .PHONY: build all: cameras cameras: cameras.c gcc -I/usr/include/libraw $< -o $@ -lraw -
SamWhited created this gist
May 31, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,12 @@ #include <libraw.h> #include <stdio.h> int main() { const char** list = libraw_cameraList(); for (int i = 0; i < libraw_cameraCount(); i++) { printf(list[i]); printf("\n"); } return 0; }