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