On Wed, Jan 15, 2014 at 03:29:17PM +0100, Alexis Moinet wrote:
> On 14/01/14 20:33, Patrick Welche wrote:
> > 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...
>
> +link_directories(${GSTREAMER_LIBRARY_DIRS})
>
> should do exactly that (adding '-L/usr/pkg/lib').
>
> but I think it's misplaced, i.e. "client/common/CMakeLists.txt" which is the
> one crashing for you, is unaffected by the link instructions you added in
> "channels/tsmf/client/gstreamer/CMakeLists.txt"
>
> for the sake of testing, could you add:
>
> +link_directories(/usr/pkg/lib)
>
> to the main CMakelists.txt instead of the one in .../gstreamer/ ? (before all
> the add_subdirectories() of course)
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -479,6 +479,9 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR}/include)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/include)
+link_directories(/usr/pkg/lib)
+link_directories(/usr/X11R7/lib)
+
got me a working client/X11/xfreerdp binary!
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/freerdp-devel