[petsc-users] PETSC-LINK- Error-Using Complex Types

PEREZ CERQUERA MANUEL RICARDO manuel.perezcerquera at polito.it
Fri Oct 21 08:24:44 CDT 2011


Hi all

I build the complex version of Petsc. I used Microsoft 
Visual Stud . Run Petsc in this platform and got the 
following error:

Error 1        error LNK2019: unresolved external symbol> 
__invalid_parameter_noinfo referenced in function 
"public:> char & __thiscall std::basic_string<char,struct> 
std::char_traits<char>,class std::allocator<char>> 
>::operator[](unsigned int)"> 
(??A?$basic_string at DU?$char_traits at D@std@@V?$allocator at D@2@@std@@QAEAADI at Z) 
  libpetsc.lib(errtrace.o)

Error	2	 error LNK2001: unresolved external symbol 
__invalid_parameter_noinfo	libpetsc.lib(err.o)	
Error	3	 error LNK2001: unresolved external symbol 
__invalid_parameter_noinfo	libpetsc.lib(plog.o)	
Error	4	 fatal error LNK1120: 1 unresolved 
externals	Debug\PAtreju.exe	

Could someone tell me  how to resolve it.
Best regards Manuel

Eng. Manuel Ricardo Perez Cerquera. MSc. Ph.D student
Antenna and EMC Lab (LACE)
Istituto Superiore Mario Boella (ISMB)
Politecnico di Torino
Via Pier Carlo Boggio 61, Torino 10138, Italy
Email: manuel.perezcerquera at polito.it
Phone: +39 0112276704
Fax: +39 011 2276 299


More information about the petsc-users mailing list