Hey there,
You should start by building the zlib library included with the source code. To
build the included zlib, do this:
cd /(the source root directory)/zlib
mkdir build/linux_release
cd build/linux_release
cmake -i ../../
(enter Release for the build type)
make
Then, to build tinyxmldll, do this:
cd /(the source root directory)/tinyxmldll
mkdir build/linux_release
cd build/linux_release
cmake -i ../../
(enter Release for the build type)
make
Then to build HyperNEAT:
cd /(the source root directory)/NE/HyperNEAT
mkdir build/linux_release
cd build/linux_release
cmake -i ../../
(enter Release for the build type)
make
Check out the README.txt file included with the source code, at the bottom it
has step-by-step build instructions.
Jason G.
--- In neat@yahoogroups.com, "gururise" <gururise@...> wrote:
>
> Hello,
> I'm having the hardest time trying to compile Hyperneat 2.6 on Fedora 11 using
GCC 4.4. I already have zlib-devel packages installed, so I try and build
tinyxmldll and thats where things blow up.
>
> I create the following directories:
> mkdir tinyxmldll/build/debug
> mkdir tinyxmldll/build/release
>
> but when I try running cmake -i on those directories, I get the error:
> CMake Error: The source directory
"/home/user/hyperneat/tinyxmldll/build/debug" does not appear to contain
CMakeLists.txt.
>
> So then I try running cmake -i in the tinyxmldll directory itself, and it
seems to run; however, when I run make, I get the following error:
>
> /usr/bin/ld: cannot find -lzlib
> collect2: ld returned 1 exit status
>
> but I've already set the zlib include path to /usr/include and the zlib_lib
path to /usr/lib64, but it still cannot find the files. Even when I try to
build the included zlib and point the path to those header and lib files, I get
the same error. Has anyone built it on Linux? Can anyone point to a step my
step procedure for building hyperneat and its dependencies?
>
> Thank You
>