Mineserver Community

Mineserver => Discussion => Topic started by: evanwidloski on August 25, 2012, 05:44:08 pm



Title: libnoise fails to compile
Post by: evanwidloski on August 25, 2012, 05:44:08 pm
I followed the instructions, but after copying noise/src to mineserver/src, libnoise fails to compile with this error.

g++: ../src/.libs/latlon.o: No such file or directory
g++: ../src/.libs/noisegen.o: No such file or directory
make: *** [libnoise.so.0.3] Error 1
 
.libs is indeed empty. getting desperate, i copied latlon.o and noisegen.o to .libs and got this error:

/usr/lib/gcc/i686-redhat-linux/4.4.6/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
collect2: ld returned 1 exit status
make: *** [libnoise.so.0.3] Error 1

Any ideas?


Title: Re: libnoise fails to compile
Post by: Fador on August 25, 2012, 10:16:10 pm
Those instructions are a bit old..
Altough it might work if you copy the libnoise/src/ files to mineserver/src/ and run "cmake ."  and "make" on the mineserver/ dir


Title: Re: libnoise fails to compile
Post by: Timatooth on August 26, 2012, 06:20:21 am
I just cloned the libnoise git repo wich includes its own cmake. or install libnoise-dev it available.