Comments (3)
有可能是您项目文件的复制路径字符超过了256的长度。
您也可以把生成后事件这些配置给删除了,手动把相关的文件夹复制粘贴到输出目录。
from integratedsoftware.
if exist "$(ProjectDir)..\Calibration" (
robocopy /e /np /njh /njs /ndl /nc /ns /ts "$(ProjectDir)..\Calibration" "$(TargetDir)\Calibration")
if exist "$(ProjectDir)..\CameraDLL" (
robocopy /e /np /njh /njs /ndl /nc /ns /ts "$(ProjectDir)..\CameraDLL" "$(TargetDir)\CameraDLL")
if exist "$(ProjectDir)..\ExternTool" (
robocopy /e /np /njh /njs /ndl /nc /ns /ts "$(ProjectDir)..\ExternTool" "$(TargetDir)\ExternTool")
if exist "$(ProjectDir)..\MotionCardDLL" (
robocopy /e /np /njh /njs /ndl /nc /ns /ts "$(ProjectDir)..\MotionCardDLL" "$(TargetDir)\MotionCardDLL")
if exist "$(ProjectDir)..\ThirdPartyDLL\halcon.dll" (
copy /Y "$(ProjectDir)..\ThirdPartyDLL\halcon.dll" "$(TargetDir)")
)
)
)
)
)
使用上面修改复制的命令可以编译
from integratedsoftware.
if exist "$(ProjectDir)..\Calibration" ( pushd ..\Calibration xcopy /Y . .. popd ) cd "$(TargetDir)\Calibration" xcopy /Y . ..\
if exist "$(ProjectDir)..\CameraDLL" ( pushd ..\CameraDLL xcopy /Y . .. popd ) cd "$(TargetDir)\CameraDLL" xcopy /Y . ..\
if exist "$(ProjectDir)..\ExternTool" ( pushd ..\ExternTool xcopy /Y . .. popd ) cd "$(TargetDir)\ExternTool" xcopy /Y . ..\
if exist "$(ProjectDir)..\MotionCardDLL" ( pushd ..\MotionCardDLL xcopy /Y . .. popd ) cd "$(TargetDir)\MotionCardDLL" xcopy /Y . ..\
if exist "$(ProjectDir)..\ThirdPartyDLL\halcon.dll" ( copy /Y "$(ProjectDir)..\ThirdPartyDLL\halcon.dll" "$(TargetDir)")
使用上面修改复制的命令可以编译
感谢,我测试一下,没有问题的话就Commit
from integratedsoftware.
Related Issues (18)
- 可以运行,感谢 HOT 1
- hShowWindows未声明或为赋值错误;invoke错误 HOT 5
- 只是来感谢的
- 软件使用视频 HOT 1
- 1
- 软件可以运行,使用流程遇到问题 HOT 6
- 工具箱 HOT 2
- 工具栏没有工具 HOT 1
- 编译出错,未能找到类型或命名空间名“CommonLibrary”(是否缺少 using 指令或程序集引用?) HOT 1
- Message=试图加载格式不正确的程序 HOT 3
- HShowWindow源码在哪 HOT 1
- 工具和工具之间参数如何传递,流程和流程之间如何交互 HOT 1
- 编译BuildDLL.sln时提示找不到MVSDK命名空间Could not find namespace MVSDK HOT 8
- 为什么可以吧dll 不放在exe文件下不报错。我模拟了一个项目,exe放在非exe所在文件夹下,报错 HOT 10
- 非常棒!感谢分享。
- halcon的代码 HOT 1
- 引用 HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from integratedsoftware.