<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri, sans-serif" size="2">
<div>Hi,</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>I am trying to compile (cross) a library in linux (debian) under mingw. I have installed the mingw packages for debian (gcc-mingw32, mingw32-binutils, mingw32-runtime) and have specified i586-mingw32-gcc, i586-mingw32-c&#43;&#43; and i586-mingw32-gfortran as my
c, cxx and fortran compiler (present in /usr/bin). My software also uses blas, lapack and openmpi library which i have installed in /usr location.&nbsp; While configuring, i get this following error</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>CMake Error at /usr/share/cmake-2.8/Modules/FindBLAS.cmake:456 (message):</div>
<div> A required library with BLAS API not found. Please specify library location</div>
<div>Call Stack (most recent call first):</div>
<div> CMakeLists.txt:46 (FIND_PACKAGE).</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>I do have libblas.so in my /usr/lib but still it throws me this error. Further, if i don&#8217;t use mingw environment and specify /usr/bin/gcc, /usr/bin/c&#43;&#43; and /usr/bin/gfortran as my compiler options, i don&#8217;t get this error.</div>
<div>&nbsp;</div>
<div>Any clue on this would be great help</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>With thanks and regards</div>
<div>Balachandar</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
</font>
<PRE>The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.
</PRE></body>
</html>