Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lots of "cmd.exe" exited with code 1 ERROR during building the RTK with VS2017+CUDA9.1 #193

Closed
liuyl07 opened this issue Jun 23, 2018 · 3 comments

Comments

@liuyl07
Copy link

liuyl07 commented Jun 23, 2018

Hi guys,

I just met an issue. I tried to build the RTK under WIN10 (x64)+VS2017(with v140 toolsets because I know that there is a compatibility problem with v141 toolsets and CUDA9.1). To be exact, I only used v140 toolset for the "rtkcuda" project and remained others under v141 toolset. After rebuild the whole Visual Studio Solution, 57 errors occurred and they were all the same just shown as follows.

1>------ Rebuild All started: Project: rtkvarianprobeamgeometry, Configuration: Release x64 ------
1>Generating rtkvarianprobeamgeometry.ggo
1>CMake Error at D:/RTK1.4.0/Build/cat.cmake:6 (file):
1> file failed to open for reading (No such file or directory):
1>
1> D:/1
1>
1>
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
1>Done building project "rtkvarianprobeamgeometry.vcxproj" -- FAILED.

Can anyone help me find out what the reason is? Thanks in advance.

rtk building error 2
rtk building error 3
rtk building error 4
rtk building error

@liuyl07
Copy link
Author

liuyl07 commented Jun 23, 2018

Some complements. Build RTK (v1.4.0) with CUDA9.1 under Windows 10 with Visual Studio 2017.

@liuyl07
Copy link
Author

liuyl07 commented Jun 24, 2018

Just wanted to add an update related to this issue. The error occurred because the "Where is the source code" PATH which I set yesterday has some spaces. To be exact, I used "D:\1 Others\4 MY PROJECTS\ReconstructionToolKit\tags\v1.4.0", which has a space in the "1 Others" folder and another space in the "4 MY PROJECTS". After copying the RTK source code to another path (D:\RTK\Source_v1.4.0) eliminating any space, I can build and install the whole solution successfully.

@SimonRit
Copy link
Collaborator

Thanks for the report. Indeed, there was a problem with the spaces. It seems to be fixed with 8641ade, both for Linux and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants