Search code examples
c#librariesaleagpu

How to setup project using Alea GPU


(Sorry if this is really obvious, I'm completely new to GPU programming.) I have installed all of the dependencies for Alea GPU and the samples are compiling and running as they should. However, I'm not sure how to setup a new console or windows forms project to include the Alea GPU libraries. If I just try to include the files as follows:

using Alea;
using Alea.Parallel;

I get the error:

"The type or namespace name 'Alea' could not be found (are you missing a using directive or an assembly reference?)".

How am I supposed to include the Alea GPU libraries when creating a new project? (I'm using Visual Studio 2015)


Solution

  • Before the "using" statements will work, you need to add a reference to the project that points to the Alea library so Visual Studio knows where to look for them.