SGL-UT / gnsstk

The goal of the gnsstk project is to provide an open source library to the satellite navigation community--to free researchers to focus on research, not lower level coding.
Other
113 stars 50 forks source link

Build fails on openSUSE Tumbleweed #7

Open wkazubski opened 1 year ago

wkazubski commented 1 year ago

I have problem with building gnsstk on openSUSE Tumblewwed. The build fails with this message:

/home/abuild/rpmbuild/BUILD/gnsstk-14.0.0/core/lib/TimeHandling/CommonTime.hpp:95: Error: Syntax error in input(3). make[2]: [swig/CMakeFiles/_ClockModel.dir/build.make:79: swig/CMakeFiles/_ClockModel.dir/ClockModelPYTHON_wrap.cxx] Error 1 make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/gnsstk-14.0.0/build' make[1]: [CMakeFiles/Makefile2:595: swig/CMakeFiles/_ClockModel.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....

This problem appeared with version (tag) 13.7.0 and is present in current release 14.0.0. openSUSE Tumbleweed uses following tools: gcc-c++ 12.2 python3 3.10.9 swig 4.1.1

For openSUSE Leap 15.4 build is OK

UT-dave commented 1 year ago

GNSSTk has been tested through Python 3.9 and SWIG 3.0.12 (the last version before 4.0). There are a number of changes we'll need to make to support Python 3.10 and SWIG 4.0, planned for later this year.

wkazubski commented 6 months ago

I tested version 14.3.0 and it builds fine but only if the option -DBUILD_FOR_PACKAGE_SWITCH is not used. If this option is set to ON the build fails with the same error as above.