Hi Joel, The issue was, I did not install the dev versions of packages (libsigrok0-dev libsigrokdecode0-dev). The package for libboost-dev was also missing from my system.
But something remains, it is probably due to the installed sigrok being a release instead from git: $ PKG_CONFIG_PATH=/usr/lib/pkgconfig/ cmake . -- Boost version: 1.46.1 -- Configuring done -- Generating done -- Build files have been written to: /home/iztok/Workplace/sigrog-qt2/sigrok-qt2 $ make [ 4%] Generating qrc_sigrok-qt2.cxx [ 8%] Generating moc_about.cxx [ 12%] Generating moc_mainwindow.cxx [ 16%] Generating moc_samplingbar.cxx [ 20%] Generating moc_sigsession.cxx [ 24%] Generating moc_sigview.cxx [ 28%] Generating ui_about.h Scanning dependencies of target sigrok-qt2 [ 32%] Building CXX object CMakeFiles/sigrok-qt2.dir/about.cpp.o [ 36%] Building CXX object CMakeFiles/sigrok-qt2.dir/datasnapshot.cpp.o [ 40%] Building CXX object CMakeFiles/sigrok-qt2.dir/logicdata.cpp.o In file included from /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp:21:0: /somewhere/sigrog-qt2/sigrok-qt2/logicdata.h:35:18: error: ‘sr_datafeed_meta_logic’ does not name a type /somewhere/sigrog-qt2/sigrok-qt2/logicdata.h:35:42: error: ISO C++ forbids declaration of ‘meta’ with no type [-fpermissive] /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp:27:28: error: ‘sr_datafeed_meta_logic’ does not name a type /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp:27:52: error: ISO C++ forbids declaration of ‘meta’ with no type [-fpermissive] /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp: In constructor ‘LogicData::LogicData(const int&)’: /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp:28:18: error: request for member ‘samplerate’ in ‘meta’, which is of non-class type ‘const int’ /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp:28:40: error: request for member ‘samplerate’ in ‘meta’, which is of non-class type ‘const int’ /somewhere/sigrog-qt2/sigrok-qt2/logicdata.cpp:29:19: error: request for member ‘num_probes’ in ‘meta’, which is of non-class type ‘const int’ make[2]: *** [CMakeFiles/sigrok-qt2.dir/logicdata.cpp.o] Error 1 make[1]: *** [CMakeFiles/sigrok-qt2.dir/all] Error 2 make: *** [all] Error 2 I will try again later on a different machine, where I work on the git version. Regards, Iztok Jeras On Mon, Jul 16, 2012 at 8:11 PM, Joel Holdsworth <[email protected]> wrote: > So I didn't mean for you to literally type in > "<prefix-of-libsigrok-installation>". If you built libsigrok from source > that's merely the path you can optionally specify as your installation > location by going ./configure --prefix=/<prefix-of-libsigrok-installation> - > whatever that path may be. If you don't specify a prefix when you build the > package, it will default to --prefix=/usr , which is also the prefix debian > package probably uses. If the prefix is /usr, then you don't have to specify > the PKG_CONFIG_PATH environment variable, because pkg-config will search > there by default. > > Therefore, try "cmake ." > > Joel > > > On 16/07/12 17:37, Iztok Jeras wrote: >> >> Hi Joel, >> >> I was not able to get past: >> PKG_CONFIG_PATH=/<prefix-of-libsigrok-installation>/lib/pkgconfig/ cmake . >> I get: >> -- checking for modules 'libsigrokdecode>=0.1.0;libsigrok>=0.1.0' >> -- package 'libsigrokdecode>=0.1.0' not found >> -- package 'libsigrok>=0.1.0' not found >> CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 >> (message): >> A required package was not found >> >> I have the latest sigrok Debian packages installed? I will try on a >> different machine with sigrok from GIT. >> >> Regards, >> Iztok Jeras >> >> >> >> On Wed, Jul 11, 2012 at 9:20 PM, Joel Holdsworth >> <[email protected]> wrote: >>> >>> >>> Hi All, >>> >>> >>> >>> You may know that I've been working for a little while now on my humble >>> attempt at a workable GUI for sigrok. Up until now it has had a >>> placeholder >>> title: "sigrok-qt2"; it is a rewrite of sigrok-qt. Though still very >>> basic, >>> I'm hoping to merge my work into the main project soon, but before that >>> happens I think it might be good to give it a better name than the one it >>> has currently. >>> >>> >>> >>> I'm beginning to collect names on my project wiki: >>> >>> <http://www.airwebreathe.org.uk/projects/index.php?title=Sigrok-qt2#Name>, >>> so any votes or suggestions would be very welcome. >>> >>> >>> >>> Also any testing and feedback would be very welcome. >>> >>> >>> >>> Thanks >>> >>> Joel Holdsworth >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Live Security Virtual Conference >>> Exclusive live event will cover all the ways today's security and >>> threat landscape has changed and how IT managers can respond. Discussions >>> will include endpoint security, mobile security and the latest in malware >>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >>> _______________________________________________ >>> sigrok-devel mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/sigrok-devel >>> > > ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ sigrok-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sigrok-devel

