On Wed, 2010-09-29 at 13:07 +0100, Oscar Pernas wrote: > Hi, > > > I've still having this errors with visual studio 2008 express, this is the > log: >
Added some missing preprocessor definitions to the Project files in SVN, you can check out the latest changes from the 3.2.x fixes branch to get the fix. svn co https://svn.apache.org/repos/asf/activemq/activemq-cpp/branches/activemq-cpp-3.2.x activemq-cpp-3.2.x Regards > ------ Build started: Project: activemq-cpp, Configuration: Release-SSL > Win32 ------ > Compiling... > System.cpp > ..\src\main\decaf\lang\System.cpp(389) : error C2664: 'strlen' : cannot > convert parameter 1 from 'LPTSTR' to 'const char *' > Types pointed to are unrelated; conversion requires > reinterpret_cast, C-style cast or function-style cast > ..\src\main\decaf\lang\System.cpp(395) : error C2664: > 'std::vector<_Ty>::push_back' : cannot convert parameter 1 from 'LPTSTR' to > 'const std::string &' > with > [ > _Ty=std::string > ] > Reason: cannot convert from 'LPTSTR' to 'const std::string' > No constructor could take the source type, or constructor overload > resolution was ambiguous > ..\src\main\decaf\lang\System.cpp(396) : error C2664: 'strlen' : cannot > convert parameter 1 from 'LPTSTR' to 'const char *' > Types pointed to are unrelated; conversion requires > reinterpret_cast, C-style cast or function-style cast > > > Anyone has tried before to compile releaseSSL version in windows? > > 2010/9/28 Oscar Pernas <os...@pernas.es> > > > there is no option to compile activemq-cpp in visual studio 2005? Im going > > to try to download visual studio 2008 and I'll let you know. > > > > thanks! > > > > > > 2010/9/28 Timothy Bish <tabish...@gmail.com> > > > >> > >> > >> On Tue, 2010-09-28 at 11:55 +0100, Oscar Pernas wrote: > >> > yes sorry, I'd read somewhere that I had to change the Version="9.00" > >> to > >> > Version="8.00" in vcproj to try to open project with visual 2005 ( i > >> can't > >> > use vs2008).. this cause the compile errors? > >> > > >> > > >> > >> Not that I'm aware of. You might want to download a copy of VS2008 > >> Express and give it a try just as a sanity check. > >> > >> Regards > >> > >> > >> > > >> > 2010/9/28 Timothy Bish <tabish...@gmail.com> > >> > > >> > > On Tue, 2010-09-28 at 09:59 +0100, Oscar Pernas wrote: > >> > > > Hi all, > >> > > > > >> > > > > >> > > > Im trying to compile Activemq-CPP 3.2.3. My problem is that when I > >> try to > >> > > > compile SSL versions, I allways get compile errors: > >> > > > > >> > > > ..\src\main\decaf\lang\System.cpp(389) : error C2664: 'strlen' : > >> cannot > >> > > > convert parameter 1 from 'LPTSTR' a 'const char *' > >> > > > ..\src\main\decaf\lang\System.cpp(395) : error C2664: > >> > > > 'std::vector<_Ty>::push_back' : cannot convert parameter 1 1 de > >> 'LPTSTR' > >> > > a > >> > > > 'const std::string &' > >> > > > > >> > > > > >> > > > any idea? > >> > > > > >> > > > >> > > > >> > > That particular bit of code hasn't changed in some time and has built > >> > > with VS2005, VS2008 and VS2010. Have you changed any project settings > >> > > in the supplied VS project files? > >> > > > >> > > Regards > >> > > > >> > > -- > >> > > Tim Bish > >> > > > >> > > Open Source Integration: http://fusesource.com > >> > > > >> > > Follow me on Twitter: http://twitter.com/tabish121 > >> > > My Blog: http://timbish.blogspot.com/ > >> > > > >> > > > >> > > >> > > >> > >> -- > >> Tim Bish > >> > >> Open Source Integration: http://fusesource.com > >> > >> Follow me on Twitter: http://twitter.com/tabish121 > >> My Blog: http://timbish.blogspot.com/ > >> > >> > > > > > > -- > > Óscar Pernas Plaza. > > > > > -- Tim Bish Open Source Integration: http://fusesource.com Follow me on Twitter: http://twitter.com/tabish121 My Blog: http://timbish.blogspot.com/