-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Describe the bug
Gprof and Gcov profilers don't work for cmake4eclipse-driven projects - see the attached screenshots.
To Reproduce
Steps to reproduce the behaviour:
- Open a cmake4eclipse-driven project or create any simple one.
- Set any working "Launch Configuration"; when editing the configuration, choose Gprof or Gcov on the "Profiler" tab.
- Set a "Launch Mode" to "Profile" and launch.
- See error.
Expected behaviour
Gprof and Gcov profilers should be launching when requested by user, on "Launch in 'Profile' mode" control in Eclipse"
Screenshots
These are for the case of Gcov - they are almost the same for a case of Gprof:
Screenshot from 2024-09-26 23-24-10
Screenshot from 2024-09-26 23-24-27
Screenshot from 2024-09-26 23-24-47
Useful Information
- cmake4eclipse version: 5.0.0
- CDT version: 2024-09 (4.33.0)
- Which OS do you use: Linux (Debian 12)
- CMake version: 3.25.1
What is in Eclipse's Error Log?
See the errors in the attached screenshots.
Additional context
Setting the compiler/linker flags for gprof/gcov in CMakeLists.txt or in "Cmake4eclipse Build"/"CMake Options" window of the Project's Properties doesn't solve the problem.