Jump to content
  • 4

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


anacondaq

For what are you need Visual Studio?  

134 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

  • Group:  Members
  • Topic Count:  0
  • Topics Per Day:  0
  • Content Count:  182
  • Reputation:   32
  • Joined:  10/26/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3143
  • Reputation:   1626
  • Joined:  03/26/12
  • Last Seen:  

Very well described! Topic pinned.

  • Upvote 1
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  235
  • Reputation:   55
  • Joined:  12/02/11
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Developer
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  588
  • Reputation:   435
  • Joined:  01/26/16
  • Last Seen:  

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!

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  139
  • Reputation:   24
  • Joined:  09/02/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Forum Manager
  • Topic Count:  282
  • Topics Per Day:  0.06
  • Content Count:  3143
  • Reputation:   1626
  • Joined:  03/26/12
  • Last Seen:  

9 hours ago, mazvi said:

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

Not really relevant to this particular topic, is it.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  20
  • Reputation:   2
  • Joined:  08/02/17
  • Last Seen:  

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 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  53
  • Reputation:   19
  • Joined:  04/21/13
  • Last Seen:  

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
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  776
  • Reputation:   70
  • Joined:  02/10/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  12/30/17
  • Last Seen:  

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.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   348
  • Joined:  02/26/12
  • Last Seen:  

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). 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1943
  • Reputation:   199
  • Joined:  01/08/12
  • Last Seen:  

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1943
  • Reputation:   199
  • Joined:  01/08/12
  • Last Seen:  

how to fix this?

1.jpg

2.jpg

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1943
  • Reputation:   199
  • Joined:  01/08/12
  • Last Seen:  

problem solve by adding this.

SET VCTargetsPath=C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  13
  • Reputation:   0
  • Joined:  03/23/12
  • Last Seen:  

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

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   3
  • Joined:  08/26/17
  • Last Seen:  

How can i fix this errors

compile.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  118
  • Topics Per Day:  0.03
  • Content Count:  1943
  • Reputation:   199
  • Joined:  01/08/12
  • Last Seen:  

16 hours ago, kamirie said:

How can i fix this errors

compile.png

Have you tried my solution above?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  37
  • Reputation:   3
  • Joined:  08/26/17
  • Last Seen:  

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.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  108
  • Reputation:   1
  • Joined:  02/10/12
  • Last Seen:  

On 6/4/2017 at 6:41 AM, Anacondaqq said:

1. Go Here: https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017/
download Building Tools for Visual Studio 2017, then run it

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   348
  • Joined:  02/26/12
  • Last Seen:  

23 hours ago, blakbord said:

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

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

Edited by Anacondaqq
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.01
  • Content Count:  57
  • Reputation:   9
  • Joined:  03/05/18
  • Last Seen:  

@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? 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   348
  • Joined:  02/26/12
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   0
  • Joined:  05/07/18
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  42
  • Topics Per Day:  0.01
  • Content Count:  1096
  • Reputation:   348
  • Joined:  02/26/12
  • Last Seen:  

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.

Link to comment
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.

×
×
  • Create New...