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

Author Topic: VS2010 Build  (Read 7843 times)

mec

  • Newbie
  • *
  • Posts: 5
    • View Profile
VS2010 Build
« 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.

Carve

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: VS2010 Build
« Reply #1 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)

Ligustah

  • Newbie
  • *
  • Posts: 42
    • View Profile
Re: VS2010 Build
« Reply #2 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.

Odium

  • Newbie
  • *
  • Posts: 19
    • View Profile
Re: VS2010 Build
« Reply #3 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. :)