Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Can't compile r318

  
  1. #1
    DK.NET Owner Chr!x's Avatar
    Join Date
    Feb 2010
    Location
    France
    Posts
    46

    Default Can't compile r318

    Hi.

    Just for your information, I can't compile last revision. Here is some problems :

    Code:
    C:\Documents and Settings\Propriétaire\Bureau\keeperfx\keeperfx>mingw32-make ALL
    'Building file: src/main.cpp'
    g++ -I"directx/include" -I"sdl/include" -c -fmessage-length=0 -Wall -Wno-sign-compare -Wno-unused-parameter -Wno-strict-aliasing -MM
    D -MP -MF"obj/main.d" -MT"obj/main.d"  -march=pentium -O3 -DBFDEBUG_LEVEL=0   -o"obj/main.o" "src/main.cpp"
    In file included from src/version.h:31:0,
                     from src/globals.h:46,
                     from src/keeperfx.hpp:22,
                     from src/main.cpp:8:
    src/../obj/ver_defs.h:1:1: warning: character constant too long for its type
    src/../obj/ver_defs.h:2:1: warning: character constant too long for its type
    src/../obj/ver_defs.h:3:1: warning: character constant too long for its type
    src/../obj/ver_defs.h:4:1: warning: character constant too long for its type
    src/../obj/ver_defs.h:5:1: warning: character constant too long for its type
    src/../obj/ver_defs.h:1:1: error: expected unqualified-id before '\x20202030'
    In file included from src/keeperfx.hpp:22:0,
                     from src/main.cpp:8:
    src/globals.h:147:16: error: expected declaration before end of line
    mingw32-make: *** [obj/main.o] Error 1

  2. #2
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Can't compile r318

    what do you get when you type "echo --version" from the console?

  3. #3
    DK.NET Owner Chr!x's Avatar
    Join Date
    Feb 2010
    Location
    France
    Posts
    46

    Default Re: Can't compile r318

    Sorry for this dummy question, but which console ? Can you be more concrete ? Dos box ?

    Edit : Seems working fine with r319
    Last edited by Chr!x; February 22nd, 2011 at 19:28.

  4. #4
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Can't compile r318

    The same console you run mingw in.

    It's not really fixed. I just hidden the problem (again). It's annoying one.

  5. #5
    DK.NET Owner Chr!x's Avatar
    Join Date
    Feb 2010
    Location
    France
    Posts
    46

    Default Re: Can't compile r318

    Quote Originally Posted by mefistotelis View Post
    The same console you run mingw in.
    So, CMD => (console Dos).

    echo -- version display "--version". Not very surprising Pure DOS batching. Any other thing you want I test with r318 ? I still get separate sources in differente place than r319.

  6. #6
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Can't compile r318

    Quote Originally Posted by Chr!x View Post
    So, CMD => (console Dos).
    I don't really follow you. But it doesn't matter.

    Quote Originally Posted by Chr!x View Post
    echo -- version display "--version". Not very surprising
    Actually, it is. With MinGW installed, you should have 'echo.exe' in PATH variable. And this one would display its version.

    Please check if you have echo.exe in MinGW or MSYS (MSYS is usually installed with MinGW, in same folder, just deeper).

    I think I'll have to prepare a series of dummy Makefile files for you to test.

  7. #7
    DK.NET Owner Chr!x's Avatar
    Join Date
    Feb 2010
    Location
    France
    Posts
    46

    Default Re: Can't compile r318

    May be you wants "mingw32-make --version" result ?

    Code:
    C:\Documents and Settings\Propriétaire\Bureau\keeperfx319\keeperfx>mingw32-make --version
    GNU Make 3.82
    Built for i386-pc-mingw32
    Copyright (C) 2010  Free Software Foundation, Inc.
    License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This is free software: you are free to change and redistribute it.
    There is NO WARRANTY, to the extent permitted by law.


    ---------- Post added at 21:01 ---------- Previous post was at 20:59 ----------

    Quote Originally Posted by mefistotelis View Post
    I think I'll have to prepare a series of dummy Makefile files for you to test.
    I'm your man You still have my email address ?

  8. #8
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Can't compile r318

    I'm having problems finding it.

    Have you checked if there's 'echo.exe' in MinGW subfolders? Or anywhere else?

  9. #9
    DK.NET Owner Chr!x's Avatar
    Join Date
    Feb 2010
    Location
    France
    Posts
    46

    Default Re: Can't compile r318

    Any file call echo.exe exist on my HDD. Sorry

    Please, wait a minute, I'm reinstall mingw with last remote package + MSYS + MSYS toolkit... May be...

    Edit. Result : echo.Exe was include inside MSYS package. Now, here is what it said :

    Code:
    C:\MinGW\msys\1.0\bin>echo.exe --version
    echo (GNU coreutils) 5.97
    Copyright (C) 2006 Free Software Foundation, Inc.
    This is free software.  You may redistribute copies of it under the terms of
    the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
    There is NO WARRANTY, to the extent permitted by law.
    
    Written by FIXME unknown.
    Last edited by Chr!x; February 22nd, 2011 at 20:39.

  10. #10
    KeeperFX Author mefistotelis's Avatar
    Join Date
    Sep 2009
    Location
    Poland
    Posts
    1,242

    Default Re: Can't compile r318

    Try including it in PATH and compiling the problematic revision (r318).

    I hope this 'echo' will always work properly.

Similar Threads

  1. How to compile source code from SVN
    By LMjai in forum KeeperFX
    Replies: 11
    Last Post: May 29th, 2010, 22:08

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •