Skip to content

Link error in naive use on Windows #451

@bbd666

Description

@bbd666

I used cmake to install C:\ensmallen-master\armadillo-15.2.3
-> C:\ensmallen-master\armadillo-15.2.3\armadillo_bits

I donwloaded
LAPACK.lib
LAPACKd.lib
in C:\ensmallen-master

then with cmake I built emsallen-master:
ARMADILLO_INCLUDE_DIR C:/ensmallen-master/armadillo-15.2.3
mkl_lapck_LIBRARY C:/ensmallen-master/LAPACK.lib

configure
generate

Then I created a new project in VS17.11.231.19466 (Visual C++ 2022)
I copied example in main.cpp
I added
C:\ensmallen-master\include
C:\ensmallen-master\armadillo-15.2.3\include
in 'project/properties/C/C++/other include folders'

Then Run (release mode)
-> 30 LNK2001 errors

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions