Page 2 of 3
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 2:40 pm
by Lüv
I'm using 0.8.0 and this is how I got the stuff...
for the source code I got hg and went to my command propt and chose my file directory then typed "hg clone
https://bitbucket.org/rude/love"
Then for the Dependances I got this one from the wiki under
2.dependences
For 0.8.0, up-to-date-ish binaries are found here.
Wiki link:
https://love2d.org/wiki/Building_L%C3%96VE
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 2:41 pm
by Lüv
After I got those 2, I put the dependences in the source code folder
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 3:18 pm
by Boolsheet
If you use Mercurial and clone a repository, it will automatically update the working tree to the last commit in the default branch. If you want to modify and build LÖVE 0.8.0, you have to go back to that specific commit. It has a tag, so you can just execute the following:
Code: Select all
C:
cd C:\Users\Christopher\Downloads\love\
hg update 0.8.0
You now have the older version of the source code just as it was used for the official 0.8.0 release. The Visual Studio project files have also changed, you need the
other SDK for them. I recommend deleting the files from the newer SDK because they might bite each other.
It looks like you didn't combine the SDK correctly with the repository, it doesn't find the Lua header. The SDKs have the directories 'love/platform/msvc2010', just like the repository. In the end, the 'lib' and 'include' directories from the SDK should be beside the Visual Studio project files.
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 5:43 pm
by Lüv
Ok, so I completly restarted the thing and I followed the tutorial and did what you said with the update thing. So the file called "love-win-sdk-msvc2010", Do I put the folder inside of it, called "Love", inside of the "Love" Folder that I got from the "hg clone
https://bitbucket.org/rude/love" that I updated with "hg update 0.8.0"?
Sorry for the bad explaining
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 6:00 pm
by Lüv
Heres a better explaination:
This Is What My Downloads Floder Looks Like:
• love (Folder)
• love-win-sdk-msvc2010 (Folder)
• love-win-sdk-msvc2010 (win-rar file)
So, Do I put the love-win-sdk-msvc2010 (Folder) into the love (Folder) or do I open up the love-win-sdk-msvc2010 (Folder) and put the folder that is inside the love-win-sdk-msvc2010 (Folder) which is called "Love" (Folder) into the other love (Folder) that is in the main directory of Downloads. Or do I go further into the love-win-sdk-msvc2010 (Folder)?
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 6:05 pm
by Boolsheet
Let's make this easy. Go into the love-win-sdk-msvc2010 directory until you see the platform directory. Copy the platform folder and paste it into the love repository directory. Yes, you're going to merge it with the already existing platform directory in the love repository.
By the way, people like it if you use the edit button instead of posting two messages in a row.
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 6:27 pm
by Lüv
Ok, Thanks. Sorry for the double post. I'm kinda new to forums. So Which file do I open up in the love\platform\msvc2010 to edit/compile the source? There is the following that I think is one of the right ones:
• love (Microsoft Visual Studio Solution)
• love (VC++ Project)
•love.vcxproj (VC++ Project Filters File)
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 6:42 pm
by Boolsheet
The solution would be the correct thing to open. However, Visual Studio will resolve it properly if you open one of the others.
(Does Windows hide the known file extensions for you? Do you keep this setting enabled by choice? I find it a real pain.)
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 6:44 pm
by Lüv
It Does not show me, How do I enable it to show me?
Re: How do I Edit/Compile the Source Code?
Posted: Sat Oct 20, 2012 6:45 pm
by Boolsheet
Don't ask me.
Ask Microsoft!