Can't Compile Menyoo
-
I'm trying to recompile Menyoo, without any modifications, in view of editing it. Was compiling and then I started getting errors, over 20 errors.
Using VS2019 with 1.42 tools installed. Many of the External folder files are empty. Honestly I don't really have much of clue what I'm doing so not sure where to start.
As examples:
Rebuild started...
1>------ Rebuild All started: Project: Menyoo, Configuration: Release x64 ------
1>pugixml.cpp
1>c1xx : fatal error C1083: Cannot open source file: '..\external\pugixml\src\pugixml.cpp': No such file or directory
1>FolderPreviewBmps.cpp
1>MenuConfig.cpp
1>C:\Users\John\Desktop\MenyooSP-master\Solution\source\Menu\MenuConfig.h(12,10): fatal error C1083: Cannot open include file: 'simpleini\SimpleIni.h': No such file or directory
1>Routine.cpp
-
Make sure to clone submodules as well. https://stackoverflow.com/questions/3796927/how-to-git-clone-including-submodules/4438292#4438292
-
@Jitnaught hi and thanks. Ive never used VS from the command line and never encountered GIT, will research it.
-
@Jitnaught Ok so I looked at the Stack Overflow link and had no idea what they were talking about.
I went back into Visual Studio and noticed a Git Menu at the top and a clone option.From the GIT clone dialog in VS2019 I was inspired to go here:
https://github.com/MAFINS/MenyooSP/blob/master/.gitmodulesFrom there I cloned all 3 submodules, leaving the default VS path. Once cloned I copied those submodules back to the External folder of the Menyoo Source.
Then I did a rebuild and got this:1>Finished generating code
1>Menyoo.vcxproj -> C:\Users\John\Desktop\MenyooSP-master\Solution\source_Build\bin\Release\Menyoo.asi
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========Now that's cool but I never made any changes to the source code. It was just a test run to see if I could compile it.
So is the method above right? If it is, it's a total f******ing fluke on my part but I still have very little idea what I did or even how I got to that - ofc you pointed me in the right direction.
-
Using the git command (in a command line) you can clone Menyoo and its submodules automatically. What you did is basically the same, just took more effort.
-
@Jitnaught Thanks. How do I get to the git command line from VS? In passing, I modified the Menyoo name and recompiled. Once more just as a test and so far so good. Having said, that the whole cloning process, copy, paste, clone, took less than a minute. But i understand, it's like compiling and having your output directly in the scripts folder.
In passing, I have no intentions of scripting Menyoo or learning C++. I just want to see if I can change some simple things and remove the stuff I don't use. I spawn with LemonUI now so I would like to streamline Menyoo for the 10% i use.
Menyoo Name changed to Menyoo Customized, just a POC.
-
I'm not really sure how to get it from VS, I've never tried it. Try using the git command in the VS command prompt: https://docs.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2019
Otherwise you can just install Git for Windows, and use the command in any command prompt: https://git-scm.com/downloads
-
@Jitnaught either way, i now have those submodules so no reason to re-clone them unless there is a future menyoo update. Thanks again.