Re: [Cppcms-users] RES: Run on Windows 7
Brought to you by:
artyom-beilis
From: Artyom <art...@ya...> - 2011-03-23 15:25:36
|
Hi, If you have for example: c:\pcre\include\pcre.h c:\pcre\lib\pcre.lib c:\pcre\bin\pcre.dll Then you need to provide -DCMAKE_INCLUDE_PATH=c:\pcre\include -DCMAKE_LIBRARY_PATH=c:\pcre\lib Same for zlib. Artyom ----- Original Message ---- > From: Renato Forti <re....@ay...> > To: cpp...@li... > Sent: Wed, March 23, 2011 5:08:54 PM > Subject: [Cppcms-users] RES: Run on Windows 7 > > Hi Thanks for help, > > Like this: > > cmake -G "NMake Makefiles" -DUSE_WINDOWS6_API=ON -DCMAKE_BUILD_TYPE=Release > -DCMAKE_INSTALL_PREFIX=C:\cppcms-0.99.6 -CMAKE_INCLUDE_PATH=C:\pcre-8.12; > C:\zlib-1.2.5 -CMAKE_LIBRARY_PATH=C:\pcre-8.12; > C:\zlib-1.2.5\contrib\vstudio\vc9\x86\ZlibDllRelease > > don't work :( > > I must create a "include" and a "lib" in my "C:\"and copy all *.h and *.lib > *.dll of zlib-1.2.5 and pcre-8.12 in it? Is this? > > For sample: > > cmake -G "NMake Makefiles" -DUSE_WINDOWS6_API=ON -DCMAKE_BUILD_TYPE=Release > -DCMAKE_INSTALL_PREFIX=C:\cppcms-0.99.6 -CMAKE_INCLUDE_PATH=C:\include > -CMAKE_LIBRARY_PATH=C:\lib > > > Thanks :) > > -----Mensagem original----- > De: Artyom [mailto:art...@ya...] > Enviada em: quarta-feira, 23 de março de 2011 11:54 > Para: cpp...@li... > Assunto: Re: [Cppcms-users] Run on Windows 7 > > You need to provide path to locations of zlib and pcre. as > CMAKE_INCLUDE_PATH and CMAKE_LIBRARY_PATH > > >PCRE_LIB > > linked by target "booster" in directory C:/cppcms-0.99.6/booster > > linked by target "booster-static" in directory > >C:/cppcms-0.99.6/booster ZLIB > > linked by target "cppcms" in directory C:/cppcms-0.99.6 > > linked by target "cppcms-static" in directory C:/cppcms-0.99.6 > >ZLIB_INCLUDE_DIR > > used as include directory in directory C:/cppcms-0.99.6 > > > >-- Configuring incomplete, errors occurred! > > > >C:\cppcms-0.99.6> > > > > > >WHAT IS THE PROBLEM? How to FIX? I have in my c:\ > > > >C:\zlib-1.2.5 > >C:\pcre-8.12 > > > >Thanks :) > > > > > > CMake does not know where to look for zlib and pcre, > > See examples: > http://art-blog.no-ip.info/wikipp/en/page/cppcms_1x_build#win32 > > I also can suggest to create something like > > c:\some_path\debug_libs > c:\some_path\release_libs > > And install PCRE and ZLIB in their debug and release configurations there so > you would not mess up with inconsistent versions of libraries. > > Artyom > > > > > > > > > > > > > ---------------------------------------------------------------------------- > -- > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses are > taking advantage of Intel(R) vPro (TM) technology - will your software be a > part of the solution? Download the Intel(R) Manageability Checker today! > http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > ------------------------------------------------------------------------------ > Enable your software for Intel(R) Active Management Technology to meet the > growing manageability and security demands of your customers. Businesses > are taking advantage of Intel(R) vPro (TM) technology - will your software > be a part of the solution? Download the Intel(R) Manageability Checker > today! http://p.sf.net/sfu/intel-dev2devmar > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |