For$
<!-- begin site header -->
<div id=

Author Topic: libnoise fails to compile  (Read 6104 times)

evanwidloski

  • Newbie
  • *
  • Posts: 1
    • View Profile
libnoise fails to compile
« 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?

Fador

  • Administrator
  • Full Member
  • *****
  • Posts: 126
    • View Profile
Re: libnoise fails to compile
« Reply #1 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

Timatooth

  • Newbie
  • *
  • Posts: 21
    • View Profile
Re: libnoise fails to compile
« Reply #2 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.