This page is meant to collect the problems found with the Microsoft Visual C++ 9 compiler and few comments about them. The aim is to understand the usefulness of the VC9 compiler compared with the other tools we have at our disposal (gcc, icc, Coverity, Eclipse...).

-- 2011-01-20

..\src\FFPlan\RichFFPlan.cpp(8) : fatal error C1083: Cannot open include file: 'fftw3.h': No such file or directory 
Problem in the installation of the externals for VC9.

..\src\ANNSvc.cpp(215) : error C2326: 'std::vector<_Ty> ANNSvc::keys(const IANNSvc::major_key_type &) const' : function cannot access 'std::pair<_Ty1,_Ty2>::first'
under investigation

..\src\TrackTrajFitter.cpp(94) : error C2784: 'StatusCode ITrajFitter::fit(LHCb::DifTraj<N> &,std::vector<std::pair<double,ROOT::Math::SMatrix<double,1,N>>> &,const LHCb::Measurement::Vector &) const' : could not deduce template argument for 'LHCb::DifTraj<N> &' from 'LHCb::LineDifTraj'
It seems that the template system of VC9 is not able to detect that N = 4, because the first argument inherits from LHCb::DifTraj<4>. It may be a VC9-only problem.
The affected code is obsolete, so it may be that VC9 detected the problem because it went further than others to compile inside templates...

-- MarcoClemencic - 20-Jan-2011

This topic: LHCb > SoftwareProblemFoundWithVC9
Topic revision: r1 - 2011-01-20 - MarcoClemencic
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback