I decided to try my hand and work with compiling Slade3. Bit by bit I followed Cmake's complaining and installed each library I could get my package manager to find.
I face a problem building the source... "Conflicting Declarations". In particular:
Code: Select all
1) gtk-2.0/gdk/gdktypes.h - error: conflicting declaration 'typedef struct _GdkRectangle GdkRectangle'
2) wx-3.0/wx/gtk/dvrenderers.h - error: conflicting declaration 'typedef cairo_rectangle_int_t GdkRectangle'
Other errors included cmake stuff I'd probably delete very carefully later:
src/CMakeFiles/slade.dir/OpenGL/Drawing.o] Error 1
src/CMakeFiles/slade.dir/all] Error 2
all] Error 2
I don't want to modify the library's own files, I shouldn't have to, especially if something else uses or needs it.
What do I do from here? I'd like to think I'm very close to getting this done so I can use Slade on Linux*.
* The Slade website points to instructions for Debian-based which uses things like apt-get, but I used pacman this whole time so it was extra hard to find what I needed.
And resources I'm using if it helps any...
1) Manjaro Linux (Arch-based)
2) Code::Blocks
3) Cmake (using Code::Blocks - Unix Make for generating)
If I can manage to get this to work I will happily provide the binary to someone who can host it. Just shoot me something to IM with so we can coordinate.
(Also this makes good real-world practice for me to learn how to play with source code and actually do something useful instead of waiting around for something, so I'm always open to mentoring.)