r/devblogs • rashtal.com • Mar 15 '18

Using a graphics tablet as a programming tool

https://vyne.org/2018/using-a-graphics-tablet-as-programming-tool/
35 Upvotes

26 comments sorted by

View all comments

Show parent comments

1

u/Apostolique rashtal.com Mar 16 '18

np! Good luck, pretty glad I found that software too.

Btw if you're looking for a different distro than Ubuntu, my favorite is Antergos. https://antergos.com/

1

u/[deleted] May 22 '18

Hi there, I'm back. I'm on Ubuntu 18.04 now (I think I will try something else in the future though, it's slower and bulkier than 16.04).

I'm making much better progress this time on getting this to build. I now have this error:

ERROR: Missing Xext.h, maybe you need to install the libxext-dev package?

The thing is I have ran sudo apt-get install libxext-dev and it still gives the same error. Do you have any ideas? I've looked about but am having no luck at the moment hence dropping back in here.

1

u/Apostolique rashtal.com May 22 '18

Are you able to install libx11-dev?

Otherwise, this is a shot in the dark, but maybe you're able to install ivtools-dev.

1

u/[deleted] May 22 '18 edited May 22 '18

Hey thanks for replying. I did install both of those but still the same thing.

$ ./build-lin.sh
~/Downloads/milton-master/third_party/SDL2-2.0.3 ~/Downloads/milton-master
~/Downloads/milton-master/third_party/SDL2-2.0.3/build/linrelease ~/Downloads/milton-master/third_party/SDL2-2.0.3~/Downloads/milton-master
-- 0.2.1 :: 2 :: 1 :: 2 :: 2.0
-- dynamic libX11 -> libX11.so.6
-- dynamic libXext -> libXext.so.6
-- dynamic libXxf86vm -> libXxf86vm.so.1
CMake Error at cmake/macros.cmake:28 (message):
  *** ERROR: Missing Xext.h, maybe you need to install the libxext-dev
  package?
Call Stack (most recent call first):
  cmake/sdlchecks.cmake:344 (message_error)
  CMakeLists.txt:660 (CheckX11)


-- Configuring incomplete, errors occurred!
See also "/home/user/Downloads/milton-master/third_party/SDL2-2.0.3/build/linrelease/CMakeFiles/CMakeOutput.log".
See also "/home/user/Downloads/milton-master/third_party/SDL2-2.0.3/build/linrelease/CMakeFiles/CMakeError.log".

I check the logs and they're empty which I find interesting.

1

u/Apostolique rashtal.com May 23 '18

It seems like you have the right file but when it's time to build it's not detected. Maybe you need to restart your computer, or even delete the whole repository and download it again so that you can rebuild fresh.

1

u/[deleted] May 23 '18

Hey that got me further, thank you. I didn't release it could need that. I must be SO close, this is the error now. Thanks for sticking with me here :-)

-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
CMake Error at /usr/share/cmake-3.10/Modules/FindGTK2.cmake:642 (message):
  Could not find GTK2 include directory
Call Stack (most recent call first):
  CMakeLists.txt:113 (find_package)


-- Configuring incomplete, errors occurred!

2

u/Apostolique rashtal.com May 23 '18

You might need to run this:

sudo apt-get install gtk2.0

then this:

sudo apt-get install build-essential libgtk2.0-dev

1

u/bigmonachus May 23 '18

Hey there. Milton dev here. Looks like you need the GTK 2 dev libraries. (libgtk2.0-dev?) Unfortunately I don't have access to a linux machine at the moment, but I believe that's the only dependency you're missing.

If you do get Milton to build and run, it's mostly on feature parity with Windows. There are still some kinks that need ironing out but nothing that will seriously stop you from using it, I think.

Let me know how it goes!

1

u/[deleted] May 23 '18

AND!!!

sudo apt-get install gtk2.0 and it worked!

I now supposedly have a built executable floating around? I'm so new to this sorry, have never built anything with cmake before

1

u/bigmonachus May 23 '18

No worries, we're all newbies at some point. Somewhere in the build directory tree there will be a 'Milton' binary :) I'm not 100% sure the actual path though.. Might be build/linux_debug_something/Milton

Hopefully it runs OK. Milton is known to have problems with Intel integrated graphics. It pretty much works on any Nvidia or AMD card, but it tends to fail on older intel integrated chips..

1

u/[deleted] May 23 '18 edited May 23 '18

Thanks for the reply.

dang! I am running an integrated intel card, but it's pretty new. Intel® Iris Pro Graphics 580 (Skylake GT4e) Who can say. I will try.

For now though, this is the error when I try and run that binary. https://imgur.com/a/YN80f15

EDIT: If I run it from the terminal it loads and works!!! Glory be!!! Two months and I'm there, thank you both for all your help. Very excited to be trying this.

Can the binary run by itself in another folder now it's all built?

→ More replies (0)