Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

developedpatch.cpp:244:28: error: ‘_boundary_edges’ was not declared in this scope #3

Closed
brothermechanic opened this issue Nov 9, 2018 · 3 comments

Comments

@brothermechanic
Copy link

Hello
I want to get Freeship on my Gentoo Linux ~amd64 qt5 kde5 - but cant to build it.
And i found your project, it's very cool that you port it to qt5!
but i can't build it too
This is build log

developedpatch.cpp: In member function ‘virtual void ShipCAD::DevelopedPatch::draw(ShipCAD::Viewport&, ShipCAD::LineShader*)’:
developedpatch.cpp:244:28: error: ‘_boundary_edges’ was not declared in this scope
         for (size_t i=0; i<_boundary_edges.size(); ++i) {
                            ^~~~~~~~~~~~~~~
developedpatch.cpp:244:28: note: suggested alternative: ‘_boundaryEdges’
         for (size_t i=0; i<_boundary_edges.size(); ++i) {
                            ^~~~~~~~~~~~~~~
                            _boundaryEdges
developedpatch.cpp:248:35: error: ‘find_point’ was not declared in this scope
             patchpt_iter index1 = find_point(_points.begin(),
                                   ^~~~~~~~~~
developedpatch.cpp:248:35: note: suggested alternative: ‘midPoint’
             patchpt_iter index1 = find_point(_points.begin(),
                                   ^~~~~~~~~~
                                   midPoint
developedpatch.cpp:253:17: error: ‘vertices’ was not declared in this scope
                 vertices << getPoint(index1 - _points.begin());
                 ^~~~~~~~
developedpatch.cpp:253:17: note: suggested alternative: ‘_vertices1’
                 vertices << getPoint(index1 - _points.begin());
                 ^~~~~~~~
                 _vertices1
developedpatch.cpp:261:33: error: ‘vertices’ was not declared in this scope
         lineshader->renderLines(vertices, edgeColor);
                                 ^~~~~~~~
developedpatch.cpp:261:33: note: suggested alternative: ‘_vertices1’
         lineshader->renderLines(vertices, edgeColor);
                                 ^~~~~~~~
                                 _vertices1
developedpatch.cpp:261:43: error: ‘edgeColor’ was not declared in this scope
         lineshader->renderLines(vertices, edgeColor);
                                           ^~~~~~~~~
developedpatch.cpp:261:43: note: suggested alternative: ‘QColor’
         lineshader->renderLines(vertices, edgeColor);
                                           ^~~~~~~~~
                                           QColor
developedpatch.cpp:267:9: error: ‘vertices’ was not declared in this scope
         vertices.clear();
         ^~~~~~~~
developedpatch.cpp:267:9: note: suggested alternative: ‘_vertices1’
         vertices.clear();
         ^~~~~~~~
         _vertices1
developedpatch.cpp:282:39: error: ‘find_point’ was not declared in this scope
                 patchpt_iter index1 = find_point(_points.begin(),
                                       ^~~~~~~~~~
developedpatch.cpp:282:39: note: suggested alternative: ‘midPoint’
                 patchpt_iter index1 = find_point(_points.begin(),
                                       ^~~~~~~~~~
                                       midPoint
make[1]: *** [Makefile:1752: developedpatch.o] Error 1

This is full log
https://paste.pound-python.org/show/JbpAfV2vWsmRUwHGjOzD/
Hope, you can help me.
Thank you!

@gpgreen
Copy link
Owner

gpgreen commented Nov 9, 2018

Thanks for letting me know, I'll take a look in this weekend.

@brothermechanic
Copy link
Author

Oh, great!)

@gpgreen
Copy link
Owner

gpgreen commented Nov 10, 2018

It builds and runs on my Ubuntu 18.04 system. Once again thanks for trying it out.

@gpgreen gpgreen closed this as completed Nov 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants