Comments (2)
fixed.
Original comment by [email protected]
on 4 Apr 2012 at 1:20
- Changed state: Fixed
from poly2tri.
I am getting problem with ./waf build
Waf: Entering directory `/home/divya/Downloads/poly2tri-26242d0aa7b8/build'
building
[1/7] cxx: testbed/main.cc -> build/testbed/main.cc.0.o
../testbed/main.cc: In function ‘void Init()’:
../testbed/main.cc:234:69: error: ‘GLFW_WINDOW’ was not declared in this
scope
if (glfwOpenWindow(window_width, window_height, 5, 6, 5, 0, 0, 0, GLFW_WINDOW) != GL_TRUE)
^
../testbed/main.cc:234:80: error: ‘glfwOpenWindow’ was not declared in this
scope
if (glfwOpenWindow(window_width, window_height, 5, 6, 5, 0, 0, 0, GLFW_WINDOW) != GL_TRUE)
^
../testbed/main.cc:237:38: error: cannot convert ‘const char*’ to
‘GLFWwindow*’ for argument ‘1’ to ‘void
glfwSetWindowTitle(GLFWwindow*, const char*)’
glfwSetWindowTitle("Poly2Tri - C++");
^
../testbed/main.cc: In function ‘void MainLoop(double)’:
../testbed/main.cc:267:27: error: ‘GLFW_KEY_ESC’ was not declared in this
scope
running = !glfwGetKey(GLFW_KEY_ESC) && glfwGetWindowParam(GLFW_OPENED);
^
../testbed/main.cc:267:63: error: ‘GLFW_OPENED’ was not declared in this
scope
running = !glfwGetKey(GLFW_KEY_ESC) && glfwGetWindowParam(GLFW_OPENED);
^
../testbed/main.cc:267:74: error: ‘glfwGetWindowParam’ was not declared in
this scope
running = !glfwGetKey(GLFW_KEY_ESC) && glfwGetWindowParam(GLFW_OPENED);
^
../testbed/main.cc:269:33: error: invalid conversion from ‘int’ to
‘GLFWwindow*’ [-fpermissive]
if (glfwGetKey(GLFW_KEY_LEFT) == GLFW_PRESS)
^
../testbed/main.cc:269:33: error: too few arguments to function ‘int
glfwGetKey(GLFWwindow*, int)’
In file included from ../testbed/main.cc:33:0:
/home/divya/Downloads/glfw-3.1.1/include/GLFW/glfw3.h:2474:13: note: declared
here
GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
^
../testbed/main.cc:271:34: error: invalid conversion from ‘int’ to
‘GLFWwindow*’ [-fpermissive]
if (glfwGetKey(GLFW_KEY_RIGHT) == GLFW_PRESS)
^
../testbed/main.cc:271:34: error: too few arguments to function ‘int
glfwGetKey(GLFWwindow*, int)’
In file included from ../testbed/main.cc:33:0:
/home/divya/Downloads/glfw-3.1.1/include/GLFW/glfw3.h:2474:13: note: declared
here
GLFWAPI int glfwGetKey(GLFWwindow* window, int key);
^
../testbed/main.cc:284:21: error: too few arguments to function ‘void
glfwSwapBuffers(GLFWwindow*)’
glfwSwapBuffers();
^
In file included from ../testbed/main.cc:33:0:
/home/divya/Downloads/glfw-3.1.1/include/GLFW/glfw3.h:3204:14: note: declared
here
GLFWAPI void glfwSwapBuffers(GLFWwindow* window);
^
Waf: Leaving directory `/home/divya/Downloads/poly2tri-26242d0aa7b8/build'
Build failed
-> task failed (exit status 1):
{task 140065272976144: cxx main.cc -> main.cc.0.o}
['/usr/bin/g++', '-O3', '-ffast-math', '-DP2T', '../testbed/main.cc', '-c',
'-o', 'testbed/main.cc.0.o']
how to tackle this. Please help
Original comment by [email protected]
on 24 Jun 2015 at 12:45
from poly2tri.
Related Issues (20)
- CMake build script
- Inconsistent behavior with holes that share a point HOT 17
- add typedef for "double"
- add typedef for std::vector<Point*>, std::vector<Triangle*> and other containers
- Triangulate crashes in sweep.cc:703 HOT 3
- java version compile error HOT 3
- Polygon.getHoles() missing HOT 5
- poly2tri crashes on a very simple geometry HOT 1
- crash with attached polygon HOT 2
- Crash when triangulating a polygon HOT 1
- crash with square polygon HOT 1
- Java source unbuildable in 1.7+
- Build failed when compliling with -we4715
- Java findbugs - nullcheck of value previously dereferenced HOT 1
- [java] Tessellation with hole error HOT 4
- Polygon with hole HOT 10
- [java] Missing triangle in non-constrained delaunay HOT 3
- Problem building library
- the EPSILON value is not exported in the python/cython version HOT 1
- Compilation fails with MSVC
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from poly2tri.