On Tue, Jan 14, 2014 at 05:48:56PM +0100, Alexis Moinet wrote:
> On 14/01/14 17:12, Patrick Welche wrote:
> > Trying to build freerdp from git-head, I ended up needing the first two
> > of the attached patches. Now I am stuck with cmake:
> > 
> > [ 92%] Building C object 
> > client/common/CMakeFiles/freerdp-client.dir/cmdline.c.o
> > Linking C shared library libfreerdp-client.so
> > ld: cannot find -lgstreamer-0.10
> > ld: cannot find -lgobject-2.0
> > ...
> > 
> > I have tried to improve matters with the third patch:
> > 
> > -include_directories(${GSTREAMER_INCLUDE_DIRS})
> > +include_directories(${GSTREAMER_INCLUDE_DIRS} ${X11_INCLUDE_DIR})
> > 
> > means that X11/Xlib.h is found, and the addition of GSTREAMER_LIBRARY_DIRS
> > and
> > 
> > +message(STATUS "gstreamer_library_dirs=${GSTREAMER_LIBRARY_DIRS}")
> > 
> > show that GSTREAMER_LIBRARY_DIRS is correctly set to /usr/pkg/lib.
> 
> might be a silly question but: do you have the file 
> /usr/pkg/lib/libgstreamer-0.10.so ? (just checking)

Yes - the problem is that no -L/usr/pkg/lib -Wl,-R/usr/pkg/lib
makes it to the link line - pkg-config would tell cmake that, and
FindPkgConfig.cmake seems to be doing the right thing, so I think
(hope) that something simple is missing...

Cheers,

Patrick

------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to