On 03/06/2015 09:51 PM, Jean-Luc Aufranc wrote:
> I'm trying to build pulseview in Ubuntu 14.04.
>
> Now I'm at the stage where I need to build libsigrok.
> If C++ and Python bindings are disabled the build goes through, but if 
> I install the required dependencies, and they are enabled as shown in 
> configure output (http://pastebin.com/hSjDy3VH), the build will fail 
> with lots of redefinition or redeclaration errors such as:
>
> In file included from 
> ./bindings/cxx/include/libsigrokcxx/libsigrokcxx.hpp:1030:0,
>                  from bindings/cxx/classes.cpp:20:
> ./bindings/cxx/include/libsigrokcxx/enums.hpp:21:32: error: 
> redeclaration of 'const sigrok::LogLevel* const sigrok::LogLevel::NONE'
>   static const LogLevel * const NONE;
>                                 ^
> ./bindings/cxx/include/libsigrokcxx/enums.hpp:9:32: note: previous 
> declaration 'const sigrok::LogLevel* const sigrok::LogLevel::NONE'
>   static const LogLevel * const NONE;
>                                 ^
> ./bindings/cxx/include/libsigrokcxx/enums.hpp:23:32: error: 
> redeclaration of 'const sigrok::LogLevel* const sigrok::LogLevel::ERR'
>   static const LogLevel * const ERR;
>
>
> enums.hpp is autogenerated, and I'm not quite sure if I have a config 
> issue on my machine, or there's a bug in enum.py script. Thanks.
Sorry, I'm not sure what happened.
I've noticed the duplicate were in doxy/xml/index/xml
So I deleted the complete doxy directory, and the build could complete.

Pulseview is now running, but only listing a few devices in "Connect to 
Device", and I have no UNI-T DMM at all.


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to