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

README instructions how to build on Linux #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vorburger
Copy link

No description provided.

@aaronfranke
Copy link

Why instructions for Fedora and not Ubuntu?

@vorburger
Copy link
Author

Why instructions for Fedora and not Ubuntu?

@aaronfranke Fedora just happens to be the distribution I use, that's all. If you are an Ubuntu user and would like to follow-up on this (very old) PR with another PR which adds similar instructions for Ubuntu on top of this one, may be @jaquadro the maintainer of this project would be interested in merging - up to you & him!

@Christophe-Junier
Copy link

@aaronfranke The real point of this is to help new Linux user to install the Explorer.

I think that linux distribution isn't that much a problem there.
Only important things changing is the paquets manager.

Here is the command for ubuntu based version: - sudo apt-get install mono-complete

Some things could be also interesting to notice:

.1 xbuild /p:TargetFrameworkVersion="v4.5" -> you should write that this command need to be executed inside the NBT repo

.2 You should tell that when launching NBT this isnt really the world name that is used, but the path to it

Well, for me you did a great job, and that helped me install this on my computer.

Best regards from a dev.

@Kuro-arch
Copy link

do you know why i have a problem with this?
git clone git@github.com:jaquadro/NBTExplorer.git ; cd NBTExplorer
im an ubuntu user
please help me

@vorburger
Copy link
Author

do you know why i have a problem with this?
git clone git@github.com:jaquadro/NBTExplorer.git ; cd NBTExplorer

what error message are you getting? Perhaps git clone https://github.com/jaquadro/NBTExplorer.git works better for you - try.

@Kuro-arch
Copy link

git clone https://github.com/jaquadro/NBTExplorer.git
works for me thank you
:)

@Kuro-arch
Copy link

but now i have a problem with:
xbuild /p:TargetFrameworkVersion="v4.5"
it says:
Microsoft (R) Build Engine version 15.4.0.0 ( Wed Nov 29 14:56:11 UTC 2017) for Mono
Copyright (C) Microsoft Corporation. All rights reserved.

MSBUILD : error MSB1003: Specify a project or solution file. The current working directory does not contain a project or solution file.

sorry for the nuisances

@vorburger
Copy link
Author

vorburger commented Aug 4, 2019 via email

@vorburger
Copy link
Author

Hello @jaquadro I'm cleaning up my personal https://github.com/pulls and wanted to ask if you would consider merging this very old Pull Request? Otherwise I'll close it if I don't hear from you.

@mazunki
Copy link

mazunki commented Dec 31, 2021

I would suggest changing xbuild to msbuild, since xbuild is due for deprecation soon.

Also, this gave an error regarding not finding ../Substrate for me, which for some reason is hardcoded into the .sln file. I git-cloned that too, same as I did with this repository, and then the error shut up. It should be a git submodule, not a directory somewhere else on the system. Anyway...

Last, I would add a note saying that the ./Staging/NBTUtils.exe can also be found. Besides these points, I would suggest the following instead:

git clone https://github.com/jaquadro/NBTExplorer.git
cd NBTExplorer
msbuild -p:TargetFrameworkVersion="v4.5" NBTExplorer/NBTExplorer.csproj -target:Build
msbuild -p:TargetFrameworkVersion="v4.5" NBTUtils/NBTUTils.csproj -target:Build
cd Staging

Your can now run mono NBTUtils.exe --help or mono NBTExplorer.exe.

@AndrewKvalheim
Copy link

In case anyone finds it useful, here’s how I’ve packaged NBTExplorer for NixOS.

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

Successfully merging this pull request may close these issues.

6 participants