ehain / sproxel

Automatically exported from code.google.com/p/sproxel
0 stars 0 forks source link

Does not run on Ubuntu #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The latest sproxel version with python binding does not run on Ubuntu. I have 
tweaked teh qmake project files to point to the correct include directories for 
PySide and shiboken as well as link to the correct libraries.
I've run qmake; make in the root of the source tree and in the glue directory. 
The sproxel binary builds just fine. The glue library only builds after 
commenting out //TOCPP(QWidget) which expects a PyObject! 
Once built I have a libSproxelGlue.so libray. I tried moving it into the PySide 
module directory (/usr/lib/python2.7/dist-packages/PySide/SproxelGlue.so in 
Ubuntu). I can do an import PySide.SproxelGlue in the python console, but it 
returns the errormessage from glue.cpp about not being able to import 
PySide.QtGui (which I however _can_ manually import in the python console).
I'm at the end of my python knowledge here. It would be a total shame if this 
program just died. It is still the best voxel sprite editor available.

Original issue reported on code.google.com by dan...@schwen.de on 3 Jul 2013 at 4:41

GoogleCodeExporter commented 9 years ago
I'm attempting to build and run sproxel code on MAC OS. I have tweaked the 
Makefiles in the root of the source tree and the glue directory. I have 
successfully built in the root of the source tree and in the glue directory 
(after using the hint from the issue description above to comment out 
TOCPP(QWidget)). When I try to launch sproxel from the 
sproxel.app/Contents/MacOS/ directory, I the following error messages on the 
Sproxel Python console:

Failed to import PySide.SproxelGlue
ImportError: No Module named sproxel_utils

Does anyone know where should the module sproxel_utils and PySide.SproxelGlue 
Exist?

Thanks.

Original comment by bakulkha...@gmail.com on 27 Aug 2013 at 9:32