*** fatal error - error while loading shared libraries: /c/Program Files/Poly​space/R202​4b/polyspa​ce/configu​re/win64/p​s_windows_​dllinject.​dll: cannot open shared object file:

10 vues (au cours des 30 derniers jours)
Polyspace R2024b 사용 중 아래와 같은 에러가 발생합니다.
아마 ps_windows_dllinject.dll가 있는 경로를 인식을 못하는 것 같습니다.
/c/Program Files/Polyspace/R2024b/polyspace/configure/win64/ps_windows_dllinject.dll 가 아니라
C:/Program Files/Polyspace/R2024b/polyspace/configure/win64/ps_windows_dllinject.dll 가 되어야 하는 것 같은데, 어떻게 해결할 수 있을지 질문드립니다.
아래는 에러 로그입니다.
polyspace-configure: 1s: ERROR: Error during inject order 11380.17760:
polyspace-configure: 1s: ERROR: Failed to wait 11380 for event with code 258
1 [main] mkdir 901 (경로)\mkdir.exe: *** fatal error - error while loading shared libraries: /c/Program Files/Polyspace/R2024b/polyspace/configure/win64/ps_windows_dllinject.dll: cannot open shared object file: No such file or directory
574 [main] mkdir 901 cygwin_exception::open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
Building opt.map
(경로)\make/Make_rules.mak:232: *** open:
(경로)\output/make/opt.map: No such file or directory. Stop.
중략
polyspace-configure: 0s: WARNING: Build command ignored (build deactivated)
polyspace-configure: 0s: ERROR: [17876] inject_proxy32: INJECT_THREAD process injection failed (16460.17960) (1001inject thread error: could not load injection DLL (missing Microsoft redistributable DLLs?))
polyspace-configure: 0s: WARNING: Executed compilers are:
polyspace-configure: 0s: WARNING: C:/Compiler/TASKING/TriCore_v6.3r1/ctc/bin/ctc.exe
polyspace-configure: 0s: WARNING: Executed programs are:
후략

Réponses (1)

Kautuk Raj
Kautuk Raj le 19 Déc 2024
I reckon you are encountering an error related to the path of the ps_windows_dllinject.dll file while using Polyspace R2024b. This issue might be due to incorrect path recognition, as you have mentioned.
I recommend referring to this MATLAB Answers post for a detailed explanation and potential solutions: https://www.mathworks.com/matlabcentral/answers/2005542-why-do-i-get-an-error-like-cannot-open-shared-object-file-ps_windows_dllinject-dll-using-polyspac
This article would provide insights into resolving the path issue and ensuring that the DLL is correctly recognized by the system.
  3 commentaires
Kautuk Raj
Kautuk Raj le 19 Déc 2024
Suggested to run the command polyspace-configure ... -easy-debug <folder> <build command> > out.log 2>&1 and share the log files for debugging and better investigation.
원종
원종 le 19 Déc 2024
Here is whole error log.
Personal informations are changed to blanks.
------------------------------------------------------------------------------------------------------------------------------------------
polyspace-configure: 1s: ERROR: Error during inject order 21380.17276:
polyspace-configure: 1s: ERROR: Failed to wait 21380 for event with code 258
1 [main] mkdir 617 F:\[ ]\SourceCode\PLUGIN\AUTOSAR\AUTOCORE_TC387\plugins\Make_TS_< >\tools\GNU_Utils\mkdir.exe: *** fatal error - error while loading shared libraries: /c/Program Files/Polyspace/R2024b/polyspace/configure/win64/ps_windows_dllinject.dll: cannot open shared object file: No such file or directory
487 [main] mkdir 617 cygwin_exception::open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
Building opt.map
F:/[ ]/SourceCode/PLUGIN/AUTOSAR/AUTOCORE_TC387/plugins/Make_TS_< >/make/Make_rules.mak:232: *** open: F:\[ ]\BuildPackage\{ }_MOCI_387/output/make/opt.map: No such file or directory. Stop.
polyspace-configure: 33s: WARNING: Keeping potentially big build trace, remember to delete it: "C:\Users\( )\AppData\Local\Temp\Polyspace\1734606733787\polyspace-configure\build_trace.txt"
polyspace-configure: 33s: WARNING: Keeping potentially big cache directory, remember to delete it: C:/Users/( )/AppData/Local/Temp/Polyspace/1734606733787/polyspace-configure/cache
polyspace-configure: 0s: WARNING: Build command ignored (build deactivated)
polyspace-configure: 0s: ERROR: [21228] inject_proxy32: INJECT_THREAD process injection failed (7496.13132) (1001inject thread error: could not load injection DLL (missing Microsoft redistributable DLLs?))
polyspace-configure: 0s: WARNING: Executed compilers are:
polyspace-configure: 0s: WARNING: C:/Compiler/TASKING/TriCore_v6.2r2/ctc/bin/ctc.exe
polyspace-configure: 0s: WARNING: Executed programs are:
polyspace-configure: 0s: WARNING: cc1 "F:\[ ]\SourceCode\PLUGIN\AUTOSAR\AUTOCORE_TC387\plugins\Make_TS_< >\tools\gcc\libexec\gcc\i686-w64-mingw32\6.2.0\cc1.exe"
polyspace-configure: 0s: WARNING: cmd "C:\Windows\system32\cmd.exe"
polyspace-configure: 0s: WARNING: cpp "F:\[ ]\SourceCode\PLUGIN\AUTOSAR\AUTOCORE_TC387\plugins\Make_TS_< >\tools\gcc\bin\cpp.exe"
polyspace-configure: 0s: WARNING: ctc "C:\Compiler\TASKING\TriCore_v6.2r2\ctc\bin\ctc.exe"
polyspace-configure: 0s: WARNING: gencfg "F:\[ ]\BuildPackage\_tools_\gencfg\gencfg.exe"
polyspace-configure: 0s: WARNING: make "F:\[ ]\SourceCode\PLUGIN\AUTOSAR\AUTOCORE_TC387\plugins\Make_TS_< >\tools\GNU_Make\make.exe"
polyspace-configure: 0s: WARNING: make3852-1.bat "C:\Users\( )\AppData\Local\Temp\make3852-1.bat"
polyspace-configure: 0s: WARNING: make3852-2.bat "C:\Users\( )\AppData\Local\Temp\make3852-2.bat"
polyspace-configure: 0s: WARNING: make3852-3.bat "C:\Users\( )\AppData\Local\Temp\make3852-3.bat"
polyspace-configure: 0s: WARNING: mkdir "F:\[ ]\SourceCode\PLUGIN\AUTOSAR\AUTOCORE_TC387\plugins\Make_TS_< >\tools\GNU_Utils\mkdir.exe"
polyspace-configure: 0s: WARNING: perl "F:\[ ]\SourceCode\PLUGIN\AUTOSAR\AUTOCORE_TC387\plugins\Make_TS_< >\tools\strawberryperl\perl.exe"
polyspace-configure: 0s: WARNING: wtee "F:\[ ]\BuildPackage\_common\util\wtee.exe"
polyspace-configure: 0s: WARNING: No compilation unit detected in your build.
polyspace-configure: 0s: WARNING: Possible reasons for this error are:
polyspace-configure: 0s: WARNING: - Polyspace might not support your compiler.
polyspace-configure: 0s: WARNING: For more information, see https://www.mathworks.com/help/bugfinder/ug/your-compiler-is-unknown.html
polyspace-configure: 0s: WARNING: - The detected compilers did not build any C or C++ files.
polyspace-configure: 0s: WARNING: - Detected security software Sentinel Agent might interfere with polyspace-configure.
polyspace-configure: 0s: WARNING: Try adding Polyspace to the Sentinel Agent list of allowed software, or disable Sentinel Agent.
polyspace-configure: 0s: ERROR: Fatal error
polyspace-configure: 0s: WARNING: Keeping potentially big build trace, remember to delete it: "C:\Users\( )\AppData\Local\Temp\Polyspace\1734606733787\polyspace-configure\build_trace.txt"
polyspace-configure: 0s: WARNING: Keeping potentially big cache directory, remember to delete it: C:/Users/( )/AppData/Local/Temp/Polyspace/1734606733787/polyspace-configure/cache

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by