cwensley / pablodraw

PabloDraw is an Ansi/Ascii text and RIPscrip vector graphic art editor/viewer with multi-user capabilities.
MIT License
315 stars 21 forks source link

Having Build Troubles on Windows and Raspberry Pi 3B+ #26

Closed JohnnyErnest closed 4 years ago

JohnnyErnest commented 4 years ago

Hope everything's going well Curtis! I used to talk to you on #ansi on EFNet, I was building a BBS/CMS called Psylent that I may be picking back up, but I'm also developing a database platform and web backend similar to Django for .NET Standard that I'm hoping to get out on Github soon.

I want to build Pablodraw from source on Windows 10 and on Raspbian and use that as an example for building some cross-platform apps. I'll have to build from source for the RPI since it's running ARM.

I'm running into troubles with VS2019 needing Mono.Nat and Lidgren.Network. So I try to install via the Package Manager Console in VS2019 on Windows and get this, see image 3:

PablodrawError PablodrawError2 PablodrawError3

What I ended up doing to build on Windows was to remove the Mono.Nat and Lidgren projects, and then install the packages in the projects where needed via NuGet, but do you happen to know what's going on with the yellow triangles on the dependencies?

Also I had to disable the Mac project for it to build on Windows or VS2019 errors.

PablodrawError4

Still haven't gotten it to build on the Raspberry Pi yet. Everything has to be built from source on the Pi just about.

I'm also looking to develop apps with Eto Forms. Here at home I've got a MacBook Pro (2015), a Windows 10 desktop and laptop, and a Raspberry Pi 3 B+ for testing, also a developer unlocked Barnes & Noble Nook running an older version of Android.

When I try to run msbuild on the Pi I get a lot of errors with it wanting MonoMac. I can log it on a separate ticket for feature enhancement on the Eto repository if you want.

JohnnyErnest commented 4 years ago

I managed to get Pablo running on the RPI 3 B+ just by using the compiled build from Windows and running "mono PabloDraw.exe", although I haven't managed to get a native build on the RPI itself yet.

Lots of these warning messages come up though, it looks like the gdk and cairo dependencies have some issues with them.

PablodrawError5
cwensley commented 4 years ago

@JohnnyErnest I think what might be going on is the submodules aren't initialized when cloning the repo. You can see a few examples here how to do that.

Note that downloading a .zip archive of the source does not include the submodules.

JohnnyErnest commented 4 years ago

Using git clone --recurse-submodules -j8 got PabloDraw working from build on both Windows and the Raspberry Pi.

There's one more issue getting Eto to work from build on the RPI 3 B+, I encountered a Garbage Collector memory error during build.

EtoError1
JohnnyErnest commented 4 years ago

I'll close this issue and open a new one on the Eto repository.