Open jinfreelancing opened 1 month ago
I have tried many times and have never successfully compiled S4 on Windows (it should definitely be possible - I think this is how the original developers did it - but I've never managed it or found instructions).
In any case, this version of S4 does not work with Python 3. There are several forks which do work with newer Python versions, including mine, where I also have installation instructions in the Readme. I recommend either installing Ubuntu/other Linux in a partition on your computer, or running Windows Subsystem for Linux (WSL), which works with for example VSCode.
May be a stupid question, but I'm trying to compile this package and link under Msys2 MinGW toolset under windows 11, including mingw gcc, g++, ld, etc., and python 3.11 with setuptools installed. I managed to get to the point where I have built the libS4.a static library, but upon building the python extension by
python setup.py build
, I get a long list of linker errors ofundefined reference to XXX
:As I searched through source code, I can find declarations for
Simulation_AddLayer
,Layer_Init
, but cannot find their definitions? I am totally confused. I am new to C/C++ coding, please enlighten me. Thanks,