Hi, thanks so much to the dev team for maintaining and expanding these drivers - I have successfully compiled on a raspberry pi and run some of the c demos to connect with my usb2000+ over usb.
Now I am trying to get python bindings working on my macbook air. I am not familiar with svn (so not sure what the idiom is for a "git pull request" type of operation), so I'd like to make a suggestion here:
when running the make script on my macbook, compilation would quit with an error:
↪ make [2] ✘
mkdir -p ./lib
flags = -dynamic -dynamiclib -framework Carbon -framework CoreFoundation -framework IOKit
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src
building SeaBreezeWrapper.o
SeaBreezeWrapper.cpp:734:8: error: variable 'retval' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
if(NULL != buffer) {
^~~~~~~~~~~~~~
Hi, thanks so much to the dev team for maintaining and expanding these drivers - I have successfully compiled on a raspberry pi and run some of the c demos to connect with my usb2000+ over usb.
Now I am trying to get python bindings working on my macbook air. I am not familiar with svn (so not sure what the idiom is for a "git pull request" type of operation), so I'd like to make a suggestion here:
when running the make script on my macbook, compilation would quit with an error:
This behavior can be cured by adding
-Wno-sometimes-uninitialized
to the osx cflags at https://sourceforge.net/p/seabreeze/code/HEAD/tree/releases/SeaBreeze/3.0.0/common.mk#l40.Cheers!
Mac
Thank you for the report.
This should now work directly from trunk without any changes to the compiler flags necessary. See tracker [#11] for details.
Related
Tickets:
#11