Compiled App whichs source pulled from git cannot download extension due to reversion not match.


Problem report for Slicer 4.11.0-2019-05-01 win-amd64: [please describe expected and actual behavior]
I compiled the Slicer reversion of “28202” which was pulled from github, and it’s reversion became “aae6a8c”, so that I can’t download extension from Extensions Manager online. The message from Extensions Manager says as below:
“No extensions found for win:64-bit, revision: ‘aae6a8c’. Please try a different combination”
After that I installed a SlicerVR extension, and it works well.
Then I modified the string “aae6a8c” to “28202” from file “vtkSlicerVersionConfigure.h” which was generated in project “SlicerConfigureVersionHeader”. As a result, I can download extension successfully while I can’t installed a SlicerVR extension(either compiled or downloaded) , there was something wrong with it as following.
[FATAL][Qt] 09.05.2019 21:33:33 [] (unknown:0) - ASSERT failure in QList::at: “index out of range”, file D:\Qt5.9.2\5.9.2\msvc2017_64\include\QtCore/qlist.h, line 541
Looking forward to fixing this bug as soon!

(Jean Christophe Fillion Robin) #2

Two approaches:

(Andras Lasso) #3

This indicates potential ABI incompatibility. In general, if you build Slicer, you must also build all extensions yourself. This is easy to do, as extensions require the exact same build environment as Slicer. You can bundle all extension you need into your custom-built Slicer and disable the extension manager.