From 4e64308da46d1a7480bcb150a7db9a7066dc42a4 Mon Sep 17 00:00:00 2001 From: Wim Haeck Date: Tue, 19 Mar 2024 09:27:03 -0600 Subject: [PATCH 1/3] Adding more troubleshooting --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f6b80dfa..2e77d925 100644 --- a/README.md +++ b/README.md @@ -47,13 +47,18 @@ The CMake-based build system will try to automatically detect the installed vers A version of python 3.x is preferred. -##### importError cannot import name ##### +##### ImportError cannot import name ##### This error sometimes comes up when running the cmake command. This appears to be related to an incomplete/corrupted python installation. It can be rectified by installing the distutils package for the python version that is being used. On a linux system, the following command should install the distutils package: ``` sudo apt install python3-distutils ``` +##### ImportError `GLIBCXX_3.4.30' not found + +A problem may occur if a user's installed python environment is through conda. The user will be able to build properly but all of the unit tests for python may fail due to GLIBCXX_3.4.30 being missing. This seems to be an a problem with conda not having GLIBCXX_3.4.30 in the path. If the user is able to compile ENDFtk, they have GLIBCXX_3.4.30. At which point, a symlink will need to be created to point the conda enviroment to where GLIBCXX_3.4.30 is installed. + + ##### cannot find python.h ##### When compiling the python bindings, this error indicates that the python header files and static library we need to link to are not installed on your system. This appears to be related to an incomplete python installation. It can be rectified by installing the python3-dev package (when using python 3). On a linux system, the following command should install the header files: From 6550e07b662d1fb562b3f676c34644f122ecd0c3 Mon Sep 17 00:00:00 2001 From: Wim Haeck Date: Wed, 20 Mar 2024 14:30:49 -0600 Subject: [PATCH 2/3] Update release notes --- ReleaseNotes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index c1de07ec..0d9339a8 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,7 +1,7 @@ # Release Notes—ENDFtk Given here are some release notes for ENDFtk. -## [ENDFtk v1.0.1](https://github.com/njoy/ENDFtk/pull/xxx) +## [ENDFtk v1.0.1](https://github.com/njoy/ENDFtk/pull/194) This update does not add any additional functionality. This update fixes the following issues: @@ -15,4 +15,4 @@ This release of ENDFtk has the following changes: The CMake files have also been updated to simplify adding new unit tests. -This release cleans up some of the dependencies and updates most of the dependencies to more recent versions. In particular the Catch2 unit testing framework was updated to version 3.3.2. All unit tests were updated to use better floating point comparison available in this version of Catch2. A number of NJOY dependencies have also been consolidated into a single new dependency (the NJOY tools library) to reduce the number of dependencies to a more manageable level. \ No newline at end of file +This release cleans up some of the dependencies and updates most of the dependencies to more recent versions. In particular the Catch2 unit testing framework was updated to version 3.3.2. All unit tests were updated to use better floating point comparison available in this version of Catch2. A number of NJOY dependencies have also been consolidated into a single new dependency (the NJOY tools library) to reduce the number of dependencies to a more manageable level. From 49ac306d0a919830bb9f7a48b18228adc92814ad Mon Sep 17 00:00:00 2001 From: Wim Haeck Date: Thu, 21 Mar 2024 08:33:37 -0600 Subject: [PATCH 3/3] Updating version number and release notes --- CMakeLists.txt | 2 +- ReleaseNotes.md | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ea484675..dcc79172 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ if( DEFINED PROJECT_NAME ) endif() project( ENDFtk - VERSION 1.0.1 + VERSION 1.0.2 LANGUAGES CXX ) diff --git a/ReleaseNotes.md b/ReleaseNotes.md index 0d9339a8..d1e2cc05 100644 --- a/ReleaseNotes.md +++ b/ReleaseNotes.md @@ -1,6 +1,9 @@ # Release Notes—ENDFtk Given here are some release notes for ENDFtk. +## [ENDFtk v1.0.2](https://github.com/njoy/ENDFtk/pull/xxx) +This update does not add any additional functionality. + ## [ENDFtk v1.0.1](https://github.com/njoy/ENDFtk/pull/194) This update does not add any additional functionality.