-
Notifications
You must be signed in to change notification settings - Fork 297
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lack of libicuucd67.dll when run the OMEdit.exe after build correctly #11478
Comments
I had the same issue yesterday. Some libraries are not copied in the
As a workaround, building with Make does produce an executable that can be launched by double-clicking the file. |
Thank you so much!I have solved the problem.I find the lacked files in "OMDev\tools\msys\mingw64\bin" and copy them to "install_cmake/bin" so that it works.I guess it was caused by the neglect in install. |
@anotheruserofgithub @chygithub2020 can you tell me exactly how you configured the project? i.e.,
The error reported here should not happen and the DLLs are supposed to be copied for you automatically. I can see that we copy |
I'm using OMDev and I was using these instructions. I had not compiled on Windows since February, so yesterday I just updated the OpenModelica repository to master, cleaned up everything, and ran the cmake+make commands. If I remember correctly, there are several (all?) debug versions of libicu*.dll that are missing in Also, I noticed that the OMEdit executable that I compiled with CMake was about 170MB while with Make it is about 280MB, is that expected? (It was working fine, but maybe something to do with debug/release modes, or |
I copy libicuucd67.dll and libicudtd67.dll.And I use the OMDEV for the build.And the cmake commands are as follows:
|
I see. Then something must have changed recently and I did not notice. I will check properly and add the missing DLLs.
It might be related to static vs dynamic linking of the needed libraries. If so, I don't think it should affect how OMEdit works at all as long as it starts up. |
Looks perfectly fine. I am not sure why the required DLLs changed suddenly but I will check and see if we can add them to the installation anyway. |
- These debug versions of required DLLs were not copied to the installation directory. - This is a temporary solution. We need to find a way where we copy only the required DLLs for the current build type. One way to do this is using CMakes own `RUNTIME_DEPENDENCIES` option on install commands. Unfortunately, that is only available on CMake version > 3.21. So might need to do it manually for now. - Fixes OpenModelica#11478.
- These debug versions of required DLLs were not copied to the installation directory. - This is a temporary solution. We need to find a way where we copy only the required DLLs for the current build type. One way to do this is using CMakes own `RUNTIME_DEPENDENCIES` option on install commands. Unfortunately, that is only available on CMake version > 3.21. So might need to do it manually for now. - Fixes #11478.
This should be fixed with #11490. If you encounter other issues with the CMake build, please feel free to open new tickets. |
Description
os:windows 10 home
build:cmake
introduction: REDEME.Windows.md
code branch: master
details:build the project correctly but OMEdit.exe can not work and show the information that lack of libicuucd67.dll.(Some modules can work correctly such as OMNotebook )
The text was updated successfully, but these errors were encountered: