zestyping / openpixelcontrol

A simple stream protocol for controlling arrays of RGB lights.
http://openpixelcontrol.org/
353 stars 103 forks source link

Add -lm and place linked libraries after object on gcc cmdline. #15

Closed ferrouswheel closed 10 years ago

ferrouswheel commented 10 years ago

On Ubuntu 13.04 with gcc 4.7.3 it requires libraries to be specified after objects on the command line. Otherwise you'll get lots of undefined references.

Also added missing math library.

zestyping commented 10 years ago

Thanks for catching and fixing this!

ferrouswheel commented 10 years ago

No worries - thanks for making the gl_server, it's making it a lot easier to visualise what my art project will look like! :sparkles:

zestyping commented 10 years ago

Thanks! I'd love to see it!

We have a discussion group at https://groups.google.com/forum/#!forum/openpixelcontrol for talking about OPC and related projects, if you'd like to join.

On Fri, Oct 18, 2013 at 6:26 PM, ferrouswheel notifications@github.comwrote:

No worries - thanks for making the gl_server, it's making it a lot easier to visualise what my art project will look like! [image: :sparkles:]

— Reply to this email directly or view it on GitHubhttps://github.com/zestyping/openpixelcontrol/pull/15#issuecomment-26640495 .