Jump to content
  • 0

Questions about recompiling


naroukimaru2

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   1
  • Joined:  12/29/11
  • Last Seen:  

I want to change the server to a pre-renewal state, in order to do that I have to modify renewal.h, and then recompile. My question is: If I recompile, will I lose all of the changes I have made to my conf files? If I do, how do I maintain the changes I've made after each new recompile? Additionally, I saw twice on the forums that you should "clean" your build before you re-compile, what does cleaning your build do? And how do I do it?

Thanks!

Edited by naroukimaru2
Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 1

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

You don't loose /conf/ edits by recompiling under pre-re mode. You -should- be using the import folders, though.

Cleaning before building just removes old makefiles and pointer scripts created by the build process.

./configure && make clean && make server

 

Link to comment
Share on other sites

  • 1

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  1137
  • Reputation:   290
  • Joined:  04/29/13
  • Last Seen:  

Those commands used to recompile your server with SSH if you are using Linux server

 

And recompiling do not reset your emulator 

It will apply whatever changes you made in src

 

If you are using windows or UNIX look for rathena wiki

Link to comment
Share on other sites

  • 1

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

Build incorporates the changes not yet compiled, rebuild does a complete recompile of the code.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   1
  • Joined:  12/29/11
  • Last Seen:  

Where is it that one would enter that line of code in Mcrosoft Visual C++ 2010 Express? The code you posted: 

./configure && make clean && make server


I notice upon right clicking the "Solution 'rAthena010'" that I see the option to "clean solution", as well as "Build Solution" and "Rebuild Solution". So I assume I can first clean the solution, then build the solution, I expect that I should "Rebuild" the solution since it is already compiled, right? Is there a time or situation where I would instead choose to "Build Solution" as opposed to "Rebuild Solution" ?

Thank you!

Edited by naroukimaru2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  16
  • Reputation:   1
  • Joined:  12/29/11
  • Last Seen:  

Thanks for the reply Cyro! That's good to know.

What about the "Build Solution" option versus the "Rebuild Solution" option?

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