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

EasyPR failed to Setup on MSVC #328

Open
nnfdnkns opened this issue Aug 15, 2022 · 0 comments
Open

EasyPR failed to Setup on MSVC #328

nnfdnkns opened this issue Aug 15, 2022 · 0 comments

Comments

@nnfdnkns
Copy link

nnfdnkns commented Aug 15, 2022

I'm submitting a ... (check one with "x")

[] bug report
[x ] help wanted
[x] feature request

Current behavior
setup failed

Expected/desired behavior
setup successfully

Reproduction of the problem
1.git clone https://github.com/liuruoze/EasyPR F:\gitP\liuruoze\EasyPR
2.cd F:\gitP\liuruoze\EasyPR\build_amd64
3.cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0 -DOpenCV_DIR=F:\tools\opencv\build\x64\vc14\lib -DCMAKE_BUILD_TYPE=Release .. 2>&1

Error info:
CMake Error at CMakeLists.txt:60 (add_executable):
The target name "test/main.cpp" is reserved or not valid for certain CMake
features, such as generator expressions, and may result in undefined
behavior.

log
configure.log

If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce.

What is the expected behavior?

setup successfully

What is the motivation / use case for changing the behavior?

Please tell us about your environment:
VS 2019 + Windows Server 2019

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

1 participant