• 3
anacondaq

[Guide]: Lightweight compiler for Windows for replacement heavy Visual Studio IDE. Compile rAthena faster. Save your bandwidth and disk space.

For what are you need Visual Studio?  

85 members have voted

You do not have permission to vote in this poll, or see the poll results. Please sign in or register to vote in this poll.

Question

Recommended Posts

  • 0

Thanks, that's really save a lot of harddisk space.

Share this post


Link to post
Share on other sites
  • 0

Very well described! Topic pinned.

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

Genius! I learned something from this.
I have VS 2015 which costs almost 10GB including Updates. i didn't realize there was a method that can use lightweight compiler.
Thank you!

Edited by Kaze

Share this post


Link to post
Share on other sites
  • 0

Suggestion: VC++ build tools installer can be executed in silent mode from the command line. You could make a batch file to make a 1-click install script!

Share this post


Link to post
Share on other sites
  • 0

this save me from installing 10Gigs of files on my limited space SSD. also bandwidth friendly...

Share this post


Link to post
Share on other sites
  • 0
9 hours ago, mazvi said:

Anyone using MinGW to compile rathena? http://www.mingw.org/

Not really relevant to this particular topic, is it.

Share this post


Link to post
Share on other sites
  • 0
On 6/4/2017 at 6:41 AM, Anacondaqq said:

MSBUILD C:\user\admin\desktop\rathena\rAthena.sln /p:PlatformToolset=v141 /m

i was trying to recompile my rathena.sln but it was giving me an error "msbuild error msb1008: only one project can be specified".

Turns out that there was a missing " " on the path. Nevertheless this whole Guide is a total kick a** ^_^ Kudos to you!

MSBUILD "C:\user\admin\desktop\rathena\rAthena.sln" /p:PlatformToolset=v141 /m

  • Upvote 1

Share this post


Link to post
Share on other sites
  • 0

Nice post OP, I hate Visual Studio as a an IDE (the GUI part mostly) it's heavy and I'm bad at using it.

Edited by eleriaqueen

Share this post


Link to post
Share on other sites
  • 0

it's possible to make "clean solution" and then "recompile" in one of .bat file <<?

Share this post


Link to post
Share on other sites
  • 0

Hello, i downloaded the ready RÖ server (this specific version:https://rathena.org/board/topic/109823-ragnarok-online-complete-offline-pack-2017-make-your-ro-server-in-less-then-5-minutes/), and i'm currently learning how to configure it.

The server itself is working fine, though when i try to compile it i always get a MSB1001 error, and i tried both through the .bat file provided and through the dev command prompt, with both giving me the same result. Another weird detail is that i don't have a single rAthena.sln file, instead i have a bunch of different numbered ones (rAthena-9, rAthena-10, and then rAthena-12 to 15). I'm currently using windows 8.1 to compile it, if that affects anything.

Thanks in advance.

 

Share this post


Link to post
Share on other sites
  • 0
On 12/30/2017 at 7:12 PM, Gloorft said:

Hello, i downloaded the ready RÖ server (this specific version:https://rathena.org/board/topic/109823-ragnarok-online-complete-offline-pack-2017-make-your-ro-server-in-less-then-5-minutes/), and i'm currently learning how to configure it.

The server itself is working fine, though when i try to compile it i always get a MSB1001 error, and i tried both through the .bat file provided and through the dev command prompt, with both giving me the same result. Another weird detail is that i don't have a single rAthena.sln file, instead i have a bunch of different numbered ones (rAthena-9, rAthena-10, and then rAthena-12 to 15). I'm currently using windows 8.1 to compile it, if that affects anything.

Thanks in advance.

 

input rAthena-15.sln instead of rAthena.sln. And my pack by the link above is pretty old and will be soon upgraded (many many changes and updates). 

Share this post


Link to post
Share on other sites
  • 0

problem solve by adding this.

SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120

Share this post


Link to post
Share on other sites
  • 0

tried and tested...good job good sir.....

btw works like a charm with herc as well just use the -14.sln

Share this post


Link to post
Share on other sites
  • 0
16 hours ago, kamirie said:

How can i fix this errors

compile.png

Have you tried my solution above?

Share this post


Link to post
Share on other sites
  • 0
On 9/1/2018 at 3:16 PM, Brynner said:

Have you tried my solution above?

Yes , I tried it. When I re-test it shows the same issue.

Share this post


Link to post
Share on other sites
  • 0
23 hours ago, blakbord said:

hi, why I can't download this Building Tools?

try this: http://bfy.tw/K4KZ

Edited by Anacondaqq

Share this post


Link to post
Share on other sites
  • 0

@Anacondaqq

Thank you for the guide 😃

What is the different between clean solution and build/rebuild?

I guess clean is for first time compile and build/rebuild for modification on source afterward? 

Share this post


Link to post
Share on other sites
  • 0
44 minutes ago, Slyx said:

@Anacondaqq

Thank you for the guide 😃

What is the different between clean solution and build/rebuild?

I guess clean is for first time compile and build/rebuild for modification on source afterward? 

https://stackoverflow.com/questions/3095901/difference-between-build-solution-rebuild-solution-and-clean-solution-in-visua

Share this post


Link to post
Share on other sites
  • 0
Spoiler
27 minutes ago, Seirei said:

Hi @Anacondaqq
I can't find VC++ 2017 v141 toolset (x86,64) on the list. 😥

And thanks for the guide 😃

visual studio 1.jpg

visual studio 2.jpg

 

 

EJ58vI6.png

 

If you have errors, there is no simple solution how to avoid these errors and fix them from command line from MSBuild Tools. That mean you will be forced to use Visual Studio 2017 Community.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...