Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » Cripto with Botan
Re: Cripto with Botan [message #22329 is a reply to message #22327] Fri, 03 July 2009 21:33 Go to previous messageGo to previous message
koldo is currently offline  koldo
Messages: 3357
Registered: August 2008
Senior Veteran
Hello Rui

Just my last post before vacation.

It has happen the same to me: Good compiling with Msc9 but problems with MinGW (gcc 4.4.0).

We have a problem: Botan compiling infrastructure make some ad hoc .h files and choose the right .cpp set of files depending on for example OS and compiler Sad. I do not know how to do that in Upp.

I have tried to compile in Upp the Msc version, taking the right set of .cpp files (after checking the configure output...) and using the command line options as you have indicated in your post. But I have found compiling problems in some files.

I am trying a solution:
- For the .cpp ... use the libbotan.lib compiled with the command line configure
- For the .h, I have checked that both msc and mingw have many common .h files but only 3 different, so I have created 3 dummy .h files with this:

build.h
#if defined(__MINGW32__)
#include <mingw/build.h>
#elif defined(_MSC_VER)
#include <msc/build.h>
#endif


This way it is very simple to update the library. The drawback is that you cannot debug inside.

Best regards
Koldo


Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Old version in getdeb
Next Topic: an efficient embedded database library
Goto Forum:
  


Current Time: Thu Apr 25 01:34:39 CEST 2024

Total time taken to generate the page: 0.04619 seconds