Thread: [Cppcms-users] build on Win 8 with MS VC 2013 using cmake
Brought to you by:
artyom-beilis
|
From: Tamas F. <fek...@ou...> - 2014-08-19 15:40:32
|
Hello, I did a research in the old letters and I found nothing to my problem. I have Win 8.1 and MS CV 2013 express.I installed the mandatory dependencies (only them).I also installed the CMAKE. I run the CMAKE GUI and press configure and I get lots of red lines. :-) Did someone try to install on similar way like mine? (and an additional question: I also want very good design/UI to my web service. Does this framework support it? or should I search after other C++ lib like Wt? Which is a better if I want complex UI/desing?) Thanks, Tamás |
|
From: Ross R. <ros...@gm...> - 2014-08-19 15:55:47
|
I have tried to compile with Windows multiple times because my work machine is Windows and my home PC is a windows gaming machine. All I found was pain. Once I got it to compile and then I had some weird non-POSIX compliance issue that cratered the effort at run time. Ultimately, it really wasn't worth the hassle.... I'd recommend putting Ubuntu on a machine, dual booting into Ubuntu, or running Ubuntu inside of a virtualbox instance on your Windows machine. However, if you do get Windows running smoothly, let this list know as I am interested in such a solution. Good luck. - Ross On Tue, Aug 19, 2014 at 8:40 AM, Tamas Fekete <fek...@ou...> wrote: > Hello, > > I did a research in the old letters and I found nothing to my problem. > > > - I have Win 8.1 and MS CV 2013 express. > - I installed the mandatory dependencies (only them). > - I also installed the CMAKE. > > > I run the CMAKE GUI and press configure and I get lots of red lines. :-) > > *Did someone try to install on similar way like mine?* > > (and an additional question: I also want very good design/UI to my web > service. Does this framework support it? or should I search after other C++ > lib like Wt? Which is a better if I want complex UI/desing?) > > Thanks, Tamás > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: Ross R. <ros...@gm...> - 2014-08-19 16:00:34
|
As regards your question about UI - I'd recommend taking a look at creating your front-end with AngularJS using yeoman.io scaffolding combined with Bootstrap CSS <http://getbootstrap.com/> . Then you can choose your server back-end orthogonally to your UI/front-end design. Anyways, that's just my opinion. - Ross On Tue, Aug 19, 2014 at 8:55 AM, Ross Rogers <ros...@gm...> wrote: > I have tried to compile with Windows multiple times because my work > machine is Windows and my home PC is a windows gaming machine. All I found > was pain. Once I got it to compile and then I had some weird non-POSIX > compliance issue that cratered the effort at run time. Ultimately, it > really wasn't worth the hassle.... I'd recommend putting Ubuntu on a > machine, dual booting into Ubuntu, or running Ubuntu inside of a virtualbox > instance on your Windows machine. > > However, if you do get Windows running smoothly, let this list know as I > am interested in such a solution. > > Good luck. > > - Ross > > > On Tue, Aug 19, 2014 at 8:40 AM, Tamas Fekete <fek...@ou...> > wrote: > >> Hello, >> >> I did a research in the old letters and I found nothing to my problem. >> >> >> - I have Win 8.1 and MS CV 2013 express. >> - I installed the mandatory dependencies (only them). >> - I also installed the CMAKE. >> >> >> I run the CMAKE GUI and press configure and I get lots of red lines. :-) >> >> *Did someone try to install on similar way like mine?* >> >> (and an additional question: I also want very good design/UI to my web >> service. Does this framework support it? or should I search after other C++ >> lib like Wt? Which is a better if I want complex UI/desing?) >> >> Thanks, Tamás >> >> >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > |
|
From: Erasmo A. <eag...@ho...> - 2014-08-19 22:00:57
|
Hello Tamás, In order to avoid compilation and linkage problems, you need to build all dependencies with the same compiler you are going to build the intended source code. I tried to build CppCMS with Visual C++, but I could not link to PCRE because apparently it does not build correctly with Visual C++. That is why I decided to use MinGW. In fact, I built CppCMS with MinGW-w64 successfully. As for your UI question, I recommend you to use a Web UI Framework like Bootstrap or Metro UI CSS. You can also use jQuery UI. Hope it helps. Erasmo. De: Tamas Fekete [mailto:fek...@ou...] Enviado el: martes, 19 de agosto de 2014 09:40 a.m. Para: cpp...@li... Asunto: [Cppcms-users] build on Win 8 with MS VC 2013 using cmake Hello, I did a research in the old letters and I found nothing to my problem. * I have Win 8.1 and MS CV 2013 express. * I installed the mandatory dependencies (only them). * I also installed the CMAKE. I run the CMAKE GUI and press configure and I get lots of red lines. :-) Did someone try to install on similar way like mine? (and an additional question: I also want very good design/UI to my web service. Does this framework support it? or should I search after other C++ lib like Wt? Which is a better if I want complex UI/desing?) Thanks, Tamás |
|
From: Artyom B. <art...@ya...> - 2014-08-20 15:35:15
|
See, When building CppCMS for windows you should have pcre and zlib built first (actually you can even build it with PCRE only). You should pay attention to this: http://cppcms.com/wikipp/en/page/notes_for_windows_users carefully. Create a directory with 3rd part libraries - it would make you life much easier. I'd also recommend using DLLs only as it would make life even simpler. Split the debug and the release builds... Finally it isn't that hard to build CppCMS on windows but you should get used to command line nmake. In any case it would be very hard and tricky to use CppCMS with IIS: http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config#IIS Of course using any decent Linux distribution is much simpler... not talking about better ;-) Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Tamas Fekete <fek...@ou...> >To: "cpp...@li..." <cpp...@li...> >Sent: Tuesday, August 19, 2014 6:40 PM >Subject: [Cppcms-users] build on Win 8 with MS VC 2013 using cmake > > > > >Hello, > >I did a research in the old letters and I found nothing to my problem. > > > * I have Win 8.1 and MS CV 2013 express. > * I installed the mandatory dependencies (only them). > * I also installed the CMAKE. >I run the CMAKE GUI and press configure and I get lots of red lines. :-) > >Did someone try to install on similar way like mine? > >(and an additional question: I also want very good design/UI to my web service. Does this framework support it? or should I search after other C++ lib like Wt? Which is a better if I want complex UI/desing?) > >Thanks, Tamás > >------------------------------------------------------------------------------ > >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: mm <mar...@gm...> - 2014-12-02 11:10:13
|
Erasmo Aguilera <eaguilerai@...> writes: > > > Hello Tamás, > > In order to avoid compilation and linkage problems, you need to build all dependencies with the same compiler you are going to build the intended source code. I tried to build CppCMS with Visual C++, but I could not link to PCRE because apparently it does not build correctly with Visual C++. That is why I decided to use MinGW. In fact, I built CppCMS with MinGW-w64 successfully. > > As for your UI question, I recommend you to use a Web UI Framework like Bootstrap or Metro UI CSS. You can also use jQuery UI. > > Hope it helps. > > Erasmo. > > De: Tamas Fekete [mailto:fek...@ou...] Enviado el: martes, 19 de agosto de 2014 09:40 a.m.Para: cpp...@li...: [Cppcms-users] build on Win 8 with MS VC 2013 using cmake > > Hello,I did a research in the old letters and I found nothing to my problem. > > I have Win 8.1 and MS CV 2013 express. > I installed the mandatory dependencies (only them). > I also installed the CMAKE. > > I run the CMAKE GUI and press configure and I get lots of red lines. Did someone try to install on similar way like mine?(and an additional question: I also want very good design/UI to my web service. Does this framework support it? or should I search after other C++ lib like Wt? Which is a better if I want complex UI/desing?)Thanks, Tamás > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ Hi, i'm trying to build cppcms on Windows but i can't get it. It's turning very hard. Does anybody have a compiled version for windows? Thanks a lot, regards! |
|
From: Nhân Lê Đ. <nh...@gm...> - 2014-12-19 13:16:31
|
To build CppCMS on Windows, first need to download third party libs: pcre and zlib. http://gnuwin32.sourceforge.net/packages/pcre.htm http://gnuwin32.sourceforge.net/packages/zlib.htm Note: download developer files. Open console via "VS2013 x86 Native Tools Command Prompt", not the default cmd. Set following environment variables: set PATH=d:\workpj\cppcms\vendor\pcre\lib;%PATH% set PATH=d:\workpj\cppcms\cppcms-1.0.4\build\booster;%PATH% cd to cppcms source code, create new folder named "build" and cd to it. Run cmake to generate *nmake* project files: cmake -G "NMake Makefiles" -DCMAKE_INCLUDE_PATH=d:\workpj\cppcms\vendor\pcre\include;d:\workpj\cppcms\vendor\zlib\include -DCMAKE_LIBRARY_PATH=d:\workpj\cppcms\vendor\pcre\lib;d:\workpj\cppcms\vendor\zlib\lib -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=d:\workpj\cppcms\svn\framework\trunk .. Build project by running nmake Above are my installed paths, you need to modify for your usage. |