Menu

precompiled libraries(libavcodec,libavformat)

killermood
2005-06-27
2012-09-26
  • killermood

    killermood - 2005-06-27

    Hello,

    are there precompiled libraries (libavcodec,libavformat) for Devcpp?

    Is there a simple way to import crossplatform projects
    from linux (with ./configures makefiles etc) to win with dev-cpp?

    Cheers

     
    • Anonymous

      Anonymous - 2005-06-27

      You can execute configure scripts mrom MSYS (a minimal shell provided by mingw.org. It is not distributed with Dev-C++ byt can be downloaded from www.mingw.org. MSYS can be made to work with the Dev-C++ MinGW installation, but you may be better off installing the full version from mingw.org

      Beware that not all Linux code will work with MinGW (especially if it makes OS calls, or uses functions such as fork() ), you may need to use Cygwin instead, since that is a full emulation and supports OS calls and the Linux process model.

      The make utility with Dev-C++ (from MinGW) is a native build of the GNU make, and will work with Linux make files so long as they do not include Linux specic commands that are not provided by MinGW.

      Dev-C++ projects can be set to use external makefiles. But doing so means renders Dev-C++ little more that a text editor (the project settings and files are ignored, and projects can only be managed through the makefile). You can execute makefiles from the command line in the normal manor, but you must set the Dev-C++ binary directory in the PATH environment variable.

      Clifford

       
    • Wayne Keen

      Wayne Keen - 2005-06-27

      I keep a separate (from Dev) installation of MinGW and MSYS for doing things like library builds that require some variant of the usual drill of

      ./configure
      make
      make install

      I either manually move the results to my Dev directory, or play around with the above commands to get the build to go in my Dev directories.

      I also use Cygwin on every machine. If you count, most machines I work on probably have 4 or 5 different versions of GCC on them, notincluding those machines where I have to play with bootstrapping newer releases of GCC.

      Wayne

       
    • Anonymous

      Anonymous - 2005-06-27

      ... to answer your first question - libavcodec and libavformat are part of the ffmpeg project. The source can be obtained from http://ffmpeg.sourceforge.net/download.php, section 6.3 of the documentation at http://ffmpeg.sourceforge.net/ffmpeg-doc.html explains how to build a native Windows version using MSYS and MinGW.

      I have had MSYS work OK with the Dev-C++ distributed MinGW, but you may want a separate installation.

      The MinGW built libraries will work with Dev-C++.

      Clifford

       
    • killermood

      killermood - 2005-06-27

      thanx guys - great answer!

      after a long research I already found a way:
      http://www.salyens.com/mingw/
      exactly what you suggested here now ;-)

      One Important thing (if someone else jumps into this thread):
      -Best way is to use the libs static.

      maybe you have to
      reimp c filename.lib
      http://nexe.gamedev.net/directKnowledge/default.asp?p=DirectX%20Development%20Using%20DevCpp

      in my case i just linked the two lib files...
      ..and WOW it works!

      Happy for now ;-)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.