[Boost.MathToolKit] compilation problem w/ VC7.1 & Boost 1.34.1
Hello, My request is related to the thread http://thread.gmane.org/gmane.comp.lib.boost.user/28535/focus=28613. After downloading & installing Boost 1.34.1 via the Windows Installer, I've tried to compile the following small code snippet: #include <boost/math/special_functions/erf.hpp> void main() { } But the compilation failed w/ the following errors: C:\Program Files\boost\boost_1_34_1\boost\math\special_functions\log1p.hpp(195) : error C2785: 'tools::promote_args<T>::type boost::math::log1p(T)' et 'double boost::math::log1p(double)' ont des types de retour différents C:\Program Files\boost\boost_1_34_1\boost\math\special_functions\math_fwd.hpp(246) : voir la déclaration de 'boost::math::log1p' C:\Program Files\boost\boost_1_34_1\boost\math\special_functions\log1p.hpp(182) : voir la déclaration de 'boost::math::log1p' C:\Program Files\boost\boost_1_34_1\boost\math\special_functions\log1p.hpp(195) : error C2912: spécialisation explicite ; 'double boost::math::log1p<double>(double)' n'est pas une spécialisation d'un modèle de fonction C:\Program Files\boost\boost_1_34_1\boost\math\special_functions\log1p.hpp(183) : fatal error C1903: impossible de récupérer à partir des erreurs précédentes ; arrêt de la compilation Compilation Conditions: - Windows XP Pro - Boost 1.34.1 w/ Math. Toolkit Headers files (extracted from Vault Directory) - Visual C++ 7.1 SP1: Version 7.1.6030 Does anyone know how to manage Math.ToolKit headers file w/ Boost 1.34.1 and VC++ 7.1.6030? Marc Viala, PhD Directeur Général/Directeur Technique 122 rue de la Roche-de-Lorzier 38430 MOIRANS Tél : +33 (0)4 76 91 37 60 Fax : +33 (0)4 76 35 00 07 www.acticm.com mailto:mviala@acticm.com
participants (1)
-
Marc Viala