I have built an application which uses AMDTPowerProfileAPI. It compiles successfully, but when I initialise this library as below:
AMDTResult hResult = AMDTPwrProfileInitialize(AMDT_PWR_PROFILE_MODE_ONLINE);
I receive an error code in hResult of "AMDT_ERROR_FAIL".
I'm running Centos 6.6. I did have to statically link to a newer libc to get this library to link so perhaps something is corrupted at runtime.
It is not feasible to update the target machine. None of the other error codes are triggered. What could cause this error?