Code Monkey home page Code Monkey logo

Comments (3)

jiaowomomo avatar jiaowomomo commented on June 13, 2024

有可能是您项目文件的复制路径字符超过了256的长度。
您也可以把生成后事件这些配置给删除了,手动把相关的文件夹复制粘贴到输出目录。
image

from integratedsoftware.

phhh-xh avatar phhh-xh commented on June 13, 2024

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.

jiaowomomo avatar jiaowomomo commented on June 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.