Trying to build the in osx

42 views
Skip to first unread message

Ardo Avancena

unread,
Feb 6, 2014, 6:58:41 PM2/6/14
to poly...@googlegroups.com
Whenever I try to run the ./waf build

I get the error :

ld: library not found for -lOpenGL
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Waf: Leaving directory `/Users/bavancena/Documents/externalLibs/poly2tri/build'
Build failed
 -> task failed (exit status 1):
    {task 4427398032: cxxprogram shapes.cc.0.o,cdt.cc.0.o,advancing_front.cc.0.o,sweep_context.cc.0.o,sweep.cc.0.o,main.cc.0.o -> p2t}
['/usr/bin/g++', 'poly2tri/common/shapes.cc.0.o', 'poly2tri/sweep/cdt.cc.0.o', 'poly2tri/sweep/advancing_front.cc.0.o', 'poly2tri/sweep/sweep_context.cc.0.o', 'poly2tri/sweep/sweep.cc.0.o', 'testbed/main.cc.0.o', '-o', '/Users/bavancena/Documents/externalLibs/poly2tri/build/p2t', '-lglfw', '-lOpenGL']

Has anyone encountered this?

Thanks!
Reply all
Reply to author
Forward
0 new messages