Re: [Lapackpp-devel] Appreciation and suggestion
Status: Beta
Brought to you by:
cstim
From: Aosheng R. <ro...@gm...> - 2006-08-18 14:10:04
|
Christaian, Yes, I VCS lapackpp 2.4.12 with an addition of inverse of the complex-value matrix. I tested that it works on linux. But I have trouble on windows. I compiled lapackpp 2.4.12 on windows and run your tGenSolve with Testing Dir. It works. But when I compile my application that is transplanted into Windows from Linux, I got the following compiling errors(See below). My application has been succefully compiled under Linux using lapackpp 2.4.12. -------------------------------------------------------------Compiling Error Messages------------------------------------------------------------------------- 1>------ Build started: Project: Test5, Configuration: Debug Win32 ------ 1>Compiling... 1>SplitPowerPlane_driver.cc 1>e:\gnu\lapackpp-2.4.12\include\gmc.h(101) : warning C4251: 'LaGenMatComplex::v' : class 'VectorComplex' needs to have dll-interface to be used by clients of class 'LaGenMatComplex' 1> e:\gnu\lapackpp-2.4.12\include\vc.h(58) : see declaration of 'VectorComplex' 1>e:\gnu\lapackpp-2.4.12\include\gmc.h(665) : error C2375: 'operator <<' : redefinition; different linkage 1> e:\gnu\lapackpp-2.4.12\include\gmc.h(580) : see declaration of 'operator <<' 1>e:\gnu\lapackpp-2.4.12\include\gfqrc.h(54) : warning C4251: 'LaGenQRFactComplex::_tau' : class 'LaVectorComplex' needs to have dll-interface to be used by clients of class 'LaGenQRFactComplex' 1> e:\gnu\lapackpp-2.4.12\include\lavc.h(51) : see declaration of 'LaVectorComplex' 1>e:\gnu\lapackpp-2.4.12\include\gfqrc.h(56) : warning C4251: 'LaGenQRFactComplex::_work' : class 'LaVectorComplex' needs to have dll-interface to be used by clients of class 'LaGenQRFactComplex' 1> e:\gnu\lapackpp-2.4.12\include\lavc.h(51) : see declaration of 'LaVectorComplex' 1>e:\gnu\lapackpp-2.4.12\include\laexcp.h(51) : warning C4275: non dll-interface class 'std::runtime_error' used as base for dll-interface class 'LaException' 1> d:\microsoft visual studio\vc\include\stdexcept(149) : see declaration of 'std::runtime_error' 1> e:\gnu\lapackpp-2.4.12\include\laexcp.h(50) : see declaration of 'LaException' 1>SplitPowerPlane.cc 1>e:\gnu\lapackpp-2.4.12\include\gmc.h(101) : warning C4251: 'LaGenMatComplex::v' : class 'VectorComplex' needs to have dll-interface to be used by clients of class 'LaGenMatComplex' 1> e:\gnu\lapackpp-2.4.12\include\vc.h(58) : see declaration of 'VectorComplex' 1>e:\gnu\lapackpp-2.4.12\include\gmc.h(665) : error C2375: 'operator <<' : redefinition; different linkage 1> e:\gnu\lapackpp-2.4.12\include\gmc.h(580) : see declaration of 'operator <<' 1>e:\gnu\lapackpp-2.4.12\include\gfqrc.h(54) : warning C4251: 'LaGenQRFactComplex::_tau' : class 'LaVectorComplex' needs to have dll-interface to be used by clients of class 'LaGenQRFactComplex' 1> e:\gnu\lapackpp-2.4.12\include\lavc.h(51) : see declaration of 'LaVectorComplex' 1>e:\gnu\lapackpp-2.4.12\include\gfqrc.h(56) : warning C4251: 'LaGenQRFactComplex::_work' : class 'LaVectorComplex' needs to have dll-interface to be used by clients of class 'LaGenQRFactComplex' 1> e:\gnu\lapackpp-2.4.12\include\lavc.h(51) : see declaration of 'LaVectorComplex' 1>e:\gnu\lapackpp-2.4.12\include\laexcp.h(51) : warning C4275: non dll-interface class 'std::runtime_error' used as base for dll-interface class 'LaException' 1> d:\microsoft visual studio\vc\include\stdexcept(149) : see declaration of 'std::runtime_error' 1> e:\gnu\lapackpp-2.4.12\include\laexcp.h(50) : see declaration of 'LaException' 1>Generating Code... 1>Build log was saved at " file://f:\SplitPowerPlane\Test5\Test5\Debug\BuildLog.htm<file:///f:/SplitPowerPlane/Test5/Test5/Debug/BuildLog.htm> " 1>Test5 - 2 error(s), 8 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== --------------------------------------------------------------End of Error Messages ---------------------------------------------------------------------------- It seems that gmc.h has problem with complex operators. I need more tests to make sure where the errors come from: lapackpp or my application. Regards, ------------- Aosheng |