Hey, I was wondering if clAmdFft.Runtime.lib is compiled for MSVC, I am assuming it is, since when I linked it with g++ the executable crashes on init.
Hmm, yes looking inside I see it *is* for MSVC...
Is there a possibility for gcc(g++) libraries or is the source available somewhere?
Really sorry for bumping... but I am trying to compile from source a app that uses clAmdFft and am curious if gcc(g++) libraries are possible or if I should just start working on cl.
The windows libraries are compiled with MSVC 2010.
I don't know if I get your entire question yet, since you are saying that you are trying to link with gcc. Are you using minGW or cygwin to compile your app?
Sorry, my english is bad.
I'm trying to compile a app from source using g++, this is the final command that I was using
g++ -o test.exe test.o test2.o /opt/clAmdFft-version_here/import/thefftlib.lib -L /opt/AMDAPP/lib/x86_64 -lSDKUtil -lOpenCL
Sorry, away from my computer right now, not exact command of course
Anyways, I'm using a 64 bit mingw(4.8.1). g++ links it with no problem, but running the program it fails at clAmdFft's "start".
I kinda knew from .lib that it was compiled with MSVC, but I was not 100% sure.
I'm not an expert on minGW, but I think you can use the minGW-x64 gendef tool to help you construct an import library that minGW-x64 can properly link. I found documentation describing this below:
Thank you, I will try that when I get home!
Sorry for the late reply... so it works... kinda.
View image: error
Also to note, it works just fine on linux.
Retrieving data ...