roelj / inklingreader

A GNU/Linux-friendly version of the Wacom Inkling SketchManager.
GNU General Public License v3.0
50 stars 16 forks source link

OS X malloc.h vs. stdlib.h #32

Closed pixelhaufen closed 10 years ago

pixelhaufen commented 10 years ago

Really nice programm!

For compiling InklingReader 0.6 with Xcode 5.1.1 (Command Line Tools) under OS X 10.9.3 without errors I had to make one little change in mainwindow.c:

replace malloc.h with standard C header stdlib.h // #include

include

I think XQuartz (X11) and the dylibs (gtk+-3.0 glib-2.0 librsvg-2.0 cairo) are not part of a new OS X installation so they might have to be installed first, however I already had them so it worked perfectly for my first tests and it's definitely already better than Sketch Manager.

roelj commented 10 years ago

Thanks for your feedback.

I figured that malloc.h is not as portable as using stdlib.h, so in the latest code there's no more malloc.h anymore.

This will be completely resolved in 0.7. I would recommend using the latest code though, it's pretty stable and has some performance improvements, new features and bugfixes.

pixelhaufen commented 10 years ago

Just tried the latest version of the source and it worked out of the box. Sorry for bothering you with an already fixed issue.

roelj commented 10 years ago

No problem at all.