Hi all, 

On 2012-11-07 10:16, Peter Stuge wrote:
> Did I already mention the sigrok project? Generic signal acquisition
> software, including scope support.
> 

Nope, you haven't - and thanks for mentioning it, it looks great! (I'm 
especially looking forward to checking out PulseView at the time being)

In fact, I signed up for sigrok-devel, and I'm cross-posting this reply to them 
in CC; so reposting the link which this is about:

> http://sdaaubckp.sourceforge.net/attenload

... maybe there is something in there, that could be useful to the `sigrok` 
project.

Btw, also got a report that the application works with a model (ADS 1102CAL) 
different from the development device (ADS 1202CL+), so that looks good - more 
in here:

http://www.eevblog.com/forum/projects-designs-and-technical-stuff/attenload-please-report-here-if-your-atten-%28or-related%29-scope-works/


> Another point, if you want to build against libusb.git then I
> recommend to build libusb-1.0 as such:
> 
> ./configuring --prefix=~/something && make install
> 

Thanks for noting that, I have updated the README with a pointer. 

The thing about this, is that I don't like the `make install` part: even after 
some years on Linux, one of the things that still freaks me out is the contents 
of /bin, /usr/bin, /usr/lib/local/bin (and the rest of the $PATH) :) So the way 
I handle that, is I trust `apt-get` will take care of things; and if I have to 
build something, I prefer to build it in a separate folder, without any 
installation, and test it from there - so I can also compare to the "vanilla" 
install of a package (for me, in Ubuntu). 

The `make install` can mess things up for me, so I no longer know which build 
is being run; for a recent frustration I had with this, please see 
http://unix.stackexchange.com/q/53871/8069 :) That is why I often miss 
instructions on how to build and run stuff "out-of-tree" (by analogy to kernel 
module terminology); and that is why I wanted to include those instructions. 

Cheers!








> After that, the normal compile command:
> 
> gcc -o attenload -g attenload.c `pkg-config --libs --cflags libusb-1.0`
> 
> Still works correctly as long as PKG_CONFIG_PATH (maybe even better
> PKG_CONFIG_LIBDIR) is set to ~/something/*/pkg-config and
> LD_LIBRARY_PATH is set to ~/something/lib
> 
> 
> //Peter
> 
> ------------------------------------------------------------------------------
> LogMeIn Central: Instant, anywhere, Remote PC access and management.
> Stay in control, update software, and manage PCs from one command center
> Diagnose problems and improve visibility into emerging IT issues
> Automate, monitor and manage. Do more in less time with Central
> http://p.sf.net/sfu/logmein12331_d2d


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to