Compilation of libgmac1.1.1 on window 7

9 views
Skip to first unread message

Jung-Hyun Hong

unread,
Apr 13, 2015, 1:31:14 AM4/13/15
to adsm-...@googlegroups.com
Dear manager:

      Thank you for offering GMAC for OpenCL. 
      I'm trying to compile the libgmac1.1.1 on window 7 using CMake 3.2.1,  AMD OpenCL SDK 2.9,  and Visual Studio 2010.
      I  succeed in generating the build forder using CMake. 
      But, when I compile the gmac, there is the linking errors for gmac-hpe.lib 
      
       11>init.obj : error LNK2019: GetModuleInformation externel Symbol in DllMain 
       11>C:\libgmac\build2010\Release\gmac-hpe.dll : fatal error LNK1120

      Is there any advice for solving this compile errors?
      Should I check for the linking option or CMake configurations?

      I attached the screen shot of my CMake GUI

      Thank you very much.
      Sincerely,


Jung-Hyun Hong

unread,
Apr 13, 2015, 2:13:32 AM4/13/15
to adsm-...@googlegroups.com
It was my mistake.
I should use the PSapi.Lib for x64, and build the gmac as release mode with administrator privilege.

Finally, GMAC is working for my application :-).
Thnaks.

2015년 4월 13일 월요일 오후 2시 31분 14초 UTC+9, Jung-Hyun Hong 님의 말:
Reply all
Reply to author
Forward
0 new messages