Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors on compiling #4

Open
Overdrive659 opened this issue Feb 1, 2023 · 3 comments
Open

Errors on compiling #4

Overdrive659 opened this issue Feb 1, 2023 · 3 comments

Comments

@Overdrive659
Copy link

Installed the program and extracted it onto desktop. Opened Visuals Studio 2022 , downloaded .NET 05 and hit COMPILE. After compilation I have 115 warnings and 35 errors.

All errors seem to be similar:
Severity Code Description Project File Line Suppression State
Error MSB3030 Could not copy the file "D:\User\D-Desktop\Zero-K-MapEditing-main\Map-Blueprint\mapcontainer.sdd\LuaGaia\draw.lua" because it was not found. MapCreationTool C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets 5150

Most warnings seem to be because of non-nullable fields being null, or having null values in constructors.

@Overdrive659
Copy link
Author

Can't launch the .EXE either

@Overdrive659
Copy link
Author

Overdrive659 commented Feb 2, 2023

Investigated the errors, I think it's because no example map (map-blueprint) comes installed with the editor. Neither springRTS_smf_compiler. This should be included in the Install Instructions in the README, or included in the download.

EDIT:
tried installing Aquanim's ZK Map Blueprint and renaming the folder "mapcontainer.sdd" but it only reduced the error count by 4 (https://github.com/Aquanim/ZKMapBlueprint)

@adras
Copy link
Owner

adras commented Feb 2, 2023

You're getting these errors because you downloaded the sourcecode as .zip from github. The project includes a couple of other repositories as submodules. These submodules are not included in the zip file. Hence you get all the errors about missing stuff.

If you look at the directory structure of the project on github, you will see that some directories are in blue color. Those are the submodules. You could download the respective .zip files from those repositories, and extract them into the editor folder. But I highly recommend just cloning the repository with submodules included.

I added a note on how to do that in the readme. Let me know if you need further assistance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants