Skip to content

mrview & shview version mismatch on dev #2822

@Lestropie

Description

@Lestropie

On the current dev branch, I did a full delete of my cmake build directory, a ccache -C, and re-built in a new directory. Commands mrview and shview nevertheless fail to execute due to mismatch between git versions reported for the executable vs. the shared library.

robertes@9520l-003953-l:~/src/mrtrix3$ ldd ./build_cmake/bin/mrview
	libmrtrix-gui.so => /home/unimelb.edu.au/robertes/src/mrtrix3/build_cmake/src/libmrtrix-gui.so (0x00007fe8e9400000)
	libmrtrix-core.so => /home/unimelb.edu.au/robertes/src/mrtrix3/build_cmake/core/libmrtrix-core.so (0x00007fe8e9000000)
	libmrtrix-headless.so => /home/unimelb.edu.au/robertes/src/mrtrix3/build_cmake/src/libmrtrix-headless.so (0x00007fe8e7600000)
	...
robertes@9520l-003953-l:~/src/mrtrix3$ ./build_cmake/bin/mrview
mrview: [ERROR] executable was compiled for a different version of the MRtrix3 library!
mrview: [ERROR]   mrview version: 3.0.4-708-g895628e0
mrview: [ERROR]   library version: 3.0.4-623-g4f3836b9-dirty
mrview: [ERROR] Running ./build again may correct error

In addition to resolving whatever is causing the conflict, the error message also needs to be updated to reflect the cmake transition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions