Jump to content
Denis

[HowTo]Compile client binary

Recommended Posts

Today I'm gonna show you how to compile the mainline_released client binary.

Tools we will need: VS2008,Visual Studio 2008 SP1

 

We will need to make two folders on our hard drive for example include_stuff and lib_stuff

 

after that we go to srcnovalineSrcsToolsWorldEditorexterninclude and copy all that things into include_stuff

 

next go to srcnovalineSrcsToolsWorldEditorexternlib and copy all that things into lib_stuff

 

next open srcnovalineSrcsToolsRAD Game Toolsgrannycommongranny_common_2_9_12_0_release.zip go to lib then win32 and copy all that into lib_stuff

 

next go to srcnovalineSrcsExternlib and copy all into lib_stuff

after this go to srcnovalineSrcsExterninclude and copy all into include_stuff

 

In VS 2008 go to Tools->Options->Project and Solutions->VC++ Directories=>Select Include files and include there your include_stuff folder then select Library files and include there your lib_stuff files.

 

Finally we did it :D

 

Select to release mode and press ctrl+shift+b

 

Kind Regards,

Denic

  • Love 60

Share this post


Link to post

when I press ctrl+alt+b it shows me this:

 

------ Build started: Project: WindowsApplication1, Configuration: Debug Any CPU ------
WindowsApplication1 -> C:Documents and SettingsGEOMy DocumentsVisual Studio 2008ProjectsWindowsApplication1WindowsApplication1binDebugWindowsApplication1.exe
========== Build: 1 succeeded or up-to-date, 0 failed, 0 skipped ==========

 

I don't think is the right thing

Share this post


Link to post

To build the binary, you need to have the source of the binary.

  • Love 4

Share this post


Link to post

and how I add the source to the studio? I'm  a begginer and I whant to learn:D

Share this post


Link to post

Start visual studio go to open a project and open the .sln file from client source

  • Love 2

Share this post


Link to post

Open the .sln with Notepad++ and change the first two lines from something like this:

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013

To this:

Microsoft Visual Studio Solution File, Format Version 9.00
# Visual Studio 2008
  • Love 3

Share this post


Link to post

When i compile i get one Error: fatal error LNK1104: cannot open file 'python22.lib' does somebody know how to fix it?

Share this post


Link to post

You have to link to the project from Scriptlib/libs

Share this post


Link to post

You have to link to the project from Scriptlib/libs

 

How can i do that?

Share this post


Link to post

Right click on the Project - > Properties - > Linker - > General: Add here the the path of the lib to the Additional Library Directories

  • Love 1

Share this post


Link to post

Right click on the Project - > Properties - > Linker - > General: Add here the the path of the lib to the Additional Library Directories

 

Thanks for your help, but i cant find somthing called "Linker".

 

zDGWb.png

Share this post


Link to post

You trying to link to the Solution, but you need to link to the UserInterface project.

 

7hQhm.jpg

  • Love 2

Share this post


Link to post

You trying to link to the Solution, but you need to link to the UserInterface project.

 

7hQhm.jpg

 

Thanks, but i just dont know how to do it.

I never really worked with VS, i´m sorry :S

Share this post


Link to post

7hRnH.png

 

As you can see on the picture: ../ScriptLibPython-2.2libs

  • Love 1

Share this post


Link to post

7hRnH.png

 

As you can see on the picture: ../ScriptLibPython-2.2libs

 

Ok, thank you i managed to compile the maineline_release binary but i cant find it, do you know were it is?

 

Share this post


Link to post

In the bin folder.

 

There is no .exe or new file :S

Share this post


Link to post

Are you sure you compiled? What the output window says?

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
  • Love 1

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.