farindk / libvideogfx

library for rapid development of video processing, computer vision, and computer graphics algorithms
GNU Lesser General Public License v2.1
14 stars 15 forks source link

Fixes for building on OSX #1

Closed swederik closed 8 years ago

swederik commented 8 years ago

Hi Dirk,

I managed to get the ar tool on OSX to build this by adding a dummy file to the containers folder. I haven't tested these changes on Linux though, so you might want to try that before merging the PR.

I found this tip in another repository:

"Some systems, reportedly OpenBSD and Mac OS X, refuse to create libraries without any object files. You might get an error like:

ar cru .libs/libgl.a
ar: no archive members specified

Compiling this file, and adding its object file to the library, will prevent the library from being empty."

farindk commented 8 years ago

Hi Erik,

thanks for the patch. I've commented a few things that I think are not correct. Please check, change the PR, so that I can merge it.

Dirk