-
Notifications
You must be signed in to change notification settings - Fork 53
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
Building on Linux fails: unable to find LibUsbDotNet #25
Comments
Im having no luck with this in wine, the arduino blinks once then the program locks. Fine in windows. |
@L10N37 Don't run it in WINE. Compile it for Linux with |
@unilock Thank you for the guidelines, I could build the application under Linux, too. Maybe we can provide a script that fetches the required dependency off the Internet and unpacks it correctly. I can take care of that once I'm done with a pull-request. EDIT: I just want also to underline that there is a GUI glitch (at least with KDE) which causes the "Untitled" tab after reading a PS memory card to stay "grey", as if no data were read. Just go to "File" -> "New". A new tab opens and magically the former one is also visible now. |
Building on @unilock I've adapted your build instructions and put them into MONO.md. Thanks for the info! |
I have a question on building Memcardrex on Linux. I wanted to try Visual Studio Code for Linux if I can use it to build since I had bad experiences with Mono. I installed C# extension for VS Code and .net Framework v6.0 that is available from the official Linux Mint repository, altough I am aware the latest is version 7.0 that I tried to add and configure manually but with no success. |
I'm using Pop!_OS (Ubuntu) 21.04 / hirsute. I've installed
mono-devel
from the official website, following the instructions for Ubuntu 20.04 / focal. (Using the outdated packages in Ubuntu's default repos resulted in more errors.)When running
xbuild /property:TargetFrameworkVersion=v4.0
, I get the following errors:Here's what
msbuild
reports:Installing
libusb-1.0-0-dev
did not help.I fixed this by downloading the LibUsbDotNet NuGet package and extracting the contained
lib
folder to<root of repository>/packages/LibUsbDotNet.2.2.29
. But I'm not sure how to fix this in a more sane manner.BTW, to run on Linux, you have to run
mono <root of repository>/MemcardRex/bin/Debug/MemcardRex.exe
.Also, selecting the "Quit" button from within MemcardRex freezes the program. You then have to CTRL+C Mono. I guess one should only use the window's "X" button.
The text was updated successfully, but these errors were encountered: