ApoorvaJ / Papaya

A GPU-powered image editor (in the making)
MIT License
373 stars 33 forks source link

Icons not loading under linux #7

Closed superfunc closed 8 years ago

superfunc commented 8 years ago

System Info:

g++ (Ubuntu 5.2.1-22ubuntu2) 5.2.1 20151010
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

server glx version string: 1.4
client glx version string: 1.4
GLX version: 1.4
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.0.2
OpenGL core profile shading language version string: 3.30
OpenGL version string: 3.0 Mesa 11.0.2
OpenGL shading language version string: 1.30
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

ii  libxi-dev               2:1.7.4-1        amd64            X11 Input extension library (development headers)

ii  freeglut3:amd64         2.8.1-2          amd64            OpenGL Utility Toolkit

ii  libx11-dev:amd64        2:1.6.3-1ubuntu2 amd64            X11 client-side library (development headers)

Here is what papaya looks like when launched:

papaya_bug

It expresses the following error in the console

OpenGL Error: Invalid value in ../../src/papaya_core.cpp:37
    --- Expression: glTexImage2D (GL_TEXTURE_2D, 0, GL_RGBA8, ImageWidth, ImageHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, Image)
ApoorvaJ commented 8 years ago

You currently have to manually copy the icons from the img/ folder to where your binary is being built (build/linux/). I will automate this in the makefile and then close the issue.

I'm kinda in the middle of moving from a single-translation-unit build to a makefile-based build, so things are a bit rough around the edges. Documentation regarding building is out of date too.

Thanks for taking the time and effort to report, though. :)

superfunc commented 8 years ago

No trouble! There seems to be a further issue, which is that the open file dialog brings up nothing.

ApoorvaJ commented 8 years ago

Also known. :) Haven't linked GTK in the makefile yet. I'll have it fixed by this weekend.

I suggest you try the release version, tagged v0.1. That should be a lot more stable than the current master branch.

superfunc commented 8 years ago

Right on, sorry for the extra noise then!

ApoorvaJ commented 8 years ago

Both problems should now be fixed. Closing the issue.

Please let me know if you still have problems.