Mineserver > Support

Error at end of build. (Visual Studio 2010 build pack)

<< < (3/3)

xoft:
Sorry, I'm not on irc

For mineserver sources in c:\mineserver, set to the following:

--- Code: ---NOISE_LIBRARY="c:\mineserver/lib/libnoise.lib"
NOISE_INCLUDE_DIR="include"
EVENT_LIBRARY="c:\mineserver/lib/libevent.lib"
EVENT_INCLUDE_DIR="include"
ZLIB_LIBRARY="c:\mineserver/lib/zlibwapi.lib"
ZLIB_INCLUDE="include"

--- End code ---

ThuGie:
Hey your amazing its almost working i get

========== Build: 10 succeeded, 1 failed, 0 up-to-date, 2 skipped ==========

Could it be because of this ?

--- Code: ---src\blocks\leaves.cpp(22): error C2169: 'abs' : intrinsic function, cannot be defined
src\blocks\leaves.cpp(74): error C2264: 'abs' : error in function definition or declaration; function not called
src\blocks\leaves.cpp(74): error C2264: 'abs' : error in function definition or declaration; function not called
src\blocks\leaves.cpp(74): error C2264: 'abs' : error in function definition or declaration; function not called

--- End code ---
Should i remove that function and try again ?

[edit]
After removing the function the server did compile correctly.
Although it still skipped 2 i guess its PACKAGE and INSTALL dont really need that right ?

xoft:
This seems to be a somewhat new error, I haven't run into that before.
The code is weird around that place, the comments say it all ;)

As long as there are no build errors, you are all set. Still, before running the server, make sure the config.cfg and related files are in the same folder as the executable (copy them from /files if needed; the executable should be in /bin/Debug or /bin/Release)
PACKAGE and INSTALL are virtual targets used by CMake, you don't need to worry about those.

ThuGie:
Yeah removed the function and i had to set the ../files path to the ./ in the executable.
For some reason this build places them in %appdata%\.mineserver

And i had all files next to the executable while it was looking in a files directory :).
Currently adding a getTime function so i can get the time..
Incase i want to spawn different mobs at night :p.

waralot:
Well I have been trying to compile mineserver for about a month (Not the entire time).
But I tryed doing it whit cmake, I tryed to create the solution file's myself.
But no luck (I do get errors but for some reason I cant scroll up to read them).
So I really hope someone can give me the solution files, the source (Evety thing really).
And as prove that i have indeed been trying: http://www.hackforums.net/showthread.php?tid=2501402
Im at a loss.
Greets waralot aka Melolz.

Navigation

[0] Message Index

[*] Previous page

Go to full version