kbrafford

Problems building clAmdFft library

Discussion created by kbrafford on Jan 15, 2011
Latest reply on Jan 21, 2013 by dkissick
How do people use this thing?

I am having a hard time using the library.  I am using VS 2008 and have boost 1.44 isntalled.  The configuration and generation seemed to work, but when I try to build my solution I get this:

 

 

1>------ Rebuild All started: Project: ZERO_CHECK, Configuration: Debug Win32 ------ 1>Deleting intermediate and output files for project 'ZERO_CHECK', configuration 'Debug|Win32' 1>Checking Build System 1>CMake does not need to re-run because C:/AMD/clAmdFft-1.0.53/Build/CMakeFiles/generate.stamp is up-to-date. 1>Build log was saved at "file://c:\AMD\clAmdFft-1.0.53\Build\ZERO_CHECK.dir\Debug\BuildLog.htm" 1>ZERO_CHECK - 0 error(s), 0 warning(s) 2>------ Rebuild All started: Project: clAmdFft.Client, Configuration: Debug Win32 ------ 2>Deleting intermediate and output files for project 'clAmdFft.Client', configuration 'Debug|Win32' 2>Building Custom Rule C:/AMD/clAmdFft-1.0.53/samples/CMakeLists.txt 2>CMake does not need to re-run because C:\AMD\clAmdFft-1.0.53\Build\CMakeFiles\generate.stamp is up-to-date. 2>Compiling... 2>stdafx.cpp 2>clAmdFft.statisticalTimer.cpp 2>..\samples\clAmdFft.statisticalTimer.cpp(21) : error C2143: syntax error : missing ',' before '<' 2> ..\samples\clAmdFft.statisticalTimer.cpp(27) : see reference to class template instantiation 'Accumulator<T>' being compiled 2>..\samples\clAmdFft.statisticalTimer.cpp(21) : error C2039: 'unary_function' : is not a member of 'std' 2> ..\samples\clAmdFft.statisticalTimer.cpp(193) : see reference to class template instantiation 'Accumulator<T>' being compiled 2> with 2> [ 2> T=cl_ulong 2> ] 2>..\samples\clAmdFft.statisticalTimer.cpp(21) : error C2504: 'unary_function' : base class undefined 2>..\samples\clAmdFft.statisticalTimer.cpp(21) : error C2143: syntax error : missing ',' before '<' 2>..\samples\clAmdFft.statisticalTimer.cpp(25) : fatal error C1903: unable to recover from previous error(s); stopping compilation 2>clAmdFft.openCL.cpp 2>clAmdFft.client.cpp 2>Generating Code... 2>Build log was saved at "file://c:\AMD\clAmdFft-1.0.53\Build\clAmdFft.Client.dir\Debug\BuildLog.htm" 2>clAmdFft.Client - 5 error(s), 0 warning(s) 3>------ Skipped Rebuild All: Project: ALL_BUILD, Configuration: Debug Win32 ------ 3>Project not selected to build for this solution configuration ========== Rebuild All: 1 succeeded, 1 failed, 1 skipped ==========

Outcomes