Oh, I see. I have been trying to build everything from within visual studio. I thought that the "cmake . -G"Visual Studio 11 Win64" just configured the solution file so that it would compile from within the IDE. My mistake here.
On Tue, Aug 20, 2019 at 7:24 AM Armin Novak via FreeRDP-devel < freerdp-devel@lists.sourceforge.net> wrote: > It works the same, ignore the solution files. > > Am August 20, 2019 11:18:51 AM UTC schrieb Lonnie Cumberland < > lon...@outstep.com>: > >Morning Armin, > > > >I'll give that a try. > > > >On thing though, didn't I read in your documentation for the VS Express > >2012 that you are just supposed to start with "cmake . -G"Visual Studio > >11 > >Win64" first which generates the .sln VS solution file and then you are > >suppose to add the defines from within the IDE? > > > >When I build on Linux, my build cmake string looks like: > > > >------------------ > >cmake -GNinja -DCHANNEL_URBDRC=ON -DWITH_DSP_FFMPEG=ON -DWITH_CUPS=ON > >-DWITH_PULSE=ON -DWITH_FAAD2=ON -DWITH_GSM=ON -DWITH_JPEG=ON > >-DWITH_SERVER=ON -DMONOLITHIC_BUILD=ON -DBUILD_SHARED_LIBS=OFF .. > > > >cmake --build . > >------------------ > > > >Can I do the similar thing plus adding the SSE2 define that you > >mentioned. > >Thanks again, > >Lonnie > > > > > >On Tue, Aug 20, 2019 at 2:15 AM Armin Novak via FreeRDP-devel < > >freerdp-devel@lists.sourceforge.net> wrote: > > > >> Ok, you're missing some assembly stuff. > >> > >> Just tryADDING -DWITH_SSE2=OFF TO cmake configuration. > >> > >> Regards > >> Armin > >> > >> Am August 20, 2019 1:27:40 AM UTC schrieb Lonnie Cumberland < > >> lon...@outstep.com>: > >> >Hi Armin, > >> > > >> >I just got around to trying to re-compile FreeRDP using the VS 2012 > >> >Express. > >> > > >> >The errors that I mentioned in my last post about this are as > >follows: > >> > > >> >Error 328 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 53 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 329 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 54 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 330 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 55 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 331 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 57 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 332 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 60 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 333 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 61 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 334 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 62 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 335 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 64 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 336 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 67 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 337 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 68 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 338 error C2440: 'initializing' : cannot convert from > >'__m128i' > >> >to > >> >'char' C:\freerdp\FreeRDP\libfreerdp\primitives\prim_YUV_ssse3.c 70 > >1 > >> >freerdp (FreeRDP\libfreerdp\freerdp) > >> >Error 379 error LNK1104: cannot open file '..\..\Debug\freerdp2.lib' > >> >C:\freerdp\FreeRDP\client\common\LINK freerdp-client > >> > > >> >There were also about 367 Warnings regarding conversions and other > >> >similar > >> >things. > >> > > >> >This was just the native compile via the generated solution file ( > >> > > >> > > > https://github.com/FreeRDP/FreeRDP/wiki/Build-on-Windows-Visual-C---2012-(32-and-64-bit) > >> ) > >> >and I had not tried to figure out a VS build file for the "Shadow > >> >Server" > >> >yet. Do you have one of those setup that I can get? > >> > > >> >Cheers, > >> >Lonnie > >> > > >> > > >> > > >> >On Mon, Aug 19, 2019 at 7:01 AM Lonnie Cumberland > ><lon...@outstep.com> > >> >wrote: > >> > > >> >> Hi Armin, > >> >> > >> >> I was going to try a newer version of VS but since your recipe > >called > >> >for > >> >> either VS 2010 Express or VS 2012 Express ( > >> >> https://github.com/FreeRDP/FreeRDP/wiki/Compilation) I used the > >2012 > >> >> version since I was hoping to minimize any compile issues and to > >> >replicate > >> >> the builds that you have already had success. > >> >> > >> >> What version of VS has you had success with? Please let me know > >and > >> >I > >> >> will try to use it as the goal if this part of my test is to see > >if I > >> >can > >> >> build the FreeRDP Shadow Server for the Windows platform as well. > >I > >> >have > >> >> already been able to do it for the Linux (Ubuntu 18.04) side with: > >> >> > >> >> --------------- > >> >> > >> >> cmake -GNinja -DCHANNEL_URBDRC=ON -DWITH_DSP_FFMPEG=ON > >-DWITH_CUPS=ON > >> >> -DWITH_PULSE=ON -DWITH_FAAD2=ON -DWITH_GSM=ON -DWITH_JPEG=ON > >> >> -DWITH_SERVER=ON -DMONOLITHIC_BUILD=ON -DBUILD_SHARED_LIBS=OFF .. > >> >> > >> >> cmake --build . > >> >> ----------------------- > >> >> > >> >> On the Linux text, I was able run the shadow server on Ubuntu > >18.04 > >> >> (64-bit) and connect from a Windows 7 Pro (64-bit) RDP client. The > >> >shadow > >> >> server seems to show that the plugins were loaded but the sound > >did > >> >not > >> >> come across when I did a quick test (did not check for the other > >> >plugin > >> >> capabilities yet.). > >> >> > >> >> What I would like to do is to build the shadow server possibly > >with > >> >static > >> >> libraries to minimize library dependencies and then collect all of > >> >the > >> >> binaries, and support files in a directory so that I can package > >up > >> >the > >> >> binary build to put on another system, but not sure of the best > >way > >> >to go > >> >> about this yet. > >> >> > >> >> You had a great suggestion about me looking into using the shadow > >> >server > >> >> and I think that it will make an AWESOME base for me to build > >from. > >> >> > >> >> Any ideas on the best way to have a static build and package up > >the > >> >> binaries? I thought that I saw a setting somewhere in my FreeRDP > >> >reading > >> >> that allowed for static builds, but will have to go back to try > >and > >> >find > >> >> that information, if I was correct. > >> >> > >> >> All-in-all, I would say that things are off to a very good start > >and > >> >I ml > >> >> eager to see what I can do with the shadow server across the > >> >platforms > >> >> initially after which I want to start customizing things in it for > >> >the > >> >> seamless mode effort. > >> >> > >> >> Cheers, > >> >> Lonnie > >> >> > >> >> On Mon, Aug 19, 2019 at 3:39 AM Armin Novak via FreeRDP-devel < > >> >> freerdp-devel@lists.sourceforge.net> wrote: > >> >> > >> >>> Hi Lonnie, > >> >>> > >> >>> > >> >>> not entirely sure the window shadow port is currently working > >(not > >> >much > >> >>> activity for some time) just a note: > >> >>> > >> >>> try more recent VS, the newer the better (they now actually > >support > >> >C99) > >> >>> > >> >>> As for compilation issues, some hint what is not compiling would > >be > >> >>> helpful to diagnose. > >> >>> > >> >>> > >> >>> regards > >> >>> > >> >>> Armin > >> >>> > >> >>> On 8/19/19 1:39 AM, Lonnie Cumberland via FreeRDP-devel wrote: > >> >>> > Hi All, > >> >>> > > >> >>> > Just a quick update. The VS 2012 Express build did not work and > >I > >> >got a > >> >>> > bunch of conversion errors. > >> >>> > > >> >>> > Maybe I need to get another Visual Studio to try? > >> >>> > > >> >>> > Any ideas? > >> >>> > Thanks > >> >>> > > >> >>> > On Sun, Aug 18, 2019 at 7:36 PM Lonnie Cumberland > >> ><lon...@outstep.com> > >> >>> > wrote: > >> >>> > > >> >>> >> Hi All, > >> >>> >> > >> >>> >> I normally run on Ubuntu 18.04 ()64-bit) but I would like to > >> >build the > >> >>> >> FreeRDP Shadow Server on a Windows 7 Pro (64-bit) system. > >> >>> >> > >> >>> >> I have installed Visual Studio 2012 Express and the other > >> >requirements. > >> >>> >> Now I have just opened the sln (VS Solution) file and am > >trying a > >> >>> default > >> >>> >> build from the Visual Studio environment. > >> >>> >> > >> >>> >> Can you please tell me how to build the Shadow Server either > >by > >> >the > >> >>> Visual > >> >>> >> Studio 2012 IDE environment or by the command line, or both? > >> >>> >> > >> >>> >> Thanks in advance, > >> >>> >> Lonnie > >> >>> >> > >> >>> >> > >> >>> > _______________________________________________ > >> >>> > FreeRDP-devel mailing list > >> >>> > FreeRDP-devel@lists.sourceforge.net > >> >>> > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > >> >>> > >> >>> > >> >>> _______________________________________________ > >> >>> FreeRDP-devel mailing list > >> >>> FreeRDP-devel@lists.sourceforge.net > >> >>> https://lists.sourceforge.net/lists/listinfo/freerdp-devel > >> >>> > >> >> > >> > >> > >> _______________________________________________ > >> FreeRDP-devel mailing list > >> FreeRDP-devel@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/freerdp-devel > >> > > > _______________________________________________ > FreeRDP-devel mailing list > FreeRDP-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/freerdp-devel > _______________________________________________ FreeRDP-devel mailing list FreeRDP-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freerdp-devel