修改避障日志
This commit is contained in:
@@ -84,9 +84,13 @@ Copy-FileIfChanged (Join-Path $qt 'plugins/sqldrivers/qsqlpsql.dll') `
|
||||
(Join-Path $output 'sqldrivers/qsqlpsql.dll')
|
||||
|
||||
foreach ($name in @('libpq.dll', 'libssl-3-x64.dll', 'libcrypto-3-x64.dll',
|
||||
'libintl-9.dll', 'libiconv-2.dll', 'libwinpthread-1.dll')) {
|
||||
'libintl-9.dll', 'libiconv-2.dll')) {
|
||||
Copy-FileIfChanged (Join-Path $postgres $name) (Join-Path $output $name)
|
||||
}
|
||||
# PostgreSQL loads libwinpthread first. Use the SDK version for both consumers:
|
||||
# the older PostgreSQL copy lacks clock_gettime64/nanosleep64 required by MVS FFmpeg.
|
||||
Copy-FileIfChanged (Join-Path $sdkBin 'ThirdParty/libwinpthread-1.dll') `
|
||||
(Join-Path $output 'libwinpthread-1.dll')
|
||||
|
||||
if (-not $RuntimeOnly) {
|
||||
Copy-FileIfChanged (Join-Path $project 'config.ini') (Join-Path $output 'config.ini')
|
||||
@@ -99,7 +103,8 @@ $requiredRuntime = @(
|
||||
'VisionGuide.dll', 'VisionGuide_cpp.dll', 'MvCameraControl.dll',
|
||||
'Qt5Core.dll', 'Qt5Gui.dll', 'Qt5Widgets.dll', 'Qt5Network.dll',
|
||||
'Qt5SerialPort.dll', 'Qt5SerialBus.dll', 'Qt5Sql.dll',
|
||||
'platforms/qwindows.dll', 'sqldrivers/qsqlpsql.dll', 'libpq.dll'
|
||||
'platforms/qwindows.dll', 'sqldrivers/qsqlpsql.dll', 'libpq.dll',
|
||||
'libwinpthread-1.dll', 'ThirdParty/libwinpthread-1.dll'
|
||||
)
|
||||
foreach ($relative in $requiredRuntime) {
|
||||
if (-not (Test-Path -LiteralPath (Join-Path $output $relative) -PathType Leaf)) {
|
||||
|
||||
Reference in New Issue
Block a user