Re: [Cppcms-users] Visual Studio 2015
Brought to you by:
artyom-beilis
From: Artyom B. <art...@gm...> - 2016-07-05 07:18:23
|
On Tue, Jul 5, 2016 at 2:27 AM, Info Conkreter.de <in...@co...> wrote: > Yes I found that link too. Strange that I cannot outout CppCms as Visual > studio Projects with Cmake. Then building is way more easy. It isn't. MSVC has two independent and incompatable runtimes Release and Debug. If you by mistake link release to debug binaries or other way around you'll get crashes and multiple issues all over your code. The debug and release builds are "buillt-in" into projects/solutions - this means the CMake should find _all_ relevant libraries for both flavors and pic correct ones. The naming convension for release/debug libraries is not standardized and it is very problematic and error prone. That is why it is much safer to run separate builds with separate and independent runs knowing that use wouldn't switch in project Debug to Release and make damage that I can't fix. > And this error is gone but a many linker mistakes appear. What error with dbghelp.lib or other linker errors? Regarding dbghelp I suspect some misconfiguration between compiler and directories. > We have an existent Windows codebase and we really cant port to linux. I tried CppCMS under Ubuntu and > it is great fun working with it. But we need a Windows solution. > CppCMS works well on windows. But build procedure on Windows with multiple dependencies is __always__ tricky for any kind of project. It is clear but you need to very verbose in the data you provide: 1. Use terminal (via VS menu) only - don't use CMake GUI or stuff like that because you don't know what compiler it will pic without a content of the 2. Add -DCMAKE_VERBOSE_MAKEFILE=TRUE option so I can see exact parameters passed to compiler and linker 3. Make CLEAN build from start - cmake than nmake - increase history of the terminal windows and the content of the window paste there (NOT screenshot!) - full content from the first cmake command you run to the last error. 4. Once again - always add CMakeCache.txt - for example in previous mail I have seen you specified PUTH instead of PATH in one of the parameters. One last stuff if you see a error that compiler prints in German - can you please translate what it tells because the only clue in the screenshot was error code given by MSVC compiler. Once again: read this: http://cppcms.com/wikipp/en/page/notes_for_windows_users#Building.and.using.CppCMS.under.Visual.Studio I'd also suggest to start from pcre and zlib dependencies only and see that all works and later add ICU. Artyom > No freelance or someone who can make it work and send it over? > > Kind Regards > Adrian Kreter > > > maybe this helps (I have no idea of windows developing, why don't you > give linux a try? ;) ) > > http://stackoverflow.com/questions/9522834/unresolved-symbol-errors-within-dll > > Regards > Marcel > > > Ps. next time try to output english errors and not the german ones :) > > On 07/04/2016 03:04 PM, ConKreter wrote: >> Now I tried with the 64bit dev console and with NMAKE (all dependencies are >> also with 64bit). >> http://puu.sh/pPTjN/4a44d08941.png >> >> Hope we can figure it out. I would love to work with my team with your library. >> Kind Regards >> Adrian Kreter >> >> -----Ursprüngliche Nachricht----- >> Von: Artyom Beilis [mailto:art...@gm...] >> Gesendet: Sonntag, 3. Juli 2016 20:42 >> An: cpp...@li... >> Betreff: Re: [Cppcms-users] Visual Studio 2015 >> >> 1st read the instructions _carefully_ >> >> http://cppcms.com/wikipp/en/page/cppcms_1x_build >> http://cppcms.com/wikipp/en/page/notes_for_windows_users >> >> You are clearly trying to use MSVC project instead of nmake makefiles. >> MSVC projects are not supported. >> >> If it still fails bring the full output of cmake and nmake runs + >> CMakeCache.txt file content in the build directory. >> >> Artyom Beilis >> >> On Sun, Jul 3, 2016 at 3:46 PM, ConKreter <in...@co...> wrote: >>> Some symbols are not defined. Some symbols are defined twice. >>> http://puu.sh/pOHTu/1ae250688e.png >>> >>> Main Problem seems to be booster. It is completely failing. >>> Is someone using it on windows? >>> Help would be awesome. If someone has a complete folder with all >>> features and dependencies for MWSC 2015 I would happily buy it. >>> >>> -----Ursprüngliche Nachricht----- >>> Von: Artyom Beilis [mailto:art...@gm...] >>> Gesendet: Samstag, 2. Juli 2016 21:17 >>> An: cpp...@li... >>> Betreff: Re: [Cppcms-users] Visual Studio 2015 >>> >>> What problems do you have? What dependencies you fail to build. >>> >>> The bare minimal dependencies to build CppCMS with MSVC are: >>> >>> - cmake & Python2 (trivial to install) >>> - zlib and pcre - widely used libraries. >>> >>> So what exactly fails for you? >>> >>> >>> On Fri, Jul 1, 2016 at 2:12 AM, ConKreter <in...@co...> wrote: >>>> Hello everyone, >>>> >>>> was someone able to make it work with MSVC 2015? >>>> Could this person upload his folder with all dependencies? I cannot >>>> make it work. >>>> >>>> If needed I would pay for it. >>>> >>>> Kind Regards >>>> >>>> Adrian Kreter >>>> >>>> >>>> >>>> >>>> --------------------------------------------------------------------- >>>> - >>>> -------- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T >>>> Park in San Francisco, CA to explore cutting-edge tech and listen to >>>> tech luminaries present their vision of the future. This family event >>>> has something for everyone, including kids. Get more information and >>>> register today. >>>> http://sdm.link/attshape >>>> _______________________________________________ >>>> Cppcms-users mailing list >>>> Cpp...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>>> >>> >>> ---------------------------------------------------------------------- >>> ------ >>> -- >>> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in >>> San Francisco, CA to explore cutting-edge tech and listen to tech >>> luminaries present their vision of the future. This family event has >>> something for everyone, including kids. Get more information and register >>> today. >>> http://sdm.link/attshape >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >>> >>> >>> ---------------------------------------------------------------------- >>> -------- Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T >>> Park in San Francisco, CA to explore cutting-edge tech and listen to >>> tech luminaries present their vision of the future. This family event >>> has something for everyone, including kids. Get more information and >>> register today. >>> http://sdm.link/attshape >>> _______________________________________________ >>> Cppcms-users mailing list >>> Cpp...@li... >>> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> ------------------------------------------------------------------------------ >> Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San >> Francisco, CA to explore cutting-edge tech and listen to tech luminaries >> present their vision of the future. This family event has something for >> everyone, including kids. Get more information and register today. >> http://sdm.link/attshape >> >> >> >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> > > > > > ---------- > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > > > ---------- > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San > Francisco, CA to explore cutting-edge tech and listen to tech luminaries > present their vision of the future. This family event has something for > everyone, including kids. Get more information and register today. > http://sdm.link/attshape > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users |