kedmegas / poly2tri

Automatically exported from code.google.com/p/poly2tri
Other
0 stars 0 forks source link

building fails on opensuse 12.3 #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Dear Sir, 
I tried to build poly2tri on opensuse 12.3.
here is the output:

ha@eur:~/Downloads/poly2tri> ./waf configure
  set_options
Setting top to                           : /home/ha/Downloads/poly2tri 
Setting out to                           : /home/ha/Downloads/poly2tri/build 
  calling the configuration
Checking for 'g++' (c++ compiler)        : ok 
'configure' finished successfully (0.062s)

ha@eur:~/Downloads/poly2tri> ./waf build
  set_options
Waf: Entering directory `/home/hasadi/Downloads/poly2tri/build'
  building
[1/7] cxx: poly2tri/common/shapes.cc -> build/poly2tri/common/shapes.cc.0.o
[2/7] cxx: poly2tri/sweep/cdt.cc -> build/poly2tri/sweep/cdt.cc.0.o
[3/7] cxx: poly2tri/sweep/advancing_front.cc -> 
build/poly2tri/sweep/advancing_front.cc.0.o
[4/7] cxx: poly2tri/sweep/sweep_context.cc -> 
build/poly2tri/sweep/sweep_context.cc.0.o
[5/7] cxx: poly2tri/sweep/sweep.cc -> build/poly2tri/sweep/sweep.cc.0.o
[6/7] cxx: testbed/main.cc -> build/testbed/main.cc.0.o
../testbed/main.cc:32:21: fatal error: GL/glfw.h: No such file or directory
compilation terminated.
Waf: Leaving directory `/home/hasadi/Downloads/poly2tri/build'
Build failed
 -> task failed (exit status 1): 
    {task 34169040: cxx main.cc -> main.cc.0.o}
['/usr/bin/g++', '-O3', '-ffast-math', '-DP2T', '../testbed/main.cc', '-c', 
'-o', 'testbed/main.cc.0.o']

Any suggestion would be appreciated. 

Thanks

Original issue reported on code.google.com by asadi.ho...@gmail.com on 1 Oct 2013 at 12:33

GoogleCodeExporter commented 9 years ago
Sorry for late answer but aren't working with c++ myself. But it looks like you 
just missed to download and include some third party lib.

http://glfw.sf.net

according to the readme file

Original comment by thahlen@gmail.com on 21 Oct 2013 at 4:10

GoogleCodeExporter commented 9 years ago
You need to install the package 'libglfw-devel' to compile the testbed.

I'm using openSUSE 12.3 and the poly2tri code itself (not the testbed) compiles 
just fine with no external dependencies.

Original comment by buckyballreaction on 25 Oct 2013 at 9:28

GoogleCodeExporter commented 9 years ago
closed since there is nothing to fix

Original comment by thahlen@gmail.com on 27 Nov 2013 at 2:04