7 May 2020 at 13 h 55 min #16135
I am a windows user, and I run into the problem that I posted in github:https://github.com/sofa-framework/sofa/issues/1364
I used a vs 2019. It seems that all the install and build process goes well but I can’t successfully open the runsofa.exe to test if I can see the snack demo.
seems that the runsofa can not use the .dll file in the additional dependency file “sofa-windows-dependency” , the libpng16.dll.
I follow the process of install sofa from source code and All my Qt, boost, sofapython eig build well.
I don’t know if that is I should use the VS 2017 instead of VS 2019?
or because I will use softrobots plugin later and that requries the unstable version of Sofa, is that a problem? In fact I have also add the stLIB plugin and softrobots plugin successfully before, and then to debug where is wrong, I move thoses entry in cmake-gui but the runsofa.exe still not work.
It seems that everything goes perfect in cmake-gui and vs2019 but there are error when opening runsofa.exe7 May 2020 at 13 h 57 min #1613610 May 2020 at 21 h 56 min #16139
What did you do to make it compile successfully?
What was the problem? Were you missing the dependency pack?
Hugo11 May 2020 at 3 h 40 min #16151
I tried a lot of different version of vs, boost, cmake… And now I finally get the runsofa.exe compiled successfully on vs2019.
However, I have a new problem
when runsofa.exe, it says that “It could not find or load the QT platform plugin for “windows””11 May 2020 at 4 h 46 min #16152
After I configure the right qt PATH, it now has a new error when runsofa.exe, it says that the application failed to link to SofaGuiQt.dll which is exactly generated to that folder(I found that)11 May 2020 at 23 h 47 min #1616212 May 2020 at 11 h 02 min #16166
Yes, I use the 1.72-14.2 Qt as described in your document, and cmake configuration step works fine and I can find those Qt entries in cmake-gui successfully:
and the vs2019 compilation has no problem too.
all the Qt related .dll file generated normly, however, when runsofa.exe. it says that it can not link to SofaGuiQt.dll
runsofa.exe says that it can not locate the applications’ entry dynamically link to SofaGuiQt.dll
I have tried reinstall and for different version for many times. I really don’t know where is wrong with my installtion. It seems that although everything is generated well but the SofaGuiQt dynamic link library’s content may not be right. Is the Qt installtion process complete in your document? That just include the msvc2017, qtchart, and qtwebengin? Do I need to do other things to let my cmake-gui and vs2019 use the Qt library to configure and compile the sln?14 May 2020 at 23 h 32 min #16244
- You must be logged in to reply to this topic.