Hi Francois,

The change of name from libsigrokxx to libsigrokcxx was made a long time
ago, my guess is that you have something stale in your pulseview
working directory that still refers to the old name.

I would try `git clean -fdx` and `cmake .` in the pulseview directory,
then try `make` again - assuming you don't have any files or changes there
you wish to preserve.

Regards,


Martin

On Mon, Jan 04, 2016 at 03:49:26PM +0000, Francois Lorrain wrote:
> 
>    Hello and Happy new year 2016,
> 
>    Thanks for the great work on Sigrok.
> 
>    I was trying to update my installation by building from the latest git
>    head.
> 
>    When trying to build pulseview, I got a starnge error ...
> 
>    francois@quad3:~/sigrok/pulseview$ make
>    [ 1%] Linking CXX executable pulseview /usr/bin/ld: cannot find -lsigrokxx
>    collect2: error: ld returned 1 exit status
>    CMakeFiles/pulseview.dir/build.make:3832: recipe for target 'pulseview'
>    failed make[2]: *** [pulseview] Error 1 CMakeFiles/Makefile2:67: recipe
>    for target 'CMakeFiles/pulseview.dir/all' failed make[1]: ***
>    [CMakeFiles/pulseview.dir/all] Error 2 Makefile:149: recipe for target
>    'all' failed make: *** [all] Error 2
> 
>    Cannot find libsigrokxx.so ??? only libsigrokcxx is provided ...
> 
>    I replaced the -lsigrokxx by -lsigrokcxx in the link.txt which cmake uses
>    to link the project and the pulseview links without error ...
>    francois@quad3:~/sigrok/pulseview$ make
>    [ 1%] Linking CXX executable pulseview [ 1%] Built target pulseview
>    francois@quad3:~/sigrok/pulseview$ sudo make install
>    [100%] Built target pulseview Install the project... -- Install
>    configuration: "RelWithDebInfo" -- Installing: /usr/local/bin/pulseview --
>    Removed runtime path from "/usr/local/bin/pulseview" -- Installing:
>    /usr/local/share/man/man1/pulseview.1
>    francois@quad3:~/sigrok/pulseview$
> 
>    I am not too sure about the build system but did somebody dropped a 'c'
>    over the new year ?*
> 
>    Regards
> 
>    Francois

> ------------------------------------------------------------------------------

> _______________________________________________
> sigrok-devel mailing list
> sigrok-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/sigrok-devel




------------------------------------------------------------------------------
_______________________________________________
sigrok-devel mailing list
sigrok-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to