Comments (4)
We've not done any testing on OpenSUSE specifically.
It's hard to tell from the error message which package it's failing to find. However, you could try specifying the python location manually with the -P
flag to build.sh
... or the -DPYTHON_EXECUTABLE
parameter to cmake
.
Also, if you're building an RPM, there are .spec files in the rpm_files
directory that you might be able to use as guidance.
If all else fails, run build.sh
with verbose logging, and post the output here.
from gnsstk.
I looked into enclosed specfiles and found some useful arguments for cmake. My problem was solved by adding -DBUILD_EXT=ON but some other settings were necessary too.
Thanks for help
from gnsstk.
I think this is a bug in the CMakeLists.txt. If build.sh
isn't invoked with -e
, the default logic for setting PYTHON_VERSION_MAJOR
to dummy values won't get hit and the variable won't be defined when referenced later.
if( BUILD_EXT )
add_subdirectory( examples )
if( BUILD_PYTHON )
include( swig/PythonSetup.cmake )
add_subdirectory( swig )
else()
# keep cmake quiet
set( PYTHON_VERSION_MAJOR 0 )
set( PYTHON_VERSION_MINOR 0 )
set(GNSSTK_SWIG_MODULE_DIR "")
endif()
endif()
from gnsstk.
Yes, the answer seems to be to change that block in CMakeLists.txt to the following, which will be in the next release.
# keep cmake quiet
set(PYTHON_VERSION_MAJOR 0)
set(PYTHON_VERSION_MINOR 0)
set(GNSSTK_SWIG_MODULE_DIR "")
if( BUILD_EXT )
add_subdirectory( examples )
if( BUILD_PYTHON )
include( swig/PythonSetup.cmake )
add_subdirectory( swig )
endif()
endif()
from gnsstk.
Related Issues (19)
- No such "gnsstk_export.h" HOT 3
- build failed on wsl2 ubuntu22.04
- GNSSTk Roadmap Question
- PrintTime doesn't check for invalid seconds after rounding
- Improper exception thrown on file open
- setfill calls have no effect
- Request clarification on behavior reading SP3 ephemeris files missing "EOF"
- Could you tell me where I can find the api documents for gnsstk? HOT 2
- Rinex3NavData::Rinex3NavData(const RinexNavData& rnd) does not copy Cuc
- remove use of std::binary_function as it's removed in C++17 HOT 1
- Updating to v13.x HOT 2
- Return type warning treated as error - compilation fails on Linux HOT 1
- submodule for gnsstk_data not available HOT 1
- RINEX v3 doesn't correctly handle invalid xmitTime
- How to use gnsstk in windows?
- SEMNavDataFActory and YUMANavDataFactory don't handle weeknumber rollover
- cann't open data submodule HOT 1
- Build fails on openSUSE Tumbleweed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnsstk.