How Do I Run ./configure with MinGW?

前端 未结 3 1726
抹茶落季
抹茶落季 2021-02-02 13:05

I am looking at this webpage

http://mathieu.carbou.free.fr/wiki/index.php?title=Glib_for_Win32

And it tells me I need to run the following commands.



        
3条回答
  •  悲哀的现实
    2021-02-02 13:17

    On Windows there is 2 ways to achieve this if you have MinGW installed you also have to install msys for MinGW some MinGW installations already come pre-installed with msys to check go to your MinGW folder and see if you have a msys folder inside there.

    Second make sure the path inside the Environment Variables of your windows is setup to MinGW and msys like so


    C:\MinGW\bin;C:\MinGW\msys\1.0\bin


    may look different on your system depending where you installed it.

    Now you can simply click on msys.bat inside msys\1.0 folder which will open up a shell where you can navigate with ls and dir but you won't be able to leave the msys folder no matter what.

    But now you have the ability to run commands like sh inside your Command Prompt which is all you need.

    Click on your Windows Start button -> Run -> cmd.exe


    now in Command Prompt just run sh command and it should show up as sh-3.1$


    now you can navigate to your project folder and run the command

    ./configure
    make
    make install
    

    and that should completely build any of your pojects.

提交回复
热议问题