svn not building delete_components.cpp due to polyhedra not being defined

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

svn not building delete_components.cpp due to polyhedra not being defined

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[ 51%] Building CXX object
modules/mesh/CMakeFiles/k3d-mesh.dir/delete_components.cpp.o
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp: In
member function ‘virtual void
module::mesh::delete_components::on_create_mesh(const k3d::mesh&,
k3d::mesh&)’:
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:361:
error: no matching function for call to ‘validate(const k3d::mesh&)’
/home/daniel/projects/k3d/k3dsdk/polyhedron.h:151: note: candidates
are: k3d::polyhedron::const_primitive* k3d::polyhedron::validate(const
k3d::mesh::primitive&)
/home/daniel/projects/k3d/k3dsdk/polyhedron.h:154: note:
  k3d::polyhedron::primitive*
k3d::polyhedron::validate(k3d::mesh::primitive&)
/home/daniel/projects/k3d/k3dsdk/polyhedron.h:157: note:
  k3d::polyhedron::primitive*
k3d::polyhedron::validate(k3d::pipeline_data<k3d::mesh::primitive>&)
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:368:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:369:
error: ‘const class k3d::mesh_selection’ has no member named ‘edges’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:370:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:371:
error: ‘const class k3d::mesh_selection’ has no member named ‘faces’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:373:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:374:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:375:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:377:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:381:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:382:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:383:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:384:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:385:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:396:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:398:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:408:
error: ‘polyhedra_t’ is not a member of ‘k3d::mesh’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:408:
error: ‘output_polyhedra’ was not declared in this scope
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:408:
error: ‘class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:410:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:413:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:414:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:415:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:416:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:420:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:421:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:424:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:425:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:431:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:432:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:433:
error: ‘k3d::mesh::polyhedra_t’ has not been declared
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:433:
error: ‘polyhedra_types’ was not declared in this scope
/home/daniel/projects/k3d/modules/mesh/delete_components.cpp:444:
error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
make[2]: *** [modules/mesh/CMakeFiles/k3d-mesh.dir/delete_components.cpp.o]
Error 1
make[1]: *** [modules/mesh/CMakeFiles/k3d-mesh.dir/all] Error 2
make: *** [all] Error 2

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: svn not building delete_components.cpp due to polyhedra not being defined

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Daniel,

The mesh module still contains many plugins that have not been
converted to the generic mesh structure yet. It should be disabled to
compile current SVN.

Cheers,

--
Bart

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Parent Message unknown Re: svn not building delete_components.cpp due to polyhedra not being defined

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, Jun 6, 2009 at 12:34 PM, Daniel Scott
Matthews<dsmatthews@...> wrote:

> On Sat, Jun 6, 2009 at 6:42 PM, Bart Janssens<bart.janssens@...> wrote:
>> Hi Daniel,
>>
>> The mesh module still contains many plugins that have not been
>> converted to the generic mesh structure yet. It should be disabled to
>> compile current SVN.
>>
> Thanks, that fixed it, now it builds and runs on Ubuntu 9.0.4 64-bit,
> but I still need to turn off visual fx otherwise the 3d viewport fails
> to update correctly. Not a huge issue as it can be switch easily
> without restarting X. This is on a different system to the one I first
> reported the fx issue with. I wonder if K-3D can use gconftool to turn
> off visual fx while it is running and restore the setup on exit?
>

We currently do this on vista, in the disable_desktop_composition
plugin. At first glance, there is no simple, generic API call that
allows disabling compiz on linux, though.

I'm seeing different reports on how well compiz works with OpenGL apps
on the net, it seems most problems are with the Intel graphics driver.
What driver are you using?

Cheers,

--
Bart Janssens

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: svn not building delete_components.cpp due to polyhedra not being defined

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:
> Hi Daniel,
>
> The mesh module still contains many plugins that have not been
> converted to the generic mesh structure yet. It should be disabled to
> compile current SVN.

Just to clarify for anyone else building from SVN, you just have to turn
K3D_BUILD_MESH_MODULE "OFF"

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
url:www.k-3d.org
version:2.1
end:vcard



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Compiz [was:] svn not building delete_components.cpp due to polyhedra not being defined

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens wrote:

> On Sat, Jun 6, 2009 at 12:34 PM, Daniel Scott
> Matthews<dsmatthews@...> wrote:
>> On Sat, Jun 6, 2009 at 6:42 PM, Bart Janssens<bart.janssens@...> wrote:
>>> Hi Daniel,
>>>
>>> The mesh module still contains many plugins that have not been
>>> converted to the generic mesh structure yet. It should be disabled to
>>> compile current SVN.
>>>
>> Thanks, that fixed it, now it builds and runs on Ubuntu 9.0.4 64-bit,
>> but I still need to turn off visual fx otherwise the 3d viewport fails
>> to update correctly. Not a huge issue as it can be switch easily
>> without restarting X. This is on a different system to the one I first
>> reported the fx issue with. I wonder if K-3D can use gconftool to turn
>> off visual fx while it is running and restore the setup on exit?
>>
>
> We currently do this on vista, in the disable_desktop_composition
> plugin. At first glance, there is no simple, generic API call that
> allows disabling compiz on linux, though.
There's an X11 extension-or-two involved in compiz isn't there?  I don't
know that they can be disabled on a per-process basis the way
disable_desktop_composition works on Windoze.  We could probably
generate a warning at startup, however.

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
url:www.k-3d.org
version:2.1
end:vcard



------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Compiz [was:] svn not building delete_components.cpp due to polyhedra not being defined

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 8, 2009 at 1:10 AM, Timothy M. Shead<tshead@...> wrote:

> Bart Janssens wrote:
>> On Sat, Jun 6, 2009 at 12:34 PM, Daniel Scott
>> Matthews<dsmatthews@...> wrote:
>>> On Sat, Jun 6, 2009 at 6:42 PM, Bart Janssens<bart.janssens@...> wrote:
>>>> Hi Daniel,
>>>>
>>>> The mesh module still contains many plugins that have not been
>>>> converted to the generic mesh structure yet. It should be disabled to
>>>> compile current SVN.
>>>>
>>> Thanks, that fixed it, now it builds and runs on Ubuntu 9.0.4 64-bit,
>>> but I still need to turn off visual fx otherwise the 3d viewport fails
>>> to update correctly. Not a huge issue as it can be switch easily
>>> without restarting X. This is on a different system to the one I first
>>> reported the fx issue with. I wonder if K-3D can use gconftool to turn
>>> off visual fx while it is running and restore the setup on exit?
>>>
>>
>> We currently do this on vista, in the disable_desktop_composition
>> plugin. At first glance, there is no simple, generic API call that
>> allows disabling compiz on linux, though.
>
> There's an X11 extension-or-two involved in compiz isn't there?  I don't
> know that they can be disabled on a per-process basis the way
> disable_desktop_composition works on Windoze.  We could probably
> generate a warning at startup, however.
>

The GUI utility gnome-appearance-properties can turn compiz on and off
on the fly, you could do the following:

Detect Compiz
   Yes then warn user and give them option (button) to start
gnome-appearance-properties
      run Compiz detect again (with a bailout option because we have a loop)
   No then start K-3D GUI

When K-3D exits we need to know if the user needs to see the
gnome-appearance-properties dialog again so that Compiz can be turned
back on, so we need to take note of what the state was when K-3D's
Compiz handling code was run at start-up.

Or you could look at the code in gnome-appearance-properties and have
k-3D do the same thing.

Or look at running K-3D full screen in an Xnest type of situation
where Compiz may not matter.

Or you could fix whatever is broken.... if only we knew what it was.



> Cheers,
> Tim
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
> _______________________________________________
> K3d-development mailing list
> K3d-development@...
> https://lists.sourceforge.net/lists/listinfo/k3d-development
>
>

------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development