Community
Participate
Working Groups
Microsoft recommends that C runtime libraries shouldn't be in the system directory http://support.microsoft.com/kb/326922. JRE shipps with msvcr DLLs in jre/bin, but xs.exe is not finding them there because that directory is not in the path. Before calling LoadLibrary, xs.exe should add jre/bin to the search path.
http://e2e.ti.com/support/embedded/bios/f/355/t/258210.aspx
Until we fix this one, it should be reported in release notes of each XDCtools release.
- fixed in xdcutils-h17 I fixed the bug using SetEnvironmentVariable(PATH) and GetEnvironmentVariable(PATH) only. There is much richer API in newer versions of Win32 API specifically targeted towards DLL importting, but we can't use it as long as we are compiling for the version 12.00 of the Microsoft compiler.
Verification: I removed msvcr71.dll from C:\Windows\SysWOW64, removed all directories from system path,and ran xdcprod 3.24.07.73 and 3.25.01.61_eng. The results were as expected - xdcprod 3.24 failed and xdcprod 3.25 worked. Output: C:\>set path= C:\><path>\xdctools_3_24_07_73\Windows\xs.exe -i <path>\xdctools_3_24_07_73\Windows\xs.exe: error: can't create session manager: create of JVM failed C:\><path>\xdctools_3_25_01_61_eng\Windows\xs.exe -i js> Verification successful for xdc product 3.25.01.61
shipped in 3.25.01.65: http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/rtsc/3_25_01_65/index_FDS.html