From: Stefan Seefeld (stefan_at_[hidden])
Date: 2021-01-20 03:23:26
I'm unfortunately not familiar enough with the platform (Windows) or
this compiler (MSVC) to help, but I would like to add some notes in case
someone else on this list has ideas:
Compiling a trivial C++ applet based on code such as
on Linux simply requires a command such as
g++ -I /usr/include/python3.8 -o np_test np_test.cpp -lboost_numpy38
I find particularly confusing that the MSVC linker would generate a
missing symbol error for the `ndarray::get_data()` function, given that
this function (as defined in
ought to be inlined, and not generate a symbol at all.
Does anyone familiar with this platform have an idea under what
circumstances this may result in a link error ? (See the exact
command-line in the previous post).
-- ...ich hab' noch einen Koffer in Berlin...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk