Accéder au contenu.
Menu Sympa

starpu-devel - [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10

Objet : Developers list for StarPU

Archives de la liste

[Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10


Chronologique Discussions 
  • From: "Alin Dobre" <alin.dobre@movidius.com>
  • To: <starpu-devel@lists.gforge.inria.fr>
  • Subject: [Starpu-devel] Building StarPU with OpenCL on Ubuntu 11.10
  • Date: Tue, 5 Jun 2012 18:03:19 +0300
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Hi,

 

I’m having some trouble building the library on Ubuntu 11.10 32bit, GCC 4.6.1.

I get undefined symbol errors for the OpenCL primitives provided by the OpenCL library.

I have checked the library path and it is provided correctly.

 

I suspect the errors may be due to the fact that the -lOpenCL gets placed before the file that is using the library function calls in the linker command line.

I noticed that the -l directives should be placed after the file in order for the linking to work properly.

 

Could there be some change in the makefiles in order to avoid this issue?

 

Best regards,

Alin Dobre

 

 

 

bringing mobile to life!

 

Alin Dobre


Movidius SRL

Str. Paris nr. 2A, P01

Timisoara 300003

Timis, Romania

 

Email: alin.dobre@movidius.com
Web: www.movidius.com

Watch us on YouTube

Follow us on Twitter or Facebook

 

 

 




Archives gérées par MHonArc 2.6.19+.

Haut de le page