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

Failing to build resources.rc #192

Open
SebastianTroy opened this issue May 23, 2021 · 2 comments
Open

Failing to build resources.rc #192

SebastianTroy opened this issue May 23, 2021 · 2 comments

Comments

@SebastianTroy
Copy link

SebastianTroy commented May 23, 2021

I believe this issue is related to this post https://discourse.cmake.org/t/how-to-use-resource-files-rc-in-cmake/2628/2

The build output that is failing is "[4/140 8.1/sec] Building RC object _deps/easy_profiler-build/easy_profiler_core/CMakeFiles/easy_profiler.dir/resources.rc.obj
FAILED: _deps/easy_profiler-build/easy_profiler_core/CMakeFiles/easy_profiler.dir/resources.rc.obj
...path...\Qt\Tools\mingw810_64\bin\windres.exe -O coff -DBUILD_WITH_EASY_PROFILER=1 -DEASY_DEFAULT_PORT=28077 -DEASY_PROFILER_VERSION_MAJOR=2 -DEASY_PROFILER_VERSION_MINOR=1 -DEASY_PROFILER_VERSION_PATCH=0 -DSTRSAFE_NO_DEPRECATE -D_BUILD_PROFILER=1 -D_CRT_SECURE_NO_WARNINGS -D_WIN32_WINNT=0x0600 -D_WINSOCK_DEPRECATED_NO_WARNINGS -Deasy_profiler_EXPORTS -I"...build-path.../_deps/easy_profiler-build/easy_profiler_core" -I"...build-path.../_deps/easy_profiler-src/easy_profiler_core" -I"...build-path.../_deps/easy_profiler-build/easy_profiler_core/easy_profiler_autogen/include" -I"...build-path.../_deps/easy_profiler-src/easy_profiler_core/include" -DEASY_CHRONO_STEADY_CLOCK=0 -DEASY_CHRONO_HIGHRES_CLOCK=0 -DEASY_OPTION_START_LISTEN_ON_STARTUP=0 -DEASY_OPTION_MEASURE_STORAGE_EXPAND=0 -DEASY_OPTION_STORAGE_EXPAND_BLOCKS_ON=0 -DEASY_OPTION_TRUNCATE_LONG_RUNTIME_NAMES=0 -DEASY_OPTION_CHECK_MAX_VALUE_DATA_SIZE=0 -DEASY_OPTION_IMPLICIT_THREAD_REGISTRATION=1 -DEASY_OPTION_EVENT_TRACING_ENABLED=1 -DEASY_OPTION_LOW_PRIORITY_EVENT_TRACING=1 -DEASY_OPTION_LOG_ENABLED=0 -DEASY_OPTION_PRETTY_PRINT_FUNCTIONS=0 -DEASY_OPTION_BUILTIN_COLORS=1 "...build-path.../_deps/easy_profiler-src/easy_profiler_core/resources.rc" _deps/easy_profiler-build/easy_profiler_core/CMakeFiles/easy_profiler.dir/resources.rc.obj
gcc: error: ...build-path.../_deps/easy_profiler-build/easy_profiler_core: No such file or directory
gcc: error: ...build-path.../_deps/easy_profiler-src/easy_profiler_core: No such file or directory
gcc: error: ...build-path.../_deps/easy_profiler-build/easy_profiler_core/easy_profiler_autogen/include: No such file or directory
gcc: error: ...build-path.../_deps/easy_profiler-src/easy_profiler_core/include: No such file or directory
...path...\Qt\Tools\mingw810_64\bin\windres.exe: preprocessing failed."

@yse
Copy link
Owner

yse commented Jun 2, 2021

Hello! Can you please provide generating command? Which one generator of cmake was used?

@SebastianTroy
Copy link
Author

Built with cmake 3.14, I just downloaded your project and tried to build it in QtCreator

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