jordens / pyflycapture2

python bindings for the flycapture v2 api (libflycapture-2c)
37 stars 31 forks source link

Install onto Raspberry Pi 4B running Raspbian Buster #32

Open kelly45324 opened 4 years ago

kelly45324 commented 4 years ago

I used README.rst to do the install of flycapture, and was unable to install pyflycapture2 until I created /usr/include/flycapture/C/ and copied flycapture.2.13/include/C/*.h to that /usr/include file. After that, pyflycapture compiled and installed. Perhaps you could add that info to README.rst

jordens commented 4 years ago

Can you do a pull request?

kelly45324 commented 4 years ago

I’ve never done one but I’ll give it a try.

JC

From: Robert Jördens [mailto:notifications@github.com] Sent: Sunday, November 24, 2019 5:21 PM To: jordens/pyflycapture2 Cc: Jordan Kelly; Author Subject: Re: [jordens/pyflycapture2] Install onto Raspberry Pi 4B running Raspbian Buster (#32)

Can you do a pull request?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jordens/pyflycapture2/issues/32?email_source=notifications&email_token=ABEYYVBBK2CFAN3WW3PPRNDQVL46NA5CNFSM4JRBIXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFAWMFA#issuecomment-557934100 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEYYVAKKVWA65CCDZW6XO3QVL46NANCNFSM4JRBIXVA .Image removed by sender.

kelly45324 commented 4 years ago

I do not yet understand a pull request, and where I go to initiate one. I have attached a copy of my proposed change to the README file which you can use if you wish.

Thanks,

JC

From: Robert Jördens [mailto:notifications@github.com] Sent: Sunday, November 24, 2019 5:21 PM To: jordens/pyflycapture2 Cc: Jordan Kelly; Author Subject: Re: [jordens/pyflycapture2] Install onto Raspberry Pi 4B running Raspbian Buster (#32)

Can you do a pull request?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jordens/pyflycapture2/issues/32?email_source=notifications&email_token=ABEYYVBBK2CFAN3WW3PPRNDQVL46NA5CNFSM4JRBIXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFAWMFA#issuecomment-557934100 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEYYVAKKVWA65CCDZW6XO3QVL46NANCNFSM4JRBIXVA .Image removed by sender.

jordens commented 4 years ago

Leaving this open for someone else to test and integrate.

sharulhazman commented 2 years ago

Hi,

I did the recommendations by kelly45324, have the same setup too (RP 4B with Raspbian Buster), but still having trouble. Here's the last segment of the error I got when I ran pip install git+https://github.com/jordens/pyflycapture2.git

creating build/lib.linux-armv7l-2.7 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/flycapture2.o -LC:/Program Files/Point Grey Research/FlyCapture2/lib64/C -lflycapture-c -o build/lib.linux-armv7l-2.7/flycapture2.so
/usr/bin/ld: cannot find -lflycapture-c collect2: error: ld returned 1 exit status error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

Log - installing jordens:pyflycapture2.txt

Anyway you can help?

kelly45324 commented 2 years ago

Sorry, no. I haven’t used the point Grey camera since 2019, and I don’t have python or cython installed on my Raspi 4. Also, I am running Bullseye rather than Buster on my Raspi now.

JC Kelly

From: sharulhazman @.*** Sent: Sunday, September 25, 2022 4:32 AM To: jordens/pyflycapture2 Cc: Jordan Kelly; Author Subject: Re: [jordens/pyflycapture2] Install onto Raspberry Pi 4B running Raspbian Buster (#32)

Hi,

I did the recommendations by kelly45324, have the same setup too (RP 4B with Raspbian Buster), but still having trouble. Here's the last segment of the error I got when I ran pip install git+https://github.com/jordens/pyflycapture2.git

creating build/lib.linux-armv7l-2.7 arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-InigCj/python2.7-2.7.16=. -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/src/flycapture2.o -LC:/Program Files/Point Grey Research/FlyCapture2/lib64/C -lflycapture-c -o build/lib.linux-armv7l-2.7/flycapture2.so /usr/bin/ld: cannot find -lflycapture-c collect2: error: ld returned 1 exit status error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1 error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1

Log - installing jordens:pyflycapture2.txt https://github.com/jordens/pyflycapture2/files/9640306/Log.-.installing.jordens.pyflycapture2.txt

Anyway you can help?

— Reply to this email directly, view it on GitHub https://github.com/jordens/pyflycapture2/issues/32#issuecomment-1257147031 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEYYVGFW4TEKF62DGIRW4DWAAEWLANCNFSM4JRBIXVA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ABEYYVFKXVTHZTG3OR2AQDDWAAEWLA5CNFSM4JRBIXVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJLXIVFY.gif Message ID: @.***>