[Gimp-developer] Compile module like display-filter-lcms.c

What's the right way to compile a module such as display-filter-lcms.c?

gimptool-2.0 outputs a gcc command:

gcc  -pthread -I/usr/include/freetype2   -o display-filter-lcms
-Wl,--export-dynamic -pthread -L/usr/local/lib64 -lgimpui-2.0
-lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0
-lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0
-lgegl-0.2 -lgmodule-2.0 -lrt -lbabl-0.1 -lm -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -llcms

But when I tried to compile, the terminal output complained:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../lib64/crt1.o: In
function `_start':
undefined reference to `main'
collect2: ld returned 1 exit status

Compiling all of Gimp takes a half hour on my old, slow machine, so
there has to be a better way to recompile the display-filter-lcms

Thanks in advance if anyone can help,
Elle Stone
Articles and tutorials on open source digital imaging and photography

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]