arrayfire / arrayfire/arrayfire-windows-scripts

Issue building CPU V3.5 on Windows

Offen
#8 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Batchfile
Sterne
11
Forks
6
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

I've been trying to build Arrayfire on Windows.

Latest Version of CMake,
Visual studio 2015 x64.

I've grabbed version 3.5 of Arrayfire from github also the dependancies.

I've compiled CUDA successfully, but am having trouble with building CPU.
Here are the outputs of the console
```

"Running CPU CMake Configuration"
"Generating CMAKE"
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Checking for [mkl_rt]
-- Checking for [Accelerate]
-- Checking for [vecLib]
-- Checking for [cblas - atlas]
-- Checking for [openblas]
-- Checking for [cblas]
-- Checking for [blas]
CMake Error at CMakeModules/FindCBLAS.cmake:346 (MESSAGE):
CBLAS library not found. Please specify library location
Call Stack (most recent call first):
src/backend/cpu/CMakeLists.txt:4 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "C:/workspace/arrayfire/build/CMakeFiles/CMakeOutput.log".
See also "C:/workspace/arrayfire/build/CMakeFiles/CMakeError.log".
"Running msbuild"
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
Switch: ALL_BUILD.vcxproj
Microsoft (R) Build Engine version 14.0.25420.1
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1009: Project file does not exist.
```

It seems that PkgConfig isn't working, but I'm not sure what I can do to sort it.
I've Got an implementation of OpenBLAS which I've put in the dependancies, but I can't work out why it can't find the library

Any suggestions?

Thank you,

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start with the CMake configuration output and CMakeModules/FindCBLAS.cmake, especially the call from src/backend/cpu/CMakeLists.txt. Check how the supplied OpenBLAS dependency is expected to be located on Windows and review CMakeOutput.log and CMakeError.log. Done means CPU configuration completes and generates ALL_BUILD.vcxproj so MSBuild can run.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
cmake
Bereich
build-system
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
20/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.