Mineserver Community

Mineserver => Discussion => Topic started by: mec on April 08, 2011, 08:13:15 pm

Title: VS2010 Build
Post by: mec on April 08, 2011, 08:13:15 pm
i'm getting a lot of errors when i got to compile. where exactly does the lib files need to be. the wiki doesnt have any info on that.
Title: Re: VS2010 Build
Post by: Carve on April 08, 2011, 08:46:55 pm
try adding zlibwapi.lib to your input for the project properties of mineserver.  (if you're using the latest zlib that is)
Title: Re: VS2010 Build
Post by: Ligustah on April 08, 2011, 08:53:11 pm
If that won't help please post the errors that occured during compilation.
That would make it easy to dertermine if the errors come up during the actual compilation or during the linking.
Title: Re: VS2010 Build
Post by: Odium on April 12, 2011, 01:38:55 am
aha, yeh I had the same problem, an no info anywhere meant a bit of trial and error.

When presented with the build pack there are 3 directories before the source is cloned at which point there are 4.
the 3 dir in question are:
- dll
- include
- lib

The contents of the include and lib directories need to be placed in the corresponding directories in the visual studio directory 'VC'
(Program Files\Microsoft Visual Studio 10.0\VC\)
So take the contents of the lib directory and put them in..
Program Files\Microsoft Visual Studio 10.0\VC\lib
and the contents of the include directory into...
Program Files\Microsoft Visual Studio 10.0\VC\include

once you manage to compile the code the contents of 'dll' should then be placed in the 'bin' folder to which mineserver was compiled.

Hope this helps. :)