Re: [Cppcms-users] Some compilation errors when trying to build cppCms
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-02-19 22:06:05
|
Hello, How do you build? I've tested the latest release with MSVC 2010 and it worked fine. Few points: 1. Make sure you are using nmake make files and **not** visual studio projects! VS projects for building CppCMS library ARE NOT SUPPORTED. If it still fails: 1. Please provide a full output of the cmake and then nmake runs. 2. Give the content of autogenerated cppcms/config.h and booster/build_config.h (it seems that something wrong with them) Artyom Beilis ------------- Support CppCMS by donating money: https://sourceforge.net/donate/index.php?group_id=209965 >________________________________ > From: Vizcayno <viz...@gm...> >To: cpp...@li... >Sent: Saturday, February 18, 2012 8:14 PM >Subject: [Cppcms-users] Some compilation errors when trying to build cppCms > >Hello: >I downloaded last version of cppCms (using svn). >The cmake 2.8.7 configured and generated the necessary elements for compiling. >When trying to build using MS-VC++ 2010 the next initial errors do not let me >continue, it is not the intention that you solve everything, but to receive >some guidelines on how to solve them; may be I am loosing something in the >cmake configuration: > >IntelliSense: identifier "snprintf" is undefined > c:\apps\instapps\cppcms\src\json.cpp line:240 col:7 cppcms > >error C3861: 'atoll': identifier not found > C:\apps\instApps\cppcms\src\http_request.cpp Line:233 col:1 cppcms > >error C1001: An internal error has occurred in the compiler. > c:\apps\instapps\cppcms\booster\lib\aio\src\reactor.cpp 710 1 > booster > >error C3861: 'inet_ntop': identifier not found > C:\apps\instApps\cppcms\booster\lib\aio\src\endpoint.cpp 189 > 1 booster > >error C2228: left of '.sin6_port' must have class/struct/union > C:\apps\instApps\cppcms\booster\lib\aio\src\endpoint.cpp 157 > 1 booster >error C2065: 'INET6_ADDRSTRLEN' : undeclared identifier > C:\apps\instApps\cppcms\booster\lib\aio\src\endpoint.cpp 188 > 1 booster > >error C2039: 'inet_pton' : is not a member of '`global namespace'' > C:\apps\instApps\cppcms\booster\lib\aio\src\endpoint.cpp 104 > 1 booster > >My best regards. > > > >------------------------------------------------------------------------------ >Virtualization & Cloud Management Using Capacity Planning >Cloud computing makes use of virtualization - but cloud computing >also focuses on allowing computing to be delivered as a service. >http://www.accelacomm.com/jaw/sfnl/114/51521223/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |