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

PDBCMake Error: TARGET_PDB_FILE is allowed only for targets with linker created artifacts #4279

Open
kinghelong opened this issue Jul 5, 2024 · 3 comments

Comments

@kinghelong
Copy link

Current Behavior

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:common_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:common_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:common_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:common_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:unicharset_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:unicharset_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:unicharset_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

CMake Error:
Error evaluating generator expression:

$<TARGET_PDB_FILE:unicharset_training>

TARGET_PDB_FILE is allowed only for targets with linker created artifacts.

Expected Behavior

No response

Suggested Fix

No response

tesseract -v

No response

Operating System

Windows 11

Other Operating System

No response

uname -a

No response

Compiler

vs2022

CPU

AMD 5600G

Virtualization / Containers

No response

Other Information

No response

@zdenop
Copy link
Contributor

zdenop commented Jul 6, 2024

no steps to replicate the problem

@kimvnhung
Copy link

I have same issue like this while configuring CMakeLists.txt .
I'm using Qt Creator to open CMake file and configuring the source project.
I'm using Windows 10 and MSVC 2019 compiler

@zdenop
Copy link
Contributor

zdenop commented Jul 26, 2024

@kimvnhung : We do not support configuration via Qt Creator. As you can check our win cmake works without problem https://github.com/tesseract-ocr/tesseract/actions/workflows/cmake-win64.yml

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

3 participants