Lisandro Damián Nicanor Pérez Meyer <perezmeyer@...> writes:
> Hi everyone! I've started to write a lib to interface USB GPIB devices. So 
far 
> it's **very** simple, but it starts to work 
> 
> If anyone has a usbtmc device, it can check out the code from
> 
> <git://gitorious.org/libusbtmc/libusbtmc.git>
> 
> All you need is CMake and libusb[x]. It ships with a simple test that will 
> check for usbtmc devices and tried to open the first one it gets, and sends a 
> GPIB message (implemented byte-wise, as it's a sub-class of TMC).
> 
> So, if anyone has a usbtmc device, feel free to check the code.
> 
> **WARNING**: I plan to change the current API. I started the project with the 
> idea of doing the same as the Linux's usbtmc module. It turned out that the 
> module implemented mostly the usbtmc usb488 specs, not just usbtmc.
> 
> So I implemented read and write as the module does, but that's more gpib-
> isish. I plan to change that soon.

I'm also happy to see alternate development to the kernel usbtmc. I am 
developing a USBTMC instrument and want to use Linux for product testing.

I cloned the git repo, but I have not gotten it to build using CMake. I ran 
cmake from the top level directory but it complained about needing to do an out-
of-source build. I understand why, and have created a directory for the object 
code, but can't get cmake to use it. My experience with cmake is very limited.

I have done this:
~/libusbtmc$ mkdir build
~/libusbtmc$ cd build
~/libusbtmc/build$ cmake ..
This obviously doesn't work, cmake still complains about requiring an out-of-
source build.

Could someone tell me what I'm doing wrong?

Thanks
Karl



------------------------------------------------------------------------------
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