- Download Process Monitor: https://learn.microsoft.com/en-us/sysinternals/downloads/procmon#download
- Launch the tool and choose the menu "Filter / Organize Filters"
- Import the file "configure inject.PMF" in attachment
- Now, choose the menu "Filter / Load Filter" then "configure inject", the filter will be applied
- In the results, take a look at the column "Path" to know where ps_windows_dllinject.dll should be copied.
Why do I get an error like "cannot open shared object file: ps_windows_dllinject.dll" using polyspace-configure?
42 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 7 Aug. 2023
Bearbeitet: MathWorks Support Team
am 13 Nov. 2024 um 11:17
When using polyspace-configure to prepare my project for Polyspace analysis, I get a fatal error message like the following, and the build process halts. How can I fix the issue to allow polyspace-configure to succeed in tracing my build command?
polyspace-configure: 0s: DEBUG: Emitting injection order for process xxx.yyy
0 [main] mkdir <yyyy> <pathto>\win64\x86_64\usr\bin\mkdir.exe: *** fatal error - error while loading shared libraries: /c/Program Files/Polyspace/R2019b/polyspace/configure/win64/ps_windows_dllinject.dll: cannot open shared object file: No such file or directory
35748 [main] mkdir <xxxx> cygwin_exception::open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
Makefile:55: recipe for target 'file.o' failed
make: *** [pathto/src/file.o] Error 256
Akzeptierte Antwort
MathWorks Support Team
am 13 Nov. 2024 um 0:00
Bearbeitet: MathWorks Support Team
am 13 Nov. 2024 um 11:17
This is the symptom of a polyspace-configure issue related to a Cygwin's executable like "make.exe" or "tee.exe", executable used during the build process.
A workaround is to create the missing folder and copy the file "ps_windows_dllinject.dll" (that can be found in <Polyspace installation>/polyspace/configure/win64) into this new folder.
To know the folder to create, you can use the tool Process Monitor (from Microsoft) to see which paths are being referenced during the build process.
To help you apply this workaround, a predefined filter for Process Monitor, specifically targeting the location of the DLL, is attached to this article.
Here is the procedure:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Options at Command Line Only finden Sie in Help Center und File Exchange
Produkte
Version
R2023a
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!