Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#ActualBitMaster

Posted 26 April 2013 - 01:17 AM

Exactly what do you need? You are speaking of needing DLLs but then you mix that in with mentioning Linux and MacOS. Concepts similar exists on both operating systems, but a DLL won't work on anything but Windows. You can probably cross-compile using gcc but I'm lacking experience here.
Are you certain you really need to compile it yourself? So far I have always been able to find a precompiled version of OpenCV for all platforms I needed it on.

Edit: Also, a couple of general pointers. Whenever possible use the same operating system to create a dynamic link library. Unless you know better, always use the exact same compiler and build settings you are using for the main program for the dynamic library.
There is no magic bullet on how to build a library. Any decent one will come with build instructions on how to build the library on the different platforms. It might be as simple as going into the right directory and calling 'make' or it might requires hours of configuration and dependency hunting.

#1BitMaster

Posted 26 April 2013 - 01:08 AM

Exactly what do you need? You are speaking of needing DLLs but then you mix that in with mentioning Linux and MacOS. Concepts similar exists on both operating systems, but a DLL won't work on anything but Windows. You can probably cross-compile using gcc but I'm lacking experience here.
Are you certain you really need to compile it yourself? So far I have always been able to find a precompiled version of OpenCV for all platforms I needed it on.

PARTNERS