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

no target loaded #13

Open
zcshsh opened this issue Nov 21, 2019 · 5 comments
Open

no target loaded #13

zcshsh opened this issue Nov 21, 2019 · 5 comments

Comments

@zcshsh
Copy link

@zcshsh zcshsh commented Nov 21, 2019

Describe the bug
when I use cmake to build tesseract with SW, there was an exception

Expected behavior
Exception in file D:\dev\cppan2\client2\src\sw\core\build.cpp:228, function
loadPackages: loc.sw.self.472d1f-local: No target loaded:
com.Microsoft.Windows.SDK.ucrt-*

To Reproduce
sw command: F:/sw.exe -shared -platform x86 -d G:/study/tesseract_UB-Mannheim_5.0/build/.sw/cmake integrate -cmake-deps G:/study/tesseract_UB-Mannheim_5.0/build/.sw/cmake/sw.txt
CMake Error at C:/Users/DW/.sw/storage/etc/sw/static/SWConfig.cmake:127 (message):
sw: non-zero exit code: 1:

out:

err:

Exception in file D:\dev\cppan2\client2\src\sw\core\build.cpp:228, function
loadPackages: loc.sw.self.472d1f-local: No target loaded:
com.Microsoft.Windows.SDK.ucrt-*
Call Stack (most recent call first):
CMakeLists.txt:206 (sw_execute)

Information:
how can I resolve this question, because there is not D: in my computer.

@egorpugin

This comment has been minimized.

Copy link
Contributor

@egorpugin egorpugin commented Nov 21, 2019

Do you have WinSDK installed?

how can I resolve this question, because there is not D: in my computer.

It's not about your computer. It is debug information.

@zcshsh

This comment has been minimized.

Copy link
Author

@zcshsh zcshsh commented Nov 22, 2019

Do you have WinSDK installed?

how can I resolve this question, because there is not D: in my computer.

It's not about your computer. It is debug information.

yes, my system is win10, I have installed winsdk, and what is the mean of the debug information, I should install cppan, isn't it?

@egorpugin

This comment has been minimized.

Copy link
Contributor

@egorpugin egorpugin commented Nov 22, 2019

I should install cppan, isn't it?

No, you should not.

Could you run your command with -trace parameter and attach the log here? Like sw -trace *rest of args*.

@egorpugin

This comment has been minimized.

Copy link
Contributor

@egorpugin egorpugin commented Nov 24, 2019

I think I found the issue, will notify you later.

@egorpugin

This comment has been minimized.

Copy link
Contributor

@egorpugin egorpugin commented Nov 25, 2019

I've updated sw client. Try it now.
sw --self-upgrade or re-download from the website.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.