Problem when installing polymer github distribution
Posted: Tue Feb 06, 2024 3:24 pm
hello
at the compilation (make) step I got this error
python setup.py build_ext --inplace -j 4
Compiling polymer/clut.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
Compiling polymer/neldermead.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
Compiling polymer/polymer_main.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
Compiling polymer/water.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
[1/4] Cythonizing polymer/clut.pyx
[2/4] Cythonizing polymer/neldermead.pyx
[3/4] Cythonizing polymer/polymer_main.pyx
[4/4] Cythonizing polymer/water.pyx
In file included from build/polymer/water.c0:
build/polymer/fresnel.c: In function ‘windex’:
build/polymer/fresnel.c:34:11: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return(index);
at the compilation (make) step I got this error
python setup.py build_ext --inplace -j 4
Compiling polymer/clut.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
Compiling polymer/neldermead.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
Compiling polymer/polymer_main.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
Compiling polymer/water.pyx because it depends on /home/schambergerlea/anaconda3/envs/polymer/lib/python3.12/site-packages/numpy/__init__.cython-30.pxd.
[1/4] Cythonizing polymer/clut.pyx
[2/4] Cythonizing polymer/neldermead.pyx
[3/4] Cythonizing polymer/polymer_main.pyx
[4/4] Cythonizing polymer/water.pyx
In file included from build/polymer/water.c0:
build/polymer/fresnel.c: In function ‘windex’:
build/polymer/fresnel.c:34:11: warning: ‘index’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return(index);