We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have just downloaded and installed latest APL (24.04) on my windows on arm device. I am currently just making some small tests, but cmake fails to find apl. To reproduce, here is my CMakeLists file:
cmake_minimum_required(VERSION 3.18) project(DUMMYAPL) set(BLA_VENDOR Arm) find_package(BLAS) add_executable(main main.cpp) if (BLAS_FOUND) target_include_directories(main PRVATE ${BLAS_INCLUDE_LIBRARIES}) target_link_libraries(main PRVATE ${BLAS_LIBRARIES}) else() message(FATAL_ERROR “APL NOT FOUND”) endif()
and this is my main.cpp file:
#include <iostream>#include “armpl.h”
int main() {std::cout << “Success” << std::endl;return 0;
}
It fails with this error: – Could NOT find BLAS (missing: BLAS_LIBRARIES)When I try a similar approach on my windows intel device( I just replace armpl.h with mkl.h and the BLA_VENDOR with Intel10_64lp), it works. Does someone know why this ight be happening ?
Thank you for the fast reply, Kevin. I'll try it this way instead