Trying to compile Asylia via its makefile, with MinGW… Wrong compiler? How to fix?












0














I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler?



It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are a Unix / Bash thing...



process_begin: CreateProcess(NULL, basename C:/Users/Andy/Desktop/Asylia-master, ...) failed.
'[' is not recognized as an internal or external command,


Do I need Cygwin's to run that?



Or some easy edits that I don't know, so MinGW can run the makefile properly?





Oh... MinGW hasn't been updated in years... If that's the issue, I guess my only solution is to install Cygwin's gcc-g++, and then figure out how to compile things with that?










share|improve this question
























  • Have you tried mingw-w64.org ? It is updated regularly
    – matzeri
    Dec 21 '18 at 11:05










  • @matzeri - Oh! No, I haven't. Thanks for the link. I'll see how it goes.
    – Malandy
    Dec 21 '18 at 13:34










  • @matzeri - Uhh... How do I run a makefile with it?
    – Malandy
    Dec 21 '18 at 17:10










  • you should install the tools or msys2.org or mingw-w64.org/doku.php/download/mingw-builds.
    – matzeri
    Dec 21 '18 at 22:25










  • @matzeri - I got the installer from Sourceforge, and ran it. Now what?
    – Malandy
    Dec 22 '18 at 0:32
















0














I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler?



It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are a Unix / Bash thing...



process_begin: CreateProcess(NULL, basename C:/Users/Andy/Desktop/Asylia-master, ...) failed.
'[' is not recognized as an internal or external command,


Do I need Cygwin's to run that?



Or some easy edits that I don't know, so MinGW can run the makefile properly?





Oh... MinGW hasn't been updated in years... If that's the issue, I guess my only solution is to install Cygwin's gcc-g++, and then figure out how to compile things with that?










share|improve this question
























  • Have you tried mingw-w64.org ? It is updated regularly
    – matzeri
    Dec 21 '18 at 11:05










  • @matzeri - Oh! No, I haven't. Thanks for the link. I'll see how it goes.
    – Malandy
    Dec 21 '18 at 13:34










  • @matzeri - Uhh... How do I run a makefile with it?
    – Malandy
    Dec 21 '18 at 17:10










  • you should install the tools or msys2.org or mingw-w64.org/doku.php/download/mingw-builds.
    – matzeri
    Dec 21 '18 at 22:25










  • @matzeri - I got the installer from Sourceforge, and ran it. Now what?
    – Malandy
    Dec 22 '18 at 0:32














0












0








0







I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler?



It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are a Unix / Bash thing...



process_begin: CreateProcess(NULL, basename C:/Users/Andy/Desktop/Asylia-master, ...) failed.
'[' is not recognized as an internal or external command,


Do I need Cygwin's to run that?



Or some easy edits that I don't know, so MinGW can run the makefile properly?





Oh... MinGW hasn't been updated in years... If that's the issue, I guess my only solution is to install Cygwin's gcc-g++, and then figure out how to compile things with that?










share|improve this question















I'm trying to compile Asylia via its makefile, with MinGW... Am I using the wrong compiler?



It's seems MinGW is getting stuck on the square brackets in "$(BUILD):"... And square brackets in MinGW are a Unix / Bash thing...



process_begin: CreateProcess(NULL, basename C:/Users/Andy/Desktop/Asylia-master, ...) failed.
'[' is not recognized as an internal or external command,


Do I need Cygwin's to run that?



Or some easy edits that I don't know, so MinGW can run the makefile properly?





Oh... MinGW hasn't been updated in years... If that's the issue, I guess my only solution is to install Cygwin's gcc-g++, and then figure out how to compile things with that?







windows cygwin compile mingw makefile






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 20 '18 at 21:11

























asked Dec 20 '18 at 21:01









Malandy

1098




1098












  • Have you tried mingw-w64.org ? It is updated regularly
    – matzeri
    Dec 21 '18 at 11:05










  • @matzeri - Oh! No, I haven't. Thanks for the link. I'll see how it goes.
    – Malandy
    Dec 21 '18 at 13:34










  • @matzeri - Uhh... How do I run a makefile with it?
    – Malandy
    Dec 21 '18 at 17:10










  • you should install the tools or msys2.org or mingw-w64.org/doku.php/download/mingw-builds.
    – matzeri
    Dec 21 '18 at 22:25










  • @matzeri - I got the installer from Sourceforge, and ran it. Now what?
    – Malandy
    Dec 22 '18 at 0:32


















  • Have you tried mingw-w64.org ? It is updated regularly
    – matzeri
    Dec 21 '18 at 11:05










  • @matzeri - Oh! No, I haven't. Thanks for the link. I'll see how it goes.
    – Malandy
    Dec 21 '18 at 13:34










  • @matzeri - Uhh... How do I run a makefile with it?
    – Malandy
    Dec 21 '18 at 17:10










  • you should install the tools or msys2.org or mingw-w64.org/doku.php/download/mingw-builds.
    – matzeri
    Dec 21 '18 at 22:25










  • @matzeri - I got the installer from Sourceforge, and ran it. Now what?
    – Malandy
    Dec 22 '18 at 0:32
















Have you tried mingw-w64.org ? It is updated regularly
– matzeri
Dec 21 '18 at 11:05




Have you tried mingw-w64.org ? It is updated regularly
– matzeri
Dec 21 '18 at 11:05












@matzeri - Oh! No, I haven't. Thanks for the link. I'll see how it goes.
– Malandy
Dec 21 '18 at 13:34




@matzeri - Oh! No, I haven't. Thanks for the link. I'll see how it goes.
– Malandy
Dec 21 '18 at 13:34












@matzeri - Uhh... How do I run a makefile with it?
– Malandy
Dec 21 '18 at 17:10




@matzeri - Uhh... How do I run a makefile with it?
– Malandy
Dec 21 '18 at 17:10












you should install the tools or msys2.org or mingw-w64.org/doku.php/download/mingw-builds.
– matzeri
Dec 21 '18 at 22:25




you should install the tools or msys2.org or mingw-w64.org/doku.php/download/mingw-builds.
– matzeri
Dec 21 '18 at 22:25












@matzeri - I got the installer from Sourceforge, and ran it. Now what?
– Malandy
Dec 22 '18 at 0:32




@matzeri - I got the installer from Sourceforge, and ran it. Now what?
– Malandy
Dec 22 '18 at 0:32










1 Answer
1






active

oldest

votes


















1














On Cygwin 64 bit.



$ wget https://github.com/Quent42340/Asylia/archive/master.zip
$ unzip master.zip
Archive: master.zip
dcef5e0bc1d5e8de891a9f6b5a538cd7c1a70283
creating: Asylia-master/
...
creating: Asylia-master/wiki/
finishing deferred symbolic links:
Asylia-master/droid/assets/audio -> /home/quentin/Projects/Asylia/audio
Asylia-master/droid/assets/data -> /home/quentin/Projects/Asylia/data
Asylia-master/droid/assets/fonts -> /home/quentin/Projects/Asylia/fonts
Asylia-master/droid/assets/graphics -> /home/quentin/Projects/Asylia/graphics


the last four are broken links as they should not be absolute links but relative one



  Asylia-master/audio == /home/quentin/Projects/Asylia/audio
Asylia-master/data == /home/quentin/Projects/Asylia/data
Asylia-master/fonts == /home/quentin/Projects/Asylia/fonts
Asylia-master/graphics == /home/quentin/Projects/Asylia/graphics


In any case we can also ignore the issue for the build



$ make
...
built ... Asylia-master
$ ls -lrt
total 49M
...
-rwxrwxr-x+ 1 Marco Kein 38M Dec 27 22:39 Asylia-master.exe


To run from an Xterm



$ ./Asylia-master.exe


The package is directly depending only from SDL2 shared libraries



$ cygcheck ./Asylia-master.exe | grep "^  D"
D:cygwin64bincygwin1.dll
D:cygwin64bincygSDL2-2-0-0.dll
D:cygwin64bincygSDL2_image-2-0-0.dll
D:cygwin64bincygSDL2_mixer-2-0-0.dll
D:cygwin64bincygSDL2_ttf-2-0-0.dll


So the following packages are needed



$ cygcheck -cd |grep SDL2
libSDL2-devel 2.0.7-1
libSDL2_2.0_0 2.0.7-1
libSDL2_image-devel 2.0.2-1
libSDL2_image2.0_0 2.0.2-1
libSDL2_mixer-devel 2.0.2-1
libSDL2_mixer2.0_0 2.0.2-1
libSDL2_ttf-devel 2.0.14-1
libSDL2_ttf2.0_0 2.0.14-1


plus of course cygwin-devel,make and the compiler



gcc-core                                7.3.0-3
gcc-g++ 7.3.0-3





share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386439%2ftrying-to-compile-asylia-via-its-makefile-with-mingw-wrong-compiler-how-to%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    On Cygwin 64 bit.



    $ wget https://github.com/Quent42340/Asylia/archive/master.zip
    $ unzip master.zip
    Archive: master.zip
    dcef5e0bc1d5e8de891a9f6b5a538cd7c1a70283
    creating: Asylia-master/
    ...
    creating: Asylia-master/wiki/
    finishing deferred symbolic links:
    Asylia-master/droid/assets/audio -> /home/quentin/Projects/Asylia/audio
    Asylia-master/droid/assets/data -> /home/quentin/Projects/Asylia/data
    Asylia-master/droid/assets/fonts -> /home/quentin/Projects/Asylia/fonts
    Asylia-master/droid/assets/graphics -> /home/quentin/Projects/Asylia/graphics


    the last four are broken links as they should not be absolute links but relative one



      Asylia-master/audio == /home/quentin/Projects/Asylia/audio
    Asylia-master/data == /home/quentin/Projects/Asylia/data
    Asylia-master/fonts == /home/quentin/Projects/Asylia/fonts
    Asylia-master/graphics == /home/quentin/Projects/Asylia/graphics


    In any case we can also ignore the issue for the build



    $ make
    ...
    built ... Asylia-master
    $ ls -lrt
    total 49M
    ...
    -rwxrwxr-x+ 1 Marco Kein 38M Dec 27 22:39 Asylia-master.exe


    To run from an Xterm



    $ ./Asylia-master.exe


    The package is directly depending only from SDL2 shared libraries



    $ cygcheck ./Asylia-master.exe | grep "^  D"
    D:cygwin64bincygwin1.dll
    D:cygwin64bincygSDL2-2-0-0.dll
    D:cygwin64bincygSDL2_image-2-0-0.dll
    D:cygwin64bincygSDL2_mixer-2-0-0.dll
    D:cygwin64bincygSDL2_ttf-2-0-0.dll


    So the following packages are needed



    $ cygcheck -cd |grep SDL2
    libSDL2-devel 2.0.7-1
    libSDL2_2.0_0 2.0.7-1
    libSDL2_image-devel 2.0.2-1
    libSDL2_image2.0_0 2.0.2-1
    libSDL2_mixer-devel 2.0.2-1
    libSDL2_mixer2.0_0 2.0.2-1
    libSDL2_ttf-devel 2.0.14-1
    libSDL2_ttf2.0_0 2.0.14-1


    plus of course cygwin-devel,make and the compiler



    gcc-core                                7.3.0-3
    gcc-g++ 7.3.0-3





    share|improve this answer


























      1














      On Cygwin 64 bit.



      $ wget https://github.com/Quent42340/Asylia/archive/master.zip
      $ unzip master.zip
      Archive: master.zip
      dcef5e0bc1d5e8de891a9f6b5a538cd7c1a70283
      creating: Asylia-master/
      ...
      creating: Asylia-master/wiki/
      finishing deferred symbolic links:
      Asylia-master/droid/assets/audio -> /home/quentin/Projects/Asylia/audio
      Asylia-master/droid/assets/data -> /home/quentin/Projects/Asylia/data
      Asylia-master/droid/assets/fonts -> /home/quentin/Projects/Asylia/fonts
      Asylia-master/droid/assets/graphics -> /home/quentin/Projects/Asylia/graphics


      the last four are broken links as they should not be absolute links but relative one



        Asylia-master/audio == /home/quentin/Projects/Asylia/audio
      Asylia-master/data == /home/quentin/Projects/Asylia/data
      Asylia-master/fonts == /home/quentin/Projects/Asylia/fonts
      Asylia-master/graphics == /home/quentin/Projects/Asylia/graphics


      In any case we can also ignore the issue for the build



      $ make
      ...
      built ... Asylia-master
      $ ls -lrt
      total 49M
      ...
      -rwxrwxr-x+ 1 Marco Kein 38M Dec 27 22:39 Asylia-master.exe


      To run from an Xterm



      $ ./Asylia-master.exe


      The package is directly depending only from SDL2 shared libraries



      $ cygcheck ./Asylia-master.exe | grep "^  D"
      D:cygwin64bincygwin1.dll
      D:cygwin64bincygSDL2-2-0-0.dll
      D:cygwin64bincygSDL2_image-2-0-0.dll
      D:cygwin64bincygSDL2_mixer-2-0-0.dll
      D:cygwin64bincygSDL2_ttf-2-0-0.dll


      So the following packages are needed



      $ cygcheck -cd |grep SDL2
      libSDL2-devel 2.0.7-1
      libSDL2_2.0_0 2.0.7-1
      libSDL2_image-devel 2.0.2-1
      libSDL2_image2.0_0 2.0.2-1
      libSDL2_mixer-devel 2.0.2-1
      libSDL2_mixer2.0_0 2.0.2-1
      libSDL2_ttf-devel 2.0.14-1
      libSDL2_ttf2.0_0 2.0.14-1


      plus of course cygwin-devel,make and the compiler



      gcc-core                                7.3.0-3
      gcc-g++ 7.3.0-3





      share|improve this answer
























        1












        1








        1






        On Cygwin 64 bit.



        $ wget https://github.com/Quent42340/Asylia/archive/master.zip
        $ unzip master.zip
        Archive: master.zip
        dcef5e0bc1d5e8de891a9f6b5a538cd7c1a70283
        creating: Asylia-master/
        ...
        creating: Asylia-master/wiki/
        finishing deferred symbolic links:
        Asylia-master/droid/assets/audio -> /home/quentin/Projects/Asylia/audio
        Asylia-master/droid/assets/data -> /home/quentin/Projects/Asylia/data
        Asylia-master/droid/assets/fonts -> /home/quentin/Projects/Asylia/fonts
        Asylia-master/droid/assets/graphics -> /home/quentin/Projects/Asylia/graphics


        the last four are broken links as they should not be absolute links but relative one



          Asylia-master/audio == /home/quentin/Projects/Asylia/audio
        Asylia-master/data == /home/quentin/Projects/Asylia/data
        Asylia-master/fonts == /home/quentin/Projects/Asylia/fonts
        Asylia-master/graphics == /home/quentin/Projects/Asylia/graphics


        In any case we can also ignore the issue for the build



        $ make
        ...
        built ... Asylia-master
        $ ls -lrt
        total 49M
        ...
        -rwxrwxr-x+ 1 Marco Kein 38M Dec 27 22:39 Asylia-master.exe


        To run from an Xterm



        $ ./Asylia-master.exe


        The package is directly depending only from SDL2 shared libraries



        $ cygcheck ./Asylia-master.exe | grep "^  D"
        D:cygwin64bincygwin1.dll
        D:cygwin64bincygSDL2-2-0-0.dll
        D:cygwin64bincygSDL2_image-2-0-0.dll
        D:cygwin64bincygSDL2_mixer-2-0-0.dll
        D:cygwin64bincygSDL2_ttf-2-0-0.dll


        So the following packages are needed



        $ cygcheck -cd |grep SDL2
        libSDL2-devel 2.0.7-1
        libSDL2_2.0_0 2.0.7-1
        libSDL2_image-devel 2.0.2-1
        libSDL2_image2.0_0 2.0.2-1
        libSDL2_mixer-devel 2.0.2-1
        libSDL2_mixer2.0_0 2.0.2-1
        libSDL2_ttf-devel 2.0.14-1
        libSDL2_ttf2.0_0 2.0.14-1


        plus of course cygwin-devel,make and the compiler



        gcc-core                                7.3.0-3
        gcc-g++ 7.3.0-3





        share|improve this answer












        On Cygwin 64 bit.



        $ wget https://github.com/Quent42340/Asylia/archive/master.zip
        $ unzip master.zip
        Archive: master.zip
        dcef5e0bc1d5e8de891a9f6b5a538cd7c1a70283
        creating: Asylia-master/
        ...
        creating: Asylia-master/wiki/
        finishing deferred symbolic links:
        Asylia-master/droid/assets/audio -> /home/quentin/Projects/Asylia/audio
        Asylia-master/droid/assets/data -> /home/quentin/Projects/Asylia/data
        Asylia-master/droid/assets/fonts -> /home/quentin/Projects/Asylia/fonts
        Asylia-master/droid/assets/graphics -> /home/quentin/Projects/Asylia/graphics


        the last four are broken links as they should not be absolute links but relative one



          Asylia-master/audio == /home/quentin/Projects/Asylia/audio
        Asylia-master/data == /home/quentin/Projects/Asylia/data
        Asylia-master/fonts == /home/quentin/Projects/Asylia/fonts
        Asylia-master/graphics == /home/quentin/Projects/Asylia/graphics


        In any case we can also ignore the issue for the build



        $ make
        ...
        built ... Asylia-master
        $ ls -lrt
        total 49M
        ...
        -rwxrwxr-x+ 1 Marco Kein 38M Dec 27 22:39 Asylia-master.exe


        To run from an Xterm



        $ ./Asylia-master.exe


        The package is directly depending only from SDL2 shared libraries



        $ cygcheck ./Asylia-master.exe | grep "^  D"
        D:cygwin64bincygwin1.dll
        D:cygwin64bincygSDL2-2-0-0.dll
        D:cygwin64bincygSDL2_image-2-0-0.dll
        D:cygwin64bincygSDL2_mixer-2-0-0.dll
        D:cygwin64bincygSDL2_ttf-2-0-0.dll


        So the following packages are needed



        $ cygcheck -cd |grep SDL2
        libSDL2-devel 2.0.7-1
        libSDL2_2.0_0 2.0.7-1
        libSDL2_image-devel 2.0.2-1
        libSDL2_image2.0_0 2.0.2-1
        libSDL2_mixer-devel 2.0.2-1
        libSDL2_mixer2.0_0 2.0.2-1
        libSDL2_ttf-devel 2.0.14-1
        libSDL2_ttf2.0_0 2.0.14-1


        plus of course cygwin-devel,make and the compiler



        gcc-core                                7.3.0-3
        gcc-g++ 7.3.0-3






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 27 '18 at 21:58









        matzeri

        1,269156




        1,269156






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1386439%2ftrying-to-compile-asylia-via-its-makefile-with-mingw-wrong-compiler-how-to%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Mouse cursor on multiple screens with different PPI

            Agildo Ribeiro

            Sometime when accessing a menu: “Ubuntu 16.04 has experienced an internal error”