Hi everyone,
I'm trying to install sfepy on windows10 with python(xy) as suggested, but
get the following error when compiling python setup.py build_ext --inplace
--compiler=mingw32
$ python setup.py build_ext --inplace
igakit (optional) is missing; you may get run-time errors
petsc4py (optional) is missing; you may get run-time errors
mpi4py (optional) is missing; you may get run-time errors
pymetis (optional) is missing; you may get run-time errors
pysparse (optional) is missing; you may get run-time errors
running build_ext
running build_src
build_src
building library "sfepy_common" sources
building library "sfepy_terms" sources
building extension "sfepy.discrete.common.extmods._fmfield" sources
building extension "sfepy.discrete.common.extmods.mappings" sources
building extension "sfepy.discrete.common.extmods.assemble" sources
building extension "sfepy.discrete.common.extmods.cmesh" sources
building extension "sfepy.discrete.common.extmods.crefcoors" sources
building extension "sfepy.discrete.common.extmods._geommech" sources
building extension "sfepy.discrete.fem.extmods.bases" sources
building extension "sfepy.discrete.fem.extmods.lobatto_bases" sources
building extension "sfepy.discrete.iga.extmods.igac" sources
building extension "sfepy.linalg.extmods.crcm" sources
building extension "sfepy.terms.extmods.terms" sources
building data_files sources
build_src: building npy-pkg config files
customize Mingw32CCompiler
customize Mingw32CCompiler using build_clib
customize Mingw32CCompiler
customize Mingw32CCompiler using build_ext
extending extension 'sfepy.discrete.common.extmods._fmfield' defined_macros
with [('__SDIR__', '\'"sfepy\\discrete\\common\\extmods"\''),
('SFEPY_PLATFORM', 1)]
extending extension 'sfepy.discrete.common.extmods.mappings' defined_macros
with [('__SDIR__', '\'"sfepy\\discrete\\common\\extmods"\''),
('SFEPY_PLATFORM', 1)]
extending extension 'sfepy.discrete.common.extmods.crefcoors'
defined_macros with [('__SDIR__',
'\'"sfepy\\discrete\\common\\extmods"\''), ('SFEPY_PLATFORM', 1)]
extending extension 'sfepy.discrete.common.extmods._geommech'
defined_macros with [('__SDIR__',
'\'"sfepy\\discrete\\common\\extmods"\''), ('SFEPY_PLATFORM', 1)]
extending extension 'sfepy.discrete.fem.extmods.bases' defined_macros with
[('__SDIR__', '\'"sfepy\\discrete\\common\\extmods"\''), ('SFEPY_PLATFORM',
1)]
extending extension 'sfepy.discrete.fem.extmods.lobatto_bases'
defined_macros with [('__SDIR__',
'\'"sfepy\\discrete\\common\\extmods"\''), ('SFEPY_PLATFORM', 1)]
extending extension 'sfepy.terms.extmods.terms' defined_macros with
[('__SDIR__', '\'"sfepy\\terms\\extmods"\''), ('SFEPY_PLATFORM', 1),
('__SDIR__', '\'"sfepy\\discrete\\common\\extmods"\'')]
building 'sfepy.discrete.common.extmods._fmfield' extension
compiling C sources
C compiler: gcc -O2 -Wall -Wstrict-prototypes
compile options: '-D__SDIR__='"sfepy\discrete\common\extmods"'
-DSFEPY_PLATFORM=1 -D__SDIR__='"sfepy\discrete\common\extmods"'
-DSFEPY_PLATFORM=1 -DNPY_MINGW_USE_CUSTOM_MSVCR -D__MSVCRT_VERSION__=0x0900
-Isfepy\discrete\common\extmods
-IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include
-IC:\Python27\PC -c'
extra options: '-g -O2'
gcc -O2 -Wall -Wstrict-prototypes
-D__SDIR__='"sfepy\discrete\common\extmods"' -DSFEPY_PLATFORM=1
-D__SDIR__='"sfepy\discrete\common\extmods"' -DSFEPY_PLATFORM=1
-DNPY_MINGW_USE_CUSTOM_MSVCR -D__MSVCRT_VERSION__=0x0900
-Isfepy\discrete\common\extmods
-IC:\Python27\lib\site-packages\numpy\core\include -IC:\Python27\include
-IC:\Python27\PC -c sfepy\discrete\common\extmods\_fmfield.c -o
build\temp.win32-2.7\Release\sfepy\discrete\common\extmods\_fmfield.o -g -O2
Found executable C:\MinGW\bin\gcc.exe
g++ -shared
build\temp.win32-2.7\Release\sfepy\discrete\common\extmods\_fmfield.o
-LC:\Python27\libs -LC:\Python27\PCbuild -Lbuild\temp.win32-2.7
-lsfepy_common -lpython27 -lmsvcr90 -o
sfepy\discrete\common\extmods\_fmfield.pyd
Found executable C:\MinGW\bin\g++.exe
C:\Python27\libs/libpython27.a: error adding symbols: File format not
recognized
collect2.exe: error: ld returned 1 exit status
error: Command "g++ -shared
build\temp.win32-2.7\Release\sfepy\discrete\common\extmods\_fmfield.o
-LC:\Python27\libs -LC:\Python27\PCbuild -Lbuild\temp.win32-2.7
-lsfepy_common -lpython27 -lmsvcr90 -o
sfepy\discrete\common\extmods\_fmfield.pyd" failed with exit status 1
Can anyone help me please?