Expected Unqualified ID Before Token

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

Expected Unqualified ID Before Token

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Trying to build SVN, I get:

[ 54%] Building CXX object modules/mesh/CMakeFiles/k3d-mesh.dir/set_material.cpp.o
[ 54%] Building CXX object modules/mesh/CMakeFiles/k3d-mesh.dir/subdivide_edges.cpp.o
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:54: error: expected unqualified-id before ‘&’ token
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:54: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:124: error: type ‘k3d::mesh’ is not derived from type ‘module::mesh::detail::edge_index_calculator’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:124: error: expected ‘;’ before ‘&’ token
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: In constructor ‘module::mesh::detail::edge_index_calculator::edge_index_calculator()’:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:64: error: class ‘module::mesh::detail::edge_index_calculator’ does not have any field named ‘m_polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:64: error: ‘Polyhedra’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:65: error: ‘Companions’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:66: error: ‘BoundaryEdges’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:67: error: ‘SplitPointCount’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:68: error: ‘FirstNewPoint’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:69: error: ‘EdgeList’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:70: error: ‘IndexMap’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:71: error: ‘FirstMidPoint’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:72: error: ‘HasMidPoint’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: In member function ‘void module::mesh::detail::edge_index_calculator::operator()(k3d::uint_t)’:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:77: error: ‘m_polyhedra’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: At global scope:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:139: error: expected unqualified-id before ‘&’ token
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:139: error: expected ‘,’ or ‘...’ before ‘&’ token
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:205: error: type ‘k3d::mesh’ is not derived from type ‘module::mesh::detail::edge_splitter’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:205: error: expected ‘;’ before ‘&’ token
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: In constructor ‘module::mesh::detail::edge_splitter::edge_splitter()’:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:149: error: class ‘module::mesh::detail::edge_splitter’ does not have any field named ‘m_input_polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:149: error: ‘InputPolyhedra’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:150: error: ‘EdgeList’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:151: error: ‘IndexMap’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:152: error: ‘FirstMidpoint’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:153: error: ‘Companions’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:154: error: ‘BoundaryEdges’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:155: error: ‘SplitPointCount’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:156: error: ‘OutputEdgePoints’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:157: error: ‘OutputClockwiseEdges’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:158: error: ‘Copier’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: In member function ‘void module::mesh::detail::edge_splitter::operator()(k3d::uint_t)’:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:167: error: ‘m_input_polyhedra’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:186: error: ‘m_input_polyhedra’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: In member function ‘virtual void module::mesh::subdivide_edges::on_create_mesh(const k3d::mesh&, k3d::mesh&)’:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:315: error: no matching function for call to ‘validate(const k3d::mesh&)’
/home/b0ef/.pkg/k3d-SVN/k3dsdk/polyhedron.h:151: note: candidates are: k3d::polyhedron::const_primitive* k3d::polyhedron::validate(const k3d::mesh::primitive&)
/home/b0ef/.pkg/k3d-SVN/k3dsdk/polyhedron.h:154: note:                 k3d::polyhedron::primitive* k3d::polyhedron::validate(k3d::mesh::primitive&)
/home/b0ef/.pkg/k3d-SVN/k3dsdk/polyhedron.h:157: note:                 k3d::polyhedron::primitive* k3d::polyhedron::validate(k3d::pipeline_data<k3d::mesh::primitive>&)
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:325: error: ‘polyhedra_t’ is not a member of ‘k3d::mesh’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:325: error: ‘polyhedra’ was not declared in this scope
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:325: error: ‘class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:330: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:330: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:336: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:349: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:362: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:364: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:368: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:369: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:380: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp: In member function ‘virtual void module::mesh::subdivide_edges::on_update_mesh(const k3d::mesh&, k3d::mesh&)’:
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:396: error: no matching function for call to ‘validate(const k3d::mesh&)’
/home/b0ef/.pkg/k3d-SVN/k3dsdk/polyhedron.h:151: note: candidates are: k3d::polyhedron::const_primitive* k3d::polyhedron::validate(const k3d::mesh::primitive&)
/home/b0ef/.pkg/k3d-SVN/k3dsdk/polyhedron.h:154: note:                 k3d::polyhedron::primitive* k3d::polyhedron::validate(k3d::mesh::primitive&)
/home/b0ef/.pkg/k3d-SVN/k3dsdk/polyhedron.h:157: note:                 k3d::polyhedron::primitive* k3d::polyhedron::validate(k3d::pipeline_data<k3d::mesh::primitive>&)
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:404: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
/home/b0ef/.pkg/k3d-SVN/modules/mesh/subdivide_edges.cpp:405: error: ‘const class k3d::mesh’ has no member named ‘polyhedra’
make[2]: *** [modules/mesh/CMakeFiles/k3d-mesh.dir/subdivide_edges.cpp.o] Error 1
make[1]: *** [modules/mesh/CMakeFiles/k3d-mesh.dir/all] Error 2
make: *** [all] Error 2

--
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

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Expected Unqualified ID Before Token

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 22, 2009 at 7:34 AM, Esben Stien<b0ef@...> wrote:
> Trying to build SVN, I get:
>
> [ 54%] Building CXX object modules/mesh/CMakeFiles/k3d-mesh.dir/set_material.cpp.o
> [ 54%] Building CXX object modules/mesh/CMakeFiles/k3d-mesh.dir/subdivide_edges.cpp.o
...

I just did a svn up so I'm at revision 2125 and on Ubuntu 64bit it
builds and runs without error.

Are you on rev. 2125? What platform etc?

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Expected Unqualified ID Before Token

by bART Janssens-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Esben,

This is because of the new mesh format work: the mesh module currently does not build, you need to disable it in CMake (set K3D_BUILD_MESH_MODULE to OFF). We are gradually converting the plugins, and moving them to the polyhedra module.

Cheers,

Bart

On Sun, Jun 21, 2009 at 10:46 PM, Daniel Scott Matthews <dsmatthews@...> wrote:
On Mon, Jun 22, 2009 at 7:34 AM, Esben Stien<b0ef@...> wrote:
> Trying to build SVN, I get:
>
> [ 54%] Building CXX object modules/mesh/CMakeFiles/k3d-mesh.dir/set_material.cpp.o
> [ 54%] Building CXX object modules/mesh/CMakeFiles/k3d-mesh.dir/subdivide_edges.cpp.o
...

I just did a svn up so I'm at revision 2125 and on Ubuntu 64bit it
builds and runs without error.

Are you on rev. 2125? What platform etc?



------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Expected Unqualified ID Before Token

by Esben Stien :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bart Janssens <bart.janssens@...> writes:

> set K3D_BUILD_MESH_MODULE to OFF

Thank you. That got me passed that one..;)

--
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

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Expected Unqualified ID Before Token

by Daniel Scott Matthews :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Jun 22, 2009 at 7:43 AM, Bart Janssens
<bart.janssens@...> wrote:
>
> Hi Esben,
>
> This is because of the new mesh format work: the mesh module currently does not build, you need to disable it in CMake (set K3D_BUILD_MESH_MODULE to OFF). We are gradually converting the plugins, and moving them to the polyhedra module.
>

I forgot about that.

Should that be changed in SVN?
We should really have a policy of SVN always being in a build-able state.

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development

Re: Expected Unqualified ID Before Token

by Timothy M. Shead :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Daniel Scott Matthews wrote:

> On Mon, Jun 22, 2009 at 7:43 AM, Bart Janssens
> <bart.janssens@...> wrote:
>> Hi Esben,
>>
>> This is because of the new mesh format work: the mesh module currently does not build, you need to disable it in CMake (set K3D_BUILD_MESH_MODULE to OFF). We are gradually converting the plugins, and moving them to the polyhedra module.
>>
>
> I forgot about that.
>
> Should that be changed in SVN?
> We should really have a policy of SVN always being in a build-able state.
Actually, this is another great argument for DVCSes ... enforcing a
"don't break the build" policy on commits is good most of the time, but
for large problems like hint mapping and the primitives, it forces one
person to do all the work in their private sandbox.  In an ideal world,
we'd have a "never break" repository for casual developers, and e.g.
Bart and I would have some shared repository between the two of us for
hint refactoring.

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



------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
K3d-development mailing list
K3d-development@...
https://lists.sourceforge.net/lists/listinfo/k3d-development