Owen, David, et al...
I have been told that OpenBSD has no need for -devel packages. When
we install GIMP, we install the "-devel" package.
I untarred dbp-1.1.5.tgz in the "plug-ins" directory, like the
documentation, and I have the following when I do "make".... Gimp
2.2.13 is installed via package, as well as GTK. The Makefile calls
the program gimptool-2.0, which is in my path "/usr/local/bin/". It
would appear that this program was created with only Linux in mind, as
it is looking for files in locations that aren't the same in other
UNIX versions.
I would appreciate any help. I'd like to be able to use this without
resorting to using the "Winduhs" version... See the following output
below.
----------------------------------------------------------------------------------------
# cd /usr/local/lib/gimp/2.0/plug-ins/
# make
g++ -o dbp -Wall -O2 -I. *.cc -DGTK_DISABLE_DEPRECATED
In file included from dbp.cc:63:
gui.h:23:21: gtk/gtk.h: No such file or directory
In file included from op.h:26,
from gui.h:26,
from dbp.cc:63:
gimpCall.h:25:26: libgimp/gimp.h: No such file or directory
gimpCall.h:26:28: libgimp/gimpui.h: No such file or directory
In file included from op.h:26,
from gui.h:26,
from dbp.cc:63:
gimpCall.h:47: error: syntax error before `&' token
gimpCall.h:56: error: `GimpParam' was not declared in this scope
gimpCall.h:56: error: `params' was not declared in this scope
gimpCall.h:56: error: syntax error before `)' token
gimpCall.h:56: error: invalid data member initialization
gimpCall.h:56: error: (use `=' to initialize static data members)
gimpCall.h:56: error: variable or field `dumpParams' declared void
gimpCall.h:62: error: syntax error before `*' token
gimpCall.h:64: error: syntax error before `*' token
In file included from gui.h:26,
from dbp.cc:63:
op.h:178: error: 'GimpParam' is used as a type, but is not defined as a type.
In file included from dbp.cc:63:
gui.h:36: error: syntax error before `*' token
gui.h:37: error: syntax error before `*' token
gui.h:41: error: syntax error before `*' token
gui.h:50: error: syntax error before `*' token
gui.h:53: error: `GtkObject' was not declared in this scope
gui.h:53: error: syntax error before `,' token
gui.h:60: error: syntax error before `*' token
gui.h:68: error: syntax error before `*' token
gui.h:68: confused by earlier errors, bailing out
In file included from gimpCall.cc:20:
gimpCall.h:25:26: libgimp/gimp.h: No such file or directory
gimpCall.h:26:28: libgimp/gimpui.h: No such file or directory
In file included from gimpCall.cc:20:
gimpCall.h:47: error: syntax error before `&' token
gimpCall.h:56: error: `GimpParam' was not declared in this scope
gimpCall.h:56: error: `params' was not declared in this scope
gimpCall.h:56: error: syntax error before `)' token
gimpCall.h:56: error: invalid data member initialization
gimpCall.h:56: error: (use `=' to initialize static data members)
gimpCall.h:56: error: variable or field `dumpParams' declared void
gimpCall.h:62: error: syntax error before `*' token
gimpCall.h:64: error: syntax error before `*' token
gimpCall.cc: In constructor `GimpCall::GimpCall(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
gimpCall.cc:27: error: class `GimpCall' does not have any field named `_returns
'
gimpCall.cc:31: error: `_params' undeclared (first use this function)
gimpCall.cc:31: error: (Each undeclared identifier is reported only once for
each function it appears in.)
gimpCall.cc:31: error: syntax error before `[' token
gimpCall.cc: In destructor `GimpCall::~GimpCall()':
gimpCall.cc:36: error: `_returns' undeclared (first use this function)
gimpCall.cc:36: error: `gimp_destroy_params' undeclared (first use this
function)
gimpCall.cc: In member function `GimpCall& GimpCall::param(bool)':
gimpCall.cc:43: error: `GIMP_PDB_INT32' undeclared (first use this function)
gimpCall.cc: In member function `GimpCall& GimpCall::param(float)':
gimpCall.cc:63: error: `GIMP_PDB_FLOAT' undeclared (first use this function)
gimpCall.cc: In member function `GimpCall& GimpCall::param(const std::string&)
':
gimpCall.cc:73: error: `GIMP_PDB_STRING' undeclared (first use this function)
gimpCall.cc:74: error: syntax error before `*' token
gimpCall.cc: In member function `GimpCall& GimpCall::imageParam(int)':
gimpCall.cc:83: error: `GIMP_PDB_IMAGE' undeclared (first use this function)
gimpCall.cc: In member function `GimpCall& GimpCall::drawableParam(int)':
gimpCall.cc:93: error: `GIMP_PDB_DRAWABLE' undeclared (first use this function)
gimpCall.cc: In member function `GimpCall& GimpCall::layerParam(int)':
gimpCall.cc:103: error: `GIMP_PDB_LAYER' undeclared (first use this function)
gimpCall.cc: In member function `GimpCall& GimpCall::displayParam(int)':
gimpCall.cc:113: error: `GIMP_PDB_DISPLAY' undeclared (first use this function)
gimpCall.cc: At global scope:
gimpCall.cc:135: error: syntax error before `&' token
gimpCall.cc: In member function `GimpCall& GimpCall::param(...)':
gimpCall.cc:137: error: invalid use of member (did you forget the `&' ?)
gimpCall.cc:138: error: invalid use of member (did you forget the `&' ?)
gimpCall.cc: In member function `const GimpCall& GimpCall::execute(bool&)':
gimpCall.cc:151: error: syntax error before `*' token
gimpCall.cc:160: error: `GIMP_PDB_STATUS' undeclared (first use this function)
gimpCall.cc:161: error: `GIMP_PDB_SUCCESS' undeclared (first use this function)
gimpCall.cc: In member function `const GimpCall&
GimpCall::intArrayReturn(int*&) const':
gimpCall.cc:182: error: `GIMP_PDB_INT32ARRAY' undeclared (first use this
function)
gimpCall.cc: At global scope:
gimpCall.cc:223: error: `GimpParam' was not declared in this scope
gimpCall.cc:223: error: `params' was not declared in this scope
gimpCall.cc:223: error: syntax error before `)' token
gimpCall.cc:223: error: variable or field `dumpParams' declared void
gimpCall.cc:223: error: initializer list being treated as compound expression
gimpCall.cc:223: error: syntax error before `{' token
gimpCall.cc:225: error: `nParams' was not declared in this scope
gimpCall.cc:225: error: syntax error before `;' token
In file included from gui.cc:20:
gui.h:23:21: gtk/gtk.h: No such file or directory
In file included from op.h:26,
from gui.h:26,
from gui.cc:20:
gimpCall.h:25:26: libgimp/gimp.h: No such file or directory
gimpCall.h:26:28: libgimp/gimpui.h: No such file or directory
In file included from op.h:26,
from gui.h:26,
from gui.cc:20:
gimpCall.h:47: error: syntax error before `&' token
gimpCall.h:56: error: `GimpParam' was not declared in this scope
gimpCall.h:56: error: `params' was not declared in this scope
gimpCall.h:56: error: syntax error before `)' token
gimpCall.h:56: error: invalid data member initialization
gimpCall.h:56: error: (use `=' to initialize static data members)
gimpCall.h:56: error: variable or field `dumpParams' declared void
gimpCall.h:62: error: syntax error before `*' token
gimpCall.h:64: error: syntax error before `*' token
In file included from gui.h:26,
from gui.cc:20:
op.h:178: error: 'GimpParam' is used as a type, but is not defined as a type.
In file included from gui.cc:20:
gui.h:36: error: syntax error before `*' token
gui.h:37: error: syntax error before `*' token
gui.h:41: error: syntax error before `*' token
gui.h:50: error: syntax error before `*' token
gui.h:53: error: `GtkObject' was not declared in this scope
gui.h:53: error: syntax error before `,' token
gui.h:60: error: syntax error before `*' token
gui.h:68: error: syntax error before `*' token
gui.h:68: confused by earlier errors, bailing out
In file included from op.h:26,
from op.cc:20:
gimpCall.h:25:26: libgimp/gimp.h: No such file or directory
gimpCall.h:26:28: libgimp/gimpui.h: No such file or directory
In file included from op.h:26,
from op.cc:20:
gimpCall.h:47: error: syntax error before `&' token
gimpCall.h:56: error: `GimpParam' was not declared in this scope
gimpCall.h:56: error: `params' was not declared in this scope
gimpCall.h:56: error: syntax error before `)' token
gimpCall.h:56: error: invalid data member initialization
gimpCall.h:56: error: (use `=' to initialize static data members)
gimpCall.h:56: error: variable or field `dumpParams' declared void
gimpCall.h:62: error: syntax error before `*' token
gimpCall.h:64: error: syntax error before `*' token
In file included from op.cc:20:
op.h:178: error: 'GimpParam' is used as a type, but is not defined as a type.
op.cc: In constructor `Dbp::Location::Location(const std::string&)':
op.cc:37: error: `G_DIR_SEPARATOR' undeclared (first use this function)
op.cc:37: error: (Each undeclared identifier is reported only once for each
function it appears in.)
op.cc: In member function `std::string Dbp::Location::fullPath() const':
op.cc:79: error: `G_DIR_SEPARATOR_S' undeclared (first use this function)
op.cc: In member function `virtual bool Dbp::Filter::execute(int&, int&,
Dbp::Location&)':
op.cc:106: error: `GIMP_RUN_NONINTERACTIVE' undeclared (first use this
function)
op.cc: In member function `virtual bool Dbp::InputOp::execute(int&, int&,
Dbp::Location&)':
op.cc:126: error: `gchar' undeclared (first use this function)
op.cc:126: error: `path' undeclared (first use this function)
op.cc:126: error: syntax error before `[' token
op.cc:128: error: `gimp_file_load' undeclared (first use this function)
op.cc:132: error: `gimp_image_undo_disable' undeclared (first use this
function)
op.cc:135: error: syntax error before `=' token
op.cc:136: error: `gint' undeclared (first use this function)
op.cc:136: error: `layers' undeclared (first use this function)
op.cc:136: error: `layers' undeclared (first use this function)
op.cc:136: error: `numLayers' undeclared (first use this function)
op.cc:136: error: `gimp_image_get_layers' undeclared (first use this function)
op.cc:138: error: `gimp_image_delete' undeclared (first use this function)
op.cc:141: error: `GIMP_CLIP_TO_IMAGE' undeclared (first use this function)
op.cc:141: error: `gimp_image_merge_visible_layers' undeclared (first use this
function)
op.cc:145: error: `g_free' undeclared (first use this function)
op.cc: In member function `virtual bool Dbp::TurnOp::execute(int&, int&,
Dbp::Location&)':
op.cc:161: error: `GimpRotationType' undeclared (first use this function)
op.cc:161: error: syntax error before `)' token
op.cc:161: error: `gimp_image_rotate' undeclared (first use this function)
op.cc: In member function `virtual void Dbp::BlurOp::addParams(GimpCall&)':
op.cc:173: error: `TRUE' undeclared (first use this function)
op.cc: In member function `virtual bool Dbp::RecolourOp::execute(int&, int&,
Dbp::Location&)':
op.cc:189: error: `gimp_levels_stretch' undeclared (first use this function)
op.cc:196: error: `gimp_brightness_contrast' undeclared (first use this
function)
op.cc:201: error: syntax error before `=' token
op.cc:205: error: `hueRange' undeclared (first use this function)
op.cc:205: error: `gimp_hue_saturation' undeclared (first use this function)
op.cc:209: error: `gimp_image_convert_grayscale' undeclared (first use this
function)
op.cc: In member function `virtual bool Dbp::ResizeOp::execute(int&, int&,
Dbp::Location&)':
op.cc:238: error: `gimp_image_width' undeclared (first use this function)
op.cc:239: error: `gimp_image_height' undeclared (first use this function)
op.cc:247: error: `gimp_image_scale' undeclared (first use this function)
op.cc:275: error: `gimp_image_resize' undeclared (first use this function)
op.cc:277: error: `gimp_layer_resize_to_image_size' undeclared (first use this
function)
op.cc: In member function `virtual bool Dbp::RenameOp::execute(int&, int&,
Dbp::Location&)':
op.cc:356: error: `gimp_image_flatten' undeclared (first use this function)
op.cc: In member function `void
Dbp::OutputFormat::param(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, bool)':
op.cc:381: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc:381: error: `GIMP_PDB_INT32' undeclared (first use this function)
op.cc:382: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc: In member function `void
Dbp::OutputFormat::param(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, int, int, int)':
op.cc:391: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc:392: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc: In member function `void
Dbp::OutputFormat::param(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, float, float, float, int)':
op.cc:404: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc:404: error: `GIMP_PDB_FLOAT' undeclared (first use this function)
op.cc:405: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc: In member function `void
Dbp::OutputFormat::param(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
op.cc:417: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc:417: error: `GIMP_PDB_STRING' undeclared (first use this function)
op.cc:421: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc:421: error: syntax error before `)' token
op.cc: In member function `Dbp::OpParam&
Dbp::OutputFormat::param(std::basic_string<char, std::char_traits<char>,
std::allocator<char> >)':
op.cc:430: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc:431: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc: In member function `void Dbp::OpParam::choose(int)':
op.cc:445: error: `_gimpType' undeclared (first use this function)
op.cc: In member function `virtual bool Dbp::OutputOp::execute(int&, int&,
Dbp::Location&)':
op.cc:574: error: 'struct Dbp::OpParam' has no member named '_gimpType'
op.cc: In member function `void Dbp::DbpData::removeDisplay()':
op.cc:612: error: `gimp_display_delete' undeclared (first use this function)
op.cc:616: error: `gimp_image_delete' undeclared (first use this function)
op.cc: In member function `void Dbp::DbpData::step()':
op.cc:681: error: `gimp_image_set_filename' undeclared (first use this
function)
op.cc:684: error: `gimp_display_new' undeclared (first use this function)
op.cc:686: error: `gimp_displays_reconnect' undeclared (first use this
function)
op.cc:690: error: `gimp_display_delete' undeclared (first use this function)
op.cc:695: error: `gimp_image_delete' undeclared (first use this function)
op.cc:743: error: `gimp_image_clean_all' undeclared (first use this function)
op.cc:745: error: `gimp_displays_flush' undeclared (first use this function)
*** Error code 1
Stop in /usr/local/lib/gimp/2.0/plug-ins/dbp-1.1.5 (line 12 of Makefile).
_______________________________________________
Openbsd-newbies mailing list
[email protected]
http://mailman.theapt.org/listinfo/openbsd-newbies