[CMake] Issue using cmake with mingw

AMARNATH, Balachandar BALACHANDAR.AMARNATH at airbus.com
Tue May 10 23:46:55 EDT 2011


Hi,


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++ 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.  While configuring, i get this following error


CMake Error at /usr/share/cmake-2.8/Modules/FindBLAS.cmake:456 (message):
 A required library with BLAS API not found. Please specify library location
Call Stack (most recent call first):
 CMakeLists.txt:46 (FIND_PACKAGE).


I do have libblas.so in my /usr/lib but still it throws me this error. Further, if i don't use mingw environment and specify /usr/bin/gcc, /usr/bin/c++ and /usr/bin/gfortran as my compiler options, i don't get this error.

Any clue on this would be great help


With thanks and regards
Balachandar









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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110511/8a890b42/attachment.htm>


More information about the CMake mailing list