-
Notifications
You must be signed in to change notification settings - Fork 137
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
Undefined variables in Debug build #36
Comments
What compiler do you use? |
I get this error too, with Visual Studio 2015. The C-compiler has this version string:
Here is the output from the compilation in Visual Studio:
An easy workaround is to undefine PROFILE and AMGX_USE_CPU_PROFILER. |
The DEBUG version couldn't be built due to problems with the PROFILE setting, reported in NVIDIA#36 The profiling-build still has to be fixed. You can decide after that, whether profiling should be part of the debug configuration.
A fix for the debug-build is to remove the PROFILE options from the DEBUG build, see this pull-request: |
Hi Carl, Sounds good. We will revisit profiling/ranging/debugging options at some point. Merged to unblock debug mode as of right now. Thanks! |
base/include/amgx_timer.h uses undefined variables (t1 and t2) in code that is activated during a Debug build.
AMGX/base/include/amgx_timer.h
Line 233 in 732338c
The text was updated successfully, but these errors were encountered: