Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation fails #128

Open
Gwouigwoui opened this issue Sep 9, 2024 · 0 comments
Open

Compilation fails #128

Gwouigwoui opened this issue Sep 9, 2024 · 0 comments

Comments

@Gwouigwoui
Copy link

Hi,

I'm using Ubuntu 22.04 (WSL) with swig 4.3.0 and python 3.10.12.
I don't run into any issues with the first step (./waf configure --with-python-bindings --with-asserts), however ./waf fails at step 85/92 with the following output:

[85/92] Processing src/bindings/gaia.swig
23:11:48 runner ['/usr/local/bin/swig', '-c++', '-python', '-w451', '-o', '/home/guillaume/gaia/build/src/bindings/gaia2.swigwrap_1.cxx', '-Isrc', '-I../src', '-Isrc/bindings', '-I../src/bindings', '-Isrc/metrics', '-I../src/metrics', '-Isrc/3rdparty', '-I../src/3rdparty', '-I/usr/include/python3.10', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent', '-I/usr/include/eigen3', '-DGAIA_VERSION="2.4.6"', '-DGAIA_GIT_SHA="v2.4.4-164-g0d0942b"', '-DPYTHONDIR="/usr/local/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DNDEBUG', '-DQT_CORE_LIB', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '../src/bindings/gaia.swig']
../src/bindings/factory.i:24: Error: Template 'gaia2::Factory' undefined.
../src/bindings/layoutawarefactory.i:29: Error: Template 'gaia2::LayoutAwareFactory' undefined.
../src/bindings/layoutawarefactory.i:52: Error: Template 'gaia2::LayoutAwareFactory' undefined.
../src/bindings/gaia.swig:185: Error: 'mergeLayouts' is multiply defined in the generated target language module.
../src/bindings/../pointlayout.h:312: Error: Previous declaration of 'mergeLayouts'
../src/bindings/gaia.swig:186: Error: 'mergeDataSets' is multiply defined in the generated target language module.
../src/bindings/../dataset.h:483: Error: Previous declaration of 'mergeDataSets'

Waf: Leaving directory `/home/guillaume/gaia/build'
Build failed
 -> task in '_gaia2' failed with exit status 1:
        {task 139968395062832: swig gaia.swig -> gaia2.swigwrap_1.cxx,gaia2.py}
['/usr/local/bin/swig', '-c++', '-python', '-w451', '-o', '/home/guillaume/gaia/build/src/bindings/gaia2.swigwrap_1.cxx', '-Isrc', '-I../src', '-Isrc/bindings', '-I../src/bindings', '-Isrc/metrics', '-I../src/metrics', '-Isrc/3rdparty', '-I../src/3rdparty', '-I/usr/include/python3.10', '-I/usr/include/x86_64-linux-gnu/qt5/QtCore', '-I/usr/include/x86_64-linux-gnu/qt5', '-I/usr/include/x86_64-linux-gnu/qt5/QtConcurrent', '-I/usr/include/eigen3', '-DGAIA_VERSION="2.4.6"', '-DGAIA_GIT_SHA="v2.4.4-164-g0d0942b"', '-DPYTHONDIR="/usr/local/lib/python3/dist-packages"', '-DPYTHONARCHDIR="/usr/local/lib/python3/dist-packages"', '-DHAVE_PYEMBED=1', '-DHAVE_PYEXT=1', '-DHAVE_PYTHON_H=1', '-DNDEBUG', '-DQT_CORE_LIB', '-DQT_CONCURRENT_LIB', '-DQT_CORE_LIB', '../src/bindings/gaia.swig']

Any idea what's going on?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant