Opened 9 years ago
Closed 9 years ago
#4183 closed defect (fixed)
Generated FMUs on Windows are missing libstdc++-6.dll
| Reported by: | Adrian Pop | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.11.0 |
| Component: | FMI | Version: | |
| Keywords: | Cc: |
Description
We need to either compile with static libstdc++ or add it to the binaries folder.
To reproduce:
- generate any fmu
- run fmuChecker on the fmu
Run fmuCheker from windows command line, not mingw64 terminal as it will find libstdc++-6.dll then.
This is happening for both the 1.11-dev.beta1 and the 1.12-dev (master).
Change History (2)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in 287830/OMCompiler. The nightly builds from tomorrow should fix this issue:
https://build.openmodelica.org/omc/builds/windows/nightly-builds/
I will try to add some sort of test for this so we fail to build OM_Win if there are missing DLLs inside FMUs.
Note:
See TracTickets
for help on using tickets.

Seems we're missing more than that (everything taken from C:\OMDev\tools\msys\mingw64\bin\ should be included):
adrpo33@ida-0030 MINGW64 /c/home/adrpo33/dev/IntoCPS/intoCpsApp/case-study_single_watertank/FMUs/WaterTank_SingleWaterTank_1.12/binaries/win64 $ /c/OMDev/bin/ntldd/mingw64/ntldd.exe -R WaterTank_SingleWaterTank.dll libsundials_idas.dll => not found libsundials_kinsol.dll (0x00000000015f0000) libsundials_nvecserial.dll (0x00000000001d0000) libexpat-1.dll => C:\OMDev\tools\msys\mingw64\bin\libexpat-1.dll (0x00000000001d0000) libopenblas.dll (0x0000000001960000) libgcc_s_seh-1.dll (0x00000000001d0000) libsystre-0.dll => C:\OMDev\tools\msys\mingw64\bin\libsystre-0.dll (0x0000000000020000) libtre-5.dll => C:\OMDev\tools\msys\mingw64\bin\libtre-5.dll (0x00000000001d0000) libintl-8.dll => C:\OMDev\tools\msys\mingw64\bin\libintl-8.dll (0x0000000000780000) libiconv-2.dll => C:\OMDev\tools\msys\mingw64\bin\libiconv-2.dll (0x00000000015f0000) KERNEL32.dll => C:\WINDOWS\SYSTEM32\KERNEL32.dll (0x00000000016a0000) ntdll.dll => C:\WINDOWS\SYSTEM32\ntdll.dll (0x0000000001750000) KERNELBASE.dll => C:\WINDOWS\SYSTEM32\KERNELBASE.dll (0x0000000001750000) ext-ms-win-advapi32-registry-l1-1-0.dll => not found ext-ms-win-kernel32-appcompat-l1-1-0.dll => not found ext-ms-win-ntuser-string-l1-1-0.dll => not found ext-ms-win-kernel32-file-l1-1-0.dll => not found ext-ms-win-kernel32-datetime-l1-1-0.dll => not found ext-ms-win-kernel32-quirks-l1-1-0.dll => not found ext-ms-win-kernel32-quirks-l1-1-1.dll => not found ext-ms-win-kernel32-sidebyside-l1-1-0.dll => not found ext-ms-win-mrmcorer-resmanager-l1-1-0.dll => not found ext-ms-win-kernel32-windowserrorreporting-l1-1-0.dll => not found ext-ms-win-kernel32-windowserrorreporting-l1-1-1.dll => not found ext-ms-win-gpapi-grouppolicy-l1-1-0.dll => not found ext-ms-win-ntdsapi-activedirectoryclient-l1-1-0.dll => not found ext-ms-win-ntdsapi-activedirectoryclient-l1-1-1.dll => not found ext-ms-win-shell32-shellcom-l1-1-0.dll => not found ext-ms-win-advapi32-ntmarta-l1-1-0.dll => not found ext-ms-win-security-capauthz-l1-1-0.dll => not found ext-ms-win-feclient-encryptedfile-l1-1-0.dll => not found ext-ms-win-security-efswrt-l1-1-1.dll => not found ext-ms-win-appmodel-daxcore-l1-1-0.dll => not found ext-ms-win-kernel32-errorhandling-l1-1-0.dll => not found ext-ms-win-kernel32-registry-l1-1-0.dll => not found ext-ms-win-kernelbase-processthread-l1-1-0.dll => not found ext-ms-win-advapi32-npusername-l1-1-0.dll => not found ext-ms-win-appxdeploymentclient-appxdeploy-l1-1-0.dll => not found ext-ms-win-appxdeploymentclient-appxdeployonecore-l1-1-0.dll => not found ext-ms-win-com-psmregister-l1-2-1.dll => not found msvcrt.dll => C:\WINDOWS\SYSTEM32\msvcrt.dll (0x00000000016a0000) libwinpthread-1.dll (0x0000000000020000) USER32.dll => C:\WINDOWS\SYSTEM32\USER32.dll (0x00000000015f0000) win32u.dll => C:\WINDOWS\SYSTEM32\win32u.dll (0x0000000000780000) GDI32.dll => C:\WINDOWS\SYSTEM32\GDI32.dll (0x0000000000780000) ext-ms-win-gdi-dc-l1-2-1.dll => not found ext-ms-win-gdi-dc-l1-2-0.dll => not found ext-ms-win-gdi-dc-create-l1-1-1.dll => not found ext-ms-win-gdi-draw-l1-1-3.dll => not found ext-ms-win-gdi-draw-l1-1-1.dll => not found ext-ms-win-gdi-font-l1-1-3.dll => not found ext-ms-win-gdi-font-l1-1-1.dll => not found ext-ms-win-gdi-metafile-l1-1-2.dll => not found ext-ms-win-gdi-metafile-l1-1-1.dll => not found ext-ms-win-gdi-path-l1-1-0.dll => not found ext-ms-win-gdi-print-l1-1-0.dll => not found ext-ms-win-gdi-private-l1-1-0.dll => not found ext-ms-win-gdi-wcs-l1-1-0.dll => not found ext-ms-win-gdi-clipping-l1-1-0.dll => not found ext-ms-win-gdi-internal-desktop-l1-1-0.dll => not found MSIMG32.dll => C:\WINDOWS\SYSTEM32\MSIMG32.dll (0x0000000000020000) WINSTA.dll => C:\WINDOWS\SYSTEM32\WINSTA.dll (0x0000000001960000) RPCRT4.dll => C:\WINDOWS\SYSTEM32\RPCRT4.dll (0x00000000019c0000) ext-ms-win-core-winrt-remote-l1-1-0.dll => not found ext-ms-win-rpc-ssl-l1-1-0.dll => not found SspiCli.dll => C:\WINDOWS\SYSTEM32\SspiCli.dll (0x0000000000780000) CRYPTBASE.dll => C:\WINDOWS\SYSTEM32\CRYPTBASE.dll (0x0000000000020000) ext-ms-win-authz-context-l1-1-0.dll => not found bcryptPrimitives.dll => C:\WINDOWS\SYSTEM32\bcryptPrimitives.dll (0x0000000001ae0000) CRYPT32.dll => C:\WINDOWS\SYSTEM32\CRYPT32.dll (0x00000000019c0000) MSASN1.dll => C:\WINDOWS\SYSTEM32\MSASN1.dll (0x0000000000020000) ncrypt.dll => C:\WINDOWS\SYSTEM32\ncrypt.dll (0x0000000000780000) NTASN1.dll => C:\WINDOWS\SYSTEM32\NTASN1.dll (0x0000000001b90000) bcrypt.dll => C:\WINDOWS\SYSTEM32\bcrypt.dll (0x0000000001b90000) CRYPTSP.dll => C:\WINDOWS\SYSTEM32\CRYPTSP.dll (0x0000000001b90000) profapi.dll => C:\WINDOWS\SYSTEM32\profapi.dll (0x0000000000780000) ext-ms-win-profile-extender-l1-1-0.dll => not found ext-ms-win-profile-load-l1-1-0.dll => not found DPAPI.dll => C:\WINDOWS\SYSTEM32\DPAPI.dll (0x0000000000020000) SAMLIB.dll => C:\WINDOWS\SYSTEM32\SAMLIB.dll (0x0000000000780000) DSPARSE.dll => C:\WINDOWS\SYSTEM32\DSPARSE.dll (0x0000000000760000) Cabinet.dll => C:\WINDOWS\SYSTEM32\Cabinet.dll (0x0000000000780000) ext-ms-win-ntuser-window-l1-1-1.dll => not found ext-ms-win-ntuser-synch-l1-1-0.dll => not found ext-ms-win-ntuser-message-l1-1-1.dll => not found ext-ms-win-rtcore-ntuser-sysparams-l1-1-0.dll => not found IPHLPAPI.DLL => C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL (0x0000000000780000) dhcpcsvc.DLL => C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL (0x0000000001ae0000) dhcpcsvc6.DLL => C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL (0x0000000001ae0000) DNSAPI.dll => C:\WINDOWS\SYSTEM32\DNSAPI.dll (0x0000000001ae0000) WINNSI.DLL => C:\WINDOWS\SYSTEM32\WINNSI.DLL (0x0000000000020000) DEVOBJ.dll => C:\WINDOWS\SYSTEM32\DEVOBJ.dll (0x0000000001ae0000) CFGMGR32.dll => C:\WINDOWS\SYSTEM32\CFGMGR32.dll (0x0000000001b10000) DEVRTL.dll => C:\WINDOWS\SYSTEM32\DEVRTL.dll (0x0000000000020000) ext-ms-win-edputil-policy-l1-1-0.dll => not found WS2_32.dll => C:\WINDOWS\SYSTEM32\WS2_32.dll (0x0000000001ae0000) NSI.dll => C:\WINDOWS\SYSTEM32\NSI.dll (0x0000000000020000) ext-ms-win-rtcore-ntuser-window-ext-l1-1-0.dll => not found libgfortran-3.dll (0x00000000015f0000) libquadmath-0.dll (0x0000000003cd0000) ADVAPI32.dll => C:\WINDOWS\SYSTEM32\ADVAPI32.dll (0x0000000003cd0000) SECHOST.dll => C:\WINDOWS\SYSTEM32\SECHOST.dll (0x0000000003d70000) ext-ms-win-eventing-rundown-l1-1-0.dll => not found ext-ms-win-security-chambers-l1-1-0.dll => not found WINTRUST.dll => C:\WINDOWS\SYSTEM32\WINTRUST.dll (0x0000000003d70000) ext-ms-win-advapi32-safer-l1-1-0.dll => not found imagehlp.dll => C:\WINDOWS\SYSTEM32\imagehlp.dll (0x00000000001d0000) dbghelp.dll => C:\WINDOWS\SYSTEM32\dbghelp.dll (0x0000000003dd0000) libstdc++-6.dll (0x00000000015f0000)