Giter Club home page Giter Club logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
Alex do you get any errors during the build?

In the com.amd.aparapi.jni/build.xml

You will see this target

<target name="gcc" if="use.gcc">
          <mkdir dir="${basedir}/dist"/>
      <echo message="linuxcc ${os.arch}" />
      <exec executable="g++">
         <arg value="-O3" />
         <arg value="-g" />
         <arg value="-fPIC" />
         <arg value="-I${java.home}/../include" />
         <arg value="-I${java.home}/../include/linux" />
         <arg value="-Iinclude" />
         <arg value="-I${amd.app.sdk.dir}/include" />
         <arg value="-shared" />
         <arg value="-o" />
         <arg value="${basedir}/dist/libaparapi_${x86_or_x86_64}.so" />
         <arg value="src/cpp/aparapi.cpp" />
         <arg value="-L${amd.app.sdk.dir}/lib/${x86_or_x86_64}" />
         <arg value="-lOpenCL" />
      </exec>
   </target> 

Can you add say 
   <echo message="COMPILING WITH GCC!!!!!!"/>

After the line
<target name="gcc" if="use.gcc">

I want to just check that ant is at leas attempting to do the right thing.

Gary

Original comment by [email protected] on 2 Apr 2012 at 2:51

from aparapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
I added the line and then i ran:
ant clean build dist | grep GCC

This gives 2 hits when building:
     [echo] COMPILING WITH GCC!!!!!!
     [exec] Result: 1
     [echo] COMPILING WITH GCC!!!!!!
     [exec] Result: 1

As for errors, running:
ant clean build dist | grep error

Gives:
     [exec] src/cpp/aparapi.cpp:291:7: error: ‘boolean’ does not name a type
     [exec] src/cpp/aparapi.cpp:891:17: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1032:33: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1033:34: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1883:69: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1898:65: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] Result: 1
     [exec] src/cpp/aparapi.cpp:291:7: error: ‘boolean’ does not name a type
     [exec] src/cpp/aparapi.cpp:891:17: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1032:33: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1033:34: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1883:69: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] src/cpp/aparapi.cpp:1898:65: error: ‘class ProfileInfo’ has no member named ‘valid’
     [exec] Result: 1


Original comment by [email protected] on 2 Apr 2012 at 3:06

from aparapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
Alex,

Thanks for reporting, our MacOS users noted this a few weeks ago, but I assumed 
it
was a MacOS fix only.  Apologies,  let me check in a fix.

The type should be 'bool' not 'boolean' at line 291 of  src/cpp/aparapi.cpp.

I will make the change in SVN.

Were you syncing with SVN? or using the zip download?

Thank you for reporting, this was my bad. Clearly I need to build on
linux more frequently.

Gary

Original comment by [email protected] on 2 Apr 2012 at 3:29

from aparapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
I am syncing with SVN.
Thanks for the quick response :).
I will be building on linux frequently so I will also be reporting bugs on 
linux. 

Original comment by [email protected] on 2 Apr 2012 at 3:44

from aparapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
I just made the change.  Actually the type should have been jboolean.

If you sync with r390 (the latest) you should be good to go. 

Thanks for keeping me honest :)

Original comment by [email protected] on 2 Apr 2012 at 3:57

from aparapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024

Original comment by [email protected] on 2 Apr 2012 at 4:06

  • Changed state: Fixed

from aparapi.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 15, 2024
Confirming fixed in r390.

Original comment by [email protected] on 2 Apr 2012 at 4:10

from aparapi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.