No Matching Function for Call to draw()

View: New views
17 Messages — Rating Filter:   Alert me  

No Matching Function for Call to draw()

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Trying to build HG of k3d, I get:

[ 64%] Building CXX object modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/edge_painter.cpp.o
[ 64%] Built target k3d-polyhedron-sources
[ 64%] Building CXX object modules/renderman_engines/CMakeFiles/k3d-renderman-engines.dir/prman.cpp.o
[ 64%] Building CXX object modules/quadrics/CMakeFiles/k3d-quadrics.dir/torus.cpp.o
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp: In member function 'virtual void module::opengl::painters::edge_numbering_painter::on_paint_mesh(const k3d::mesh&, const k3d::gl::painter_render_state&)':
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:176: error: no matching function for call to 'module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)'
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:96: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, const FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:179: error: no matching function for call to 'module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)'
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:96: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, const FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
[ 66%] Building CXX object modules/renderman_engines/CMakeFiles/k3d-renderman-engines.dir/rdc.cpp.o
[ 67%] Building CXX object modules/renderman_painters/CMakeFiles/k3d-renderman-painters.dir/blobby_painter.cpp.o
make[2]: *** [modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/edge_numbering_painter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Scanning dependencies of target k3d-scalar
[ 67%] Building CXX object modules/scalar/CMakeFiles/k3d-scalar.dir/format_scalar.cpp.o

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I managed to build OK but on make run I got a crash as soon as I tried
to create a geometry node.

 ERROR: /home/daniel/projects/k3d/k3dsdk/ngui/selection.cpp line 483:
is not implemented
../bin/k3d: symbol lookup error:
/home/daniel/projects/k3d-build/lib/k3d/plugins/k3d-opengl-painters.module:
undefined symbol: _ZN3k3d10polyhedron8validateERKNS_4mesh9primitiveE
make[3]: *** [application/CMakeFiles/run] Error 127
make[2]: *** [application/CMakeFiles/run.dir/all] Error 2
make[1]: *** [application/CMakeFiles/run.dir/rule] Error 2
make: *** [run] Error 2

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Aug 16, 2009 at 2:21 PM, Daniel Scott
Matthews<dsmatthews@...> wrote:
> I managed to build OK but on make run I got a crash as soon as I tried
> to create a geometry node.
>
>  ERROR: /home/daniel/projects/k3d/k3dsdk/ngui/selection.cpp line 483:
> is not implemented
> ../bin/k3d: symbol lookup error:
> /home/daniel/projects/k3d-build/lib/k3d/plugins/k3d-opengl-painters.module:
> undefined symbol: _ZN3k3d10polyhedron8validateERKNS_4mesh9primitiveE

This is due to an unclean build directory: try  removing
lib/k3d/plugins/k3d-opengl-painters.module* and
modules/opengl_painters from your build tree.

Esben: no idea what could be the cause of your error, the file
compiles fine here, using the latest HG version. All I can think of is
that you could try rerunning cmake.

Cheers,

--
Bart

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Parent Message unknown Re: No Matching Function for Call to draw()

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Aug 17, 2009 at 6:48 AM, Daniel Scott
Matthews<dsmatthews@...> wrote:

> On Sun, Aug 16, 2009 at 11:39 PM, Bart
> Janssens<bart.janssens@...> wrote:
>> On Sun, Aug 16, 2009 at 2:21 PM, Daniel Scott
>> Matthews<dsmatthews@...> wrote:
>>> I managed to build OK but on make run I got a crash as soon as I tried
>>> to create a geometry node.
>>>
>>>  ERROR: /home/daniel/projects/k3d/k3dsdk/ngui/selection.cpp line 483:
>>> is not implemented
>>> ../bin/k3d: symbol lookup error:
>>> /home/daniel/projects/k3d-build/lib/k3d/plugins/k3d-opengl-painters.module:
>>> undefined symbol: _ZN3k3d10polyhedron8validateERKNS_4mesh9primitiveE
>>
>> This is due to an unclean build directory: try  removing
>> lib/k3d/plugins/k3d-opengl-painters.module* and
>> modules/opengl_painters from your build tree.
>>
>
> I did a make clean; make  that should have fixed it?  But now I am
> getting a lot of errors such as
>
> ERROR: Plugin MakePointGroup with duplicate factory ID 3e4086fe
> 0246f9ab eef01f8a f5cf5cff will not be loaded
>
> and
>
> ERROR: Icon 'move_cursor_screen_xy' not present in theme
>
> Perhaps I should clone the repository again and start from scratch?
>

Well that did fix it and it does build OK, so the issue here is why
our local copies can get into a mess over time?

Even deleting my entire build directory was not enough, only starting
from scratch fixed the errors, was my ccmake cache corrupted in some
way?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Obsolete Binaries [was:] No Matching Function for Call to draw()

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:

> Well that did fix it and it does build OK, so the issue here is why
> our local copies can get into a mess over time?
>
> Even deleting my entire build directory was not enough, only starting
> from scratch fixed the errors, was my ccmake cache corrupted in some
> way?

Occasionally, a plugin module gets renamed, split into multiple modules,
or deleted outright.  When that happens, its binary gets left behind in
the build directory.  Running "make clean" won't fix this because it
only deletes the binaries that make knows about; since the modules in
question no longer exist, make doesn't know anything about them.

Such leftover binaries cause problems because they can get loaded
in-addition-to or instead-of the correct, newer plugins.  This leads to
runtime errors like the ones you and Esben report.  The easiest solution
with the least time spent rebuilding it to delete the lib/k3d/plugins
directory in your build directory every time you pull new sources.  That
deletes all plugins, but only requires a relink to restore the plugins
you're supposed to have.

Cheers,
Tim





[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Timothy M. Shead" <tshead@...> writes:

> The easiest solution with the least time spent rebuilding it to delete
> the lib/k3d/plugins directory in your build directory every time you
> pull new sources.

Not sure what you mean, cause I've deleted the whole build directory and
I've ran ccmake again, but the same thing happens.

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Aug 18, 2009 at 5:32 AM, Esben Stien<b0ef@...> wrote:
> "Timothy M. Shead" <tshead@...> writes:
>
>> The easiest solution with the least time spent rebuilding it to delete
>> the lib/k3d/plugins directory in your build directory every time you
>> pull new sources.
>
> Not sure what you mean, cause I've deleted the whole build directory and
> I've ran ccmake again, but the same thing happens.
>

Start from scratch as I did, that definitely should work, unless there
is an issue with libs on your system.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Esben Stien wrote:
> "Timothy M. Shead" <tshead@...> writes:
>
>> The easiest solution with the least time spent rebuilding it to delete
>> the lib/k3d/plugins directory in your build directory every time you
>> pull new sources.
>
> Not sure what you mean, cause I've deleted the whole build directory and
> I've ran ccmake again, but the same thing happens.

That's just because Bart and Daniel hijacked your thread with an
unrelated issue ;)

Here's the problem you originally posted:

/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:
In member function 'virtual void
module::opengl::painters::edge_numbering_painter::on_paint_mesh(const
k3d::mesh&, const k3d::gl::painter_render_state&)':
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:176:
error: no matching function for call to
'module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&,
const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&,
const k3d::basic_rgb<double, k3d::color_traits<double> >, const
k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const
k3d::typed_array<double>&, k3d::uint_t), FTFont&)'
/home/b0ef/.pkg/k3d-HG/modules/reference_opengl_painters/edge_numbering_painter.cpp:96:
note: candidates are: static void
module::opengl::painters::edge_numbering_painter::draw(const
k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&,
const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t,
k3d::double_t, const FunctorT&, FTFont&) [with FunctorT = k3d::bool_t
()(const k3d::typed_array<double>&, k3d::uint_t)]

I'm not entirely clear on why this works for me and not you ... what
platform & compiler are you using?

Regardless, I've posted a speculative fix in my sandbox ... try pulling
revision 23a261954e84 from http://bitbucket.org/tshead/k3d-sandbox/ and
see if that fixes this error.  Note that if this works, there will
likely be similar issues in other files.  Let us know either way.

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Timothy M. Shead" <tshead@...> writes:

> what platform & compiler are you using?

GNU/Linux with gcc-4.3.2

> I've posted a speculative fix in my sandbox ... try pulling revision
> 23a261954e84

Not that familiar, yet, with mercurial, so I just cloned it:

hg clone http://bitbucket.org/tshead/k3d-sandbox k3d-HG-special

Sorry;), I get the same error.

[ 61%] Building CXX object modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/edge_painter.cpp.o
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp: In member function ‘virtual void module::opengl::painters::edge_numbering_painter::on_paint_mesh(const k3d::mesh&, const k3d::gl::painter_render_state&)’:
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:177: error: no matching function for call to ‘module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)’
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:97: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, const FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:180: error: no matching function for call to ‘module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)’
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:97: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, const FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
[ 62%] Building CXX object modules/renderman_engines/CMakeFiles/k3d-renderman-engines.dir/rdc.cpp.o
make[2]: *** [modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/edge_numbering_painter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Aug 18, 2009 at 7:44 PM, Esben Stien<b0ef@...> wrote:
> "Timothy M. Shead" <tshead@...> writes:
>
>> what platform & compiler are you using?
>
> GNU/Linux with gcc-4.3.2
>

Ubuntu 64 bit gcc  4.3.3 here

Is your system 32 or 64 bit?

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews <dsmatthews@...> writes:

> Is your system 32 or 64 bit?

32 bit

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Obsolete Binaries

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Esben Stien wrote:
> "Timothy M. Shead" <tshead@...> writes:
>
>> what platform & compiler are you using?
>
> GNU/Linux with gcc-4.3.2

Ubuntu gcc 4.3.3 here.  The code in question also builds fine with gcc
4.0.1.  So I'm at a loss on why it wouldn't work for you.  I'll sleep on
it and look into some other implementation.

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Esben Stien <b0ef@...> writes:

> Trying to build HG of k3d

Using the proper thread to reply to. I fetched the sandbox branch and I
still get the same. Sorry;).

/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp: In member function ‘virtual void module::opengl::painters::edge_numbering_painter::on_paint_mesh(const k3d::mesh&, const k3d::gl::painter_render_state&)’:
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:177: error: no matching function for call to ‘module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)’
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:97: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:180: error: no matching function for call to ‘module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)’
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:97: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
make[2]: *** [modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/edge_numbering_painter.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Esben Stien wrote:

> Esben Stien <b0ef@...> writes:
>
>> Trying to build HG of k3d
>
> Using the proper thread to reply to. I fetched the sandbox branch and I
> still get the same. Sorry;).
>
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp: In member function ‘virtual void module::opengl::painters::edge_numbering_painter::on_paint_mesh(const k3d::mesh&, const k3d::gl::painter_render_state&)’:
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:177: error: no matching function for call to ‘module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)’
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:97: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:180: error: no matching function for call to ‘module::opengl::painters::edge_numbering_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, k3d::typed_array<k3d::normal3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, const k3d::double_t&, const k3d::double_t&, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t), FTFont&)’
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/edge_numbering_painter.cpp:97: note: candidates are: static void module::opengl::painters::edge_numbering_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::typed_array<k3d::normal3>&, const k3d::color&, k3d::double_t, k3d::double_t, FunctorT&, FTFont&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
> make[2]: *** [modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/edge_numbering_painter.cpp.o] Error 1
> make[2]: *** Waiting for unfinished jobs....
>
OK, I've committed another iteration, give it a shot ;)

Cheers,
Tim


[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Timothy M. Shead" <tshead@...> writes:

> OK, I've committed another iteration, give it a shot ;)

Unless my eyes are playing tricks on me, it looks the same:

/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp: In member function ‘virtual void module::opengl::painters::half_edge_painter::on_paint_mesh(const k3d::mesh&, const k3d::gl::painter_render_state&)’:
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:128: error: no matching function for call to ‘module::opengl::painters::half_edge_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t))’
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:81: note: candidates are: void module::opengl::painters::half_edge_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::color&, const FunctorT&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:130: error: no matching function for call to ‘module::opengl::painters::half_edge_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t))’
/home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:81: note: candidates are: void module::opengl::painters::half_edge_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::color&, const FunctorT&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
Scanning dependencies of target k3d-gnome-proxy
[ 83%] Generating ../../lib/k3d/plugins/k3d-gnome.module.proxy
make[2]: *** [modules/reference_opengl_painters/CMakeFiles/k3d-reference-opengl-painters.dir/half_edge_painter.cpp.o] Error 1

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Esben Stien wrote:

> "Timothy M. Shead" <tshead@...> writes:
>
>> OK, I've committed another iteration, give it a shot ;)
>
> Unless my eyes are playing tricks on me, it looks the same:
>
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp: In member function ‘virtual void module::opengl::painters::half_edge_painter::on_paint_mesh(const k3d::mesh&, const k3d::gl::painter_render_state&)’:
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:128: error: no matching function for call to ‘module::opengl::painters::half_edge_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t))’
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:81: note: candidates are: void module::opengl::painters::half_edge_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::color&, const FunctorT&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:130: error: no matching function for call to ‘module::opengl::painters::half_edge_painter::draw(k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::basic_rgb<double, k3d::color_traits<double> >, k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t))’
> /home/b0ef/.pkg/k3d-HG-special/modules/reference_opengl_painters/half_edge_painter.cpp:81: note: candidates are: void module::opengl::painters::half_edge_painter::draw(const k3d::polyhedron::const_primitive&, const k3d::typed_array<k3d::point3>&, const k3d::color&, const FunctorT&) [with FunctorT = k3d::bool_t ()(const k3d::typed_array<double>&, k3d::uint_t)]
On the contrary this is good news: the last round of changes fixed the
problem in one file, this is just another file that has the same issue.
  Now that we know what works, I've merged this change into the main
repo in every place that it's needed.  You should be able to pull from
SF and be back in business.

Cheers,
Tim

[tshead.vcf]

begin:vcard
fn:Timothy Shead
n:Shead;Timothy
org:www.k-3d.org
email;internet:tshead@...
title:Founder
x-mozilla-html:FALSE
version:2.1
end:vcard



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: No Matching Function for Call to draw()

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

"Timothy M. Shead" <tshead@...> writes:

> I've merged this change into the main repo in every place that it's
> needed.

Thank you. This made it complete the build;).

I ran into some other problems on the install target, but I'll start a
new thread on that.

Again. Thank you.

--
Esben Stien is b0ef@e     s      a            
         http://www. s     t    n m
          irc://irc.  b  -  i  .   e/%23contact
           sip:b0ef@   e     e
           jid:b0ef@    n     n

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development