The Encog project for C/C++
C C++
Latest commit c656011 Apr 12, 2014 @jeffheaton jeffheaton Merge pull request #5 from dmillard/master
Fixed MemcpyToSymbol call for CUDA 5.0+
Failed to load latest commit information.
EncogExample Added ability for EG files to be read/written Feb 1, 2012
encog-c.sln RPROP now works. Mar 18, 2012


Encog C/C++ v1.0

This is the C/C++ version of Encog (
This file includes the complete source code for Encog for C.  The header
files are designed so that Encog can also be used with C++.  This file
includes instructions on how to compile and execute Encog for C.

For more information, visit:

For binary releases, visit:

** Visual C++ **

Just open the encog-c.sln file and compile as you would any Visual Studio 

** UNIX **

Simply execute the make command in the directory that includes the 
Encog makefile. The makefile has been tested with Linux, MAC, and
Raspberry PI's Debian 7 release.

There are several options you can use.

To force 32 or 64 bit compile.

make ARCH=32
make ARCH=64

To compile with CUDA (for GPU).

make CUDA=1

You can also combine:

make ARCH=64 CUDA=1

Clear previous builds:

make clean

** Raspberry PI **

The gcc that comes with Raspberry PI seems to have trouble with the -m32 
option.  The following command will compile Encog for Raspberry PI.