-
-
Notifications
You must be signed in to change notification settings - Fork 191
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
Profile dump file not being produced; no errors #190
Comments
Hello! Thanks for feedback. Let's debug together! Try add cmake -DEASY_OPTION_LOG=1 .. This option enable some diagnostics logs. May be program cannot open file for writing. I tried to write a file in place where I haven't permissionw (for example
|
Hey, thanks for the speedy reply! I am doing the following
I then rerun 'make' and compile the test with
which compiles fine. I then run it, it outputs nothing but the result of the calculation, and no file :/ No diagnostic or anything :sadcat: I also tried with just
instead of the release option, reran make etc etc, same result. I feel like i'm missing something dumb and obvious... |
I understand. May be necessity of the definition is ugly design but...I don't know, it was from firsts steps and we kept it for backward compatibility. |
It happens when you do not have |
I encounter the same problem too, the wiki don't really discuss this problem in details. I find in easy_profiler_core/CMakeLists.txt that -DBUILD_WITH_EASY_PROFILER=1 is already defined, so why would I need to add an argument again when invoking cmake? |
It depends on your usage of CMake and it's variable scope resolution. If you want to set a variable from child project you need to define it with PARENT_SCOPE option, like this: |
I had the same problem on my Windows. Finally I've realized that I just needed to add full path to my libeasy_profiler.dll to the Path system variable. My exe just couldn't find the needed dll and crashed at startup. |
Hi,
I have what is probably a dumb question: the output file isn't being produced when dumping to disk.
I'm on ubuntu 16.04 and the project builds fine (i can open the GUI editor and all that) and I can compile a simple code (below) fine and it runs but the .prof file isn't produced anywhere. I've tried giving absolute paths and searching my whole drive but it simply doesn't exist - any ideas?
The text was updated successfully, but these errors were encountered: