Fork me on GitHub
  November 19, 2018, 12:24:45 am
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: libnoise fails to compile  (Read 3926 times)
evanwidloski
Newbie
*
Posts: 1


View Profile
« 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?
Logged
Fador
Administrator
Full Member
*****
Posts: 126


View Profile
« 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
Logged
Timatooth
Newbie
*
Posts: 21


View Profile
« 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.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!