And the attachment :)
2014-04-20 6:56 GMT-03:00 Manuel Quiñones <[email protected]>:
> Hi Jon
>
> I finally tried building today. I'm getting the attached error. I'm
> building with:
>
> scons brushlib_only=true enable_gegl=true
> enable_introspection=true prefix=$prefix
>
> Were there changes in gegl, gegl-view, or babl, related to your recent
> work on brushlib?
>
> Thanks for your work.
>
> 2014-04-06 8:24 GMT-03:00 Jon Nordby <[email protected]>:
>> Hi all,
>> as of yesterday the MyPaint brushlib lives in its own repository:
>> https://gitorious.org/mypaint/libmypaint/
>>
>> The repository has all the history from the "brushlib" directory in
>> MyPaint repository.
>> MyPaint then uses this repository as a git submodule, at the same
>> location as before.
>> Until we have this library released and packaged in distributions -
>> that is the recommended method of using the library in other
>> applications.
>>
>> There is currently a very basic build based on scons set up, see the
>> "SConstruct" file for available options.
>> Install of the library files is right now missing. We also need to
>> decide if the MyPaint brushes should also be distributed by the
>> library.
>> It is possible to just include "libmypaint.c" into ones own
>> application build instead of linking. For quick experiments this may
>> be the easiest way right now.
>>
>> The "minimal" example is right now broken, but the GEGL backend has
>> been tested using Gobject introspection from Python
>> (examples/gegl.py).
>>
>> Documentation is still TODO. Just ask for any questions :)
>>
>> --
>> Jon Nordby - www.jonnor.com
>
>
>
> --
> .. manuq ..
--
.. manuq ..
[?1034hscons: Reading SConscript files ...
Enabling glib because of enable_introspection=true
Building a shared lib instead of a static lib because of
enable_introspection=true
scons: done reading SConscript files.
scons: Building targets ...
LD_LIBRARY_PATH=./ g-ir-scanner -o MyPaint-1.1.gir --warn-all
--namespace=MyPaint --nsversion=1.1 --add-include-path=./brushlib
--identifier-prefix=MyPaint --symbol-prefix=mypaint_ --pkg=glib-2.0
-I./brushlib --library=mypaint brushmodes.c fifo.c helpers.c libmypaint.c
mapping.c mypaint-brush-settings.c mypaint-brush.c
mypaint-fixed-tiled-surface.c mypaint-rectangle.c mypaint-surface.c
mypaint-tiled-surface.c mypaint.c operationqueue.c rng-double.c tilemap.c
utils.c mypaint-brush-settings-gen.h mypaint-brush-settings.h mypaint-brush.h
mypaint-config.h mypaint-fixed-tiled-surface.h mypaint-glib-compat.h
mypaint-rectangle.h mypaint-surface.h mypaint-tiled-surface.h
glib/mypaint-brush.c glib/mypaint-brush.h
mypaint-brush.c:870: Warning: MyPaint: '@dtime' parameter unexpected at this
location:
* @dtime: Time since last motion event, in seconds.
^
mypaint-tiled-surface.c:123: Warning: MyPaint: '@active' parameter unexpected
at this location:
* @active: TRUE to enable, FALSE to disable.
^
mypaint-tiled-surface.c:124: Warning: MyPaint: '@center_x' parameter unexpected
at this location:
* @center_x: X axis to mirror events across.
^
mypaint-glib-compat.h:23: Warning: MyPaint: symbol='FALSE': Unknown namespace
for symbol 'FALSE'
g-ir-scanner: compile: gcc -Wall -Wno-deprecated-declarations -pthread
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I./brushlib
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c -o
/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1.o
/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1.c
g-ir-scanner: link: libtool --mode=link --tag=CC gcc -o
/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1
-export-dynamic
/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1.o -L.
-lmypaint -Wl,--export-dynamic -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0
-lglib-2.0
libtool: link: gcc -o
/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1
/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1.o
-Wl,--export-dynamic -pthread -Wl,--export-dynamic -L. -lmypaint -lgio-2.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -pthread
/usr/bin/ld: cannot find -lmypaint
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['libtool', '--mode=link',
'--tag=CC', 'gcc', '-o',
'/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1',
'-export-dynamic',
'/home/manuq/prog/gegl-project/libmypaint/tmp-introspect14UBZ_/MyPaint-1.1.o',
'-L.', '-lmypaint', '-Wl,--export-dynamic', '-pthread', '-lgio-2.0',
'-lgobject-2.0', '-lgmodule-2.0', '-lglib-2.0']' returned non-zero exit status 1
scons: *** [MyPaint-1.1.gir] Error 1
scons: building terminated because of errors.
_______________________________________________
Mypaint-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-discuss