Git Product home page Git Product logo

Comments (6)

kaspermarstal avatar kaspermarstal commented on August 18, 2024

Hi Plumax, thanks for error report, it has now been fixed. Do a git pull and compile again. Let me know how it goes!

from simpleelastix.

Plumax avatar Plumax commented on August 18, 2024

Thank you for that!

But, now a problem appears in the end of the building...

In

file included from /home/pgreillier/SimpleElastix/Testing/Unit/SimpleITKTestHarness.h:45:0,
from /home/pgreillier/SimpleElastix/Testing/Unit/sitkSimpleElastixTests.cxx:1:
/home/pgreillier/SimpleElastix/Testing/Unit/sitkSimpleElastixTests.cxx:139:81: error: call of overloaded ‘Elastix(itk::simple::Image&, itk::simple::Image&, const char [12], bool, bool)’ is ambiguous
EXPECT_NO_THROW( Elastix( fixedImage, movingImage, "translation", true, false ) );

/home/pgreillier/SimpleElastix/Testing/Unit/sitkSimpleElastixTests.cxx: In member function ‘virtual void itk::simple::SimpleElastix_RegistrationWithPointSets_Test::TestBody()’:
/home/pgreillier/SimpleElastix/Testing/Unit/sitkSimpleElastixTests.cxx:305:49: error: no matching function for call to ‘std::basic_ofstream::open(std::string&)’
fixedPointSetFile.open( fixedPointSetFileName );

/usr/include/c++/4.8/fstream:713:7: note: no known conversion for argument 1 from ‘std::string {aka std::basic_string}’ to ‘const char*’
/home/pgreillier/SimpleElastix/Testing/Unit/sitkSimpleElastixTests.cxx:313:51: error: no matching function for call to ‘std::basic_ofstream::open(std::string&)’
movingPointSetFile.open( movingPointSetFileName );

error_building_SE_2.txt

from simpleelastix.

kaspermarstal avatar kaspermarstal commented on August 18, 2024

Thanks for the feedback! Again, git pull and rebuild. The issue should now have been resolved.

from simpleelastix.

Plumax avatar Plumax commented on August 18, 2024

The compilation ended without error (seems so) and I can install the module in my python env.

But the ctest of my SimpleITK build failed for some program.

Moreover, some functions seem to disappear like :

sitk.ParameterMapList()

(Well that's the only one I finded for now)

LastTestsFailed.txt
LastTest.txt
CTestCostData.txt

from simpleelastix.

kaspermarstal avatar kaspermarstal commented on August 18, 2024

Thank your for your report! The tests has now been fixed and ParameterMapList() reinstated. Do a git pull and rerun the test suite, and let me know if you still see failures.

from simpleelastix.

kaspermarstal avatar kaspermarstal commented on August 18, 2024

Hi, ParameterMapList was removed again, I apologize for any inconvenience, and owe you an explanation. In the latest release ParameterMapList was renamed to VectorOfParameterMap in order to align with the SimpleITK naming scheme e.g. VectorOfImage and making the API more friendly to existing SimpleITK users. I thought the two names could live side by side but this is not the case. Going forward, use VectorOfParameterMap where you have previously used ParameterMapList

Git pull and rebuild if complation of the Python module fails.

from simpleelastix.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.