Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Otavio Salvador
On Fri, Aug 26, 2011 at 14:28, Mike Gilbert wrote: > Does pkg-config not work on Windows? A Google search seems to indicate > that it should, but I have no experience using it there. > > In any case, I agree that using find_path / find_library as a fallback > is a good idea. In theory it works bu

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Mike Gilbert
On Fri, Aug 26, 2011 at 1:15 PM, Otavio Salvador wrote: > On Fri, Aug 26, 2011 at 13:43, Mike Gilbert wrote: >> Very recent versions of cunit (>= 2.1-1) install a cunit.pc file, as >> that post indicates. However, older versions of cunit do not. >> >> Using the information in the cunit.pc file is

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Otavio Salvador
On Fri, Aug 26, 2011 at 13:43, Mike Gilbert wrote: > Very recent versions of cunit (>= 2.1-1) install a cunit.pc file, as > that post indicates. However, older versions of cunit do not. > > Using the information in the cunit.pc file is as simple as adding a > pkg_check_modules call and then refere

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Mike Gilbert
On Fri, Aug 26, 2011 at 11:40 AM, Marc-André Moreau wrote: > Here's a forum post describing the problem people have with the SUSE cunit > package: > http://ufoai.ninex.info/forum/index.php?topic=5428.0 > A quick fix is to add "-lnurses" to LD_FLAGS, but someone replied to that > saying that the cu

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Ben Lindstrom
Eep.. Resending from the right account. On Aug 26, 2011, at 10:03 AM, Marc-André Moreau wrote: > On Fri, Aug 26, 2011 at 10:58 AM, Alexis Moinet > wrote: > On 26/08/11 16:38, Otavio Salvador wrote : >> On Fri, Aug 26, 2011 at 11:32, Alexis Moinet >> wrote: >>> usually a cmake target (i.e. a l

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Ben Lindstrom
On Aug 26, 2011, at 10:03 AM, Marc-André Moreau wrote: > On Fri, Aug 26, 2011 at 10:58 AM, Alexis Moinet > wrote: > On 26/08/11 16:38, Otavio Salvador wrote : > > On Fri, Aug 26, 2011 at 11:32, Alexis Moinet > > wrote: > >> usually a cmake target (i.e. a library or an executable) is linked to

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Marc-André Moreau
Here's a forum post describing the problem people have with the SUSE cunit package: http://ufoai.ninex.info/forum/index.php?topic=5428.0 A quick fix is to add "-lnurses" to LD_FLAGS, but someone replied to that saying that the cunit .pc file should be used instead for proper detection. This makes

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Alexis Moinet
> On Fri, Aug 26, 2011 at 12:03, Marc-André Moreau > wrote: >> I was using openSUSE a couple of months ago, and their cunit build was not >> very good. The build depended on ncurses, which is not needed for us. Is it >> possible to add a check in cmake for SUSE in particular so that it adds >> ncu

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Otavio Salvador
On Fri, Aug 26, 2011 at 12:03, Marc-André Moreau wrote: > I was using openSUSE a couple of months ago, and their cunit build was not > very good. The build depended on ncurses, which is not needed for us. Is it > possible to add a check in cmake for SUSE in particular so that it adds > ncurses as

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Marc-André Moreau
On Fri, Aug 26, 2011 at 10:58 AM, Alexis Moinet wrote: > On 26/08/11 16:38, Otavio Salvador wrote : > > On Fri, Aug 26, 2011 at 11:32, Alexis Moinet > wrote: > >> usually a cmake target (i.e. a library or an executable) is linked to a > lib using the command "target_link_libraries()" > > > > Not

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Alexis Moinet
On 26/08/11 16:38, Otavio Salvador wrote : > On Fri, Aug 26, 2011 at 11:32, Alexis Moinet > wrote: >> usually a cmake target (i.e. a library or an executable) is linked to a lib >> using the command "target_link_libraries()" > > Not really so this is the wrong fix. > > If cunit requires ncurse

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Otavio Salvador
On Fri, Aug 26, 2011 at 11:32, Alexis Moinet wrote: > usually a cmake target (i.e. a library or an executable) is linked to a lib > using the command "target_link_libraries()" Not really so this is the wrong fix. If cunit requires ncurses so the .pc file needs to tell it to cmake, not the other

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-26 Thread Alexis Moinet
On 26/08/11 01:20, Ben Lindstrom wrote : > > On Aug 25, 2011, at 6:11 PM, Mike Gilbert wrote: > >> On Thu, Aug 25, 2011 at 5:23 PM, Ben Lindstrom wrote: >>> >>> There seems to be an issue with the cmake script and SLES11 SP1. >>> >>> I had to make the following hack around: >>> >>> $ diff -u ../

Re: [Freerdp-devel] FreeRDP 1.0 woes..

2011-08-25 Thread Ben Lindstrom
On Aug 25, 2011, at 6:11 PM, Mike Gilbert wrote: > On Thu, Aug 25, 2011 at 5:23 PM, Ben Lindstrom wrote: >> >> There seems to be an issue with the cmake script and SLES11 SP1. >> >> I had to make the following hack around: >> >> $ diff -u ../FreeRDP-FreeRDP-1.0-9b40f80/CMakeLists.txt CMakeLi

[Freerdp-devel] FreeRDP 1.0 woes..

2011-08-25 Thread Ben Lindstrom
There seems to be an issue with the cmake script and SLES11 SP1. I had to make the following hack around: $ diff -u ../FreeRDP-FreeRDP-1.0-9b40f80/CMakeLists.txt CMakeLists.txt --- ../FreeRDP-FreeRDP-1.0-9b40f80/CMakeLists.txt 2011-08-25 13:11:45.0 -0500 +++ CMakeLists.txt