Hi Régis, Visual Studio 2017 supports CMake. By setting some environment for MKL and boost, I was able to compile the dll and the test program too. By looking at the compiler options used for the test code, I was also able to compile my code. Thank you,
Alessandro Alessandro Mori Computational ElectroMagnetic Engineering System Analyst IDS Ingegneria Dei Sistemi S.p.A. www.idscorporation.com Pisa Headquarters: Via Enrica Calabresi, 24 - Loc. Montacchiello 56121 Pisa (PI) - Italy Tel: +39 050 3124 289 Fax: +39 050 3124 201 e-mail: [email protected] ****************************************************************************************************************************************************** This email and any attachments are confidential and is intended only for the use of the intended addressee thereof. If you are not the intended addressee, please be aware that any use, disclosure, distribution and/or copying of this communication, either whole or partial, is strictly prohibited. If you receive this communication in error, please notify the sender immediately and delete it from your computer. ******************************************************************************************************************************************************** -----Original Message----- From: regis lebrun <[email protected]> Sent: giovedì 26 marzo 2020 22:02 To: [email protected]; Mori Alessandro <[email protected]> Subject: Re: [ot-users] use openTurns dll in c++ Hi Alessandro, Long times ago we were producing a kind of native Windows version of the C++ library, see https://sourceforge.net/projects/openturns/files/openturns/openturns-1.7/dev/ for the last version we produced. Since then, the interest for such a native port has decreased and it was not worth the burden to produce it. Nevertheless, as we still compile and test the library on Windows during the continuous integration process (using both VS 10 and VS 14 on appveyor) it should not be too much difficult to revivid this Windows version. So you can play with the old 1.7 version to see if it fits your needs, and on our side we will have a look at how to give you access to a kind of experimental native Windows version, if either VS 10 or VS 14 is ok for you. Cheers Régis Le jeudi 26 mars 2020 à 21:17:17 UTC+1, Mori Alessandro <[email protected]> a écrit : Hi, I am new with OpenTURNS. I started to play with it in Python, but I would like also to do this in a c++ code (msvc). So, I looked for a message about the use of a distributed openTURNS dll instead to compile a native version. I found just an old message (http://openturns.org/pipermail/users/2011/000003.html) ruling that out. Does anyone know if now I still need to compile the sources? Thanks and best regards, Alessandro _______________________________________________ OpenTURNS users mailing list [email protected] http://openturns.org/mailman/listinfo/users _______________________________________________ OpenTURNS users mailing list [email protected] http://openturns.org/mailman/listinfo/users
