User Tag List

Page 4 of 6 FirstFirst ... 2 3 4 5 6 LastLast
Results 31 to 40 of 59

Thread: Building on Mac and Linux

  1. #31
    Keese
    ZC Developer

    Join Date
    Jan 2007
    Age
    34
    Posts
    52
    Mentioned
    27 Post(s)
    Tagged
    1 Thread(s)
    vBActivity - Stats
    Points
    781
    Level
    9
    vBActivity - Bars
    Lv. Percent
    80.58%
    Quote Originally Posted by Gleeok View Post
    @ZoriaRPG - ZC has always had the current dev branch as main in the past; we're just used it I guess. For everyone else bitching about it during the holiday season remember that it's the holidays. Please stop bitching about it. Just swapping A<-->B around in the repo doesn't do anything. It needs some elbow grease as well. Thank you come again.
    It would've saved me the trouble of getting master working, only to realize that nobody's actually using it.

    I wasn't complaining. I was just responding to the "how could you possibly think nothing is happening?" sentiment, since the answer was pretty obvious from my perspective. Again, my point wasn't that you should do it, but that since it's so easy and you aren't doing it, I am obviously completely disconnected from everything and have no clue what's going on.

    You know, like I said in every post I made in this thread.

  2. #32
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.18%
    LINK : fatal error LNK1104: cannot open file 'legacy_stdio_definitions.lib'

    LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
    LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library

    LTCG in debug is crazy sauce.

    edit:

    2>loadpng.lib(regpng.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance
    2>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/LTCG' specification
    2>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library

    4>ffscript.ypp(596) : error C3861: 'snprintf': identifier not found




    Quote Originally Posted by Grayswandir View Post
    It would've saved me the trouble of getting master working, only to realize that nobody's actually using it.

    I wasn't complaining. I was just responding to the "how could you possibly think nothing is happening?" sentiment, since the answer was pretty obvious from my perspective. Again, my point wasn't that you should do it, but that since it's so easy and you aren't doing it, I am obviously completely disconnected from everything and have no clue what's going on.

    You know, like I said in every post I made in this thread.
    It's okay, nobody else knows what is going either.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  3. #33
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.48%
    I can fix the library issue but I don't remember the snprintf workaround. Do you know how you're fixing it in your project file?

  4. #34
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.18%
    Oh, I was just copypasta there. It's _snprintf for some reason.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  5. #35
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.18%
    Okay, on to the linker now.

    Fixing legacy_stdio_definitions.lib should also fix zcsoundlib.
    LINK : fatal error LNK1104: cannot open file 'Debug\zcsound.lib'

    Once these link I'll test this on MSVC 2010 as well. I can also do 2013 if you like, though maybe another day.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  6. #36
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.48%
    I've pushed a fix for the libraries. Can you to regenerate/rebuild?

    I'm guessing you will still get the _snprintf error though. Do you know how you fixed that?

    EDIT: Oh never mind looks like you already added the necessary #defines.

  7. #37
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.48%
    It's okay, nobody else knows what is going either.
    Let's get to the bottom of things then...

    My understanding (and correct me on any point that is wrong):
    1. The public releases of ZC lately (2.50.3, etc) have been based on the 2.50.x branch of the repository.
    2. Independently, Gleeok and others have been committing new features/fixes to the master branch of the repository.
    3. The master branch contains many valuable changes.
    4. The master branch also contains some changes that are considered by Saffith (and perhaps other) as "garbage."
    5. 2.50.x contains changes that have not been applied to master.

    So where does that leave us? Clearly 2.50.x (with cleanup which we're currently undertaking) must become the master branch, since that is the branch from which public binaries are actually being published. We cannot use the code from the current master branch for at least two reasons:
    - it is not in sync with the current publicly-released binaries;
    - some of the changes are "garbage" and need to be reconsidered.

    Hence the plan to make 2.50.x the new master, and to look through the current-master changes and incorporate those that are worthwhile, while avoiding the garbage. Once that is done, the repository will be in a healthy state and we can start e.g. discussing changing the Allegro version or pulling in some of ZoriaRPG and Grayswandir et al's changes.

    If I've gotten something wrong or you disagree with any of the above, by all means, please let me know.

  8. #38
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.18%
    Quote Originally Posted by DarkDragon View Post
    I've pushed a fix for the libraries. Can you to regenerate/rebuild?

    I'm guessing you will still get the _snprintf error though. Do you know how you fixed that?

    EDIT: Oh never mind looks like you already added the necessary #defines.
    I've got it compiled for 2008. I'll try 2010 and also update the source later with my changes. Congrats, you are the first person in the history of CMAKE to actually make some c++ nonsense work. (Not joking, it's always usually awful) Thanks!

    (Although the build times are too long,~I can just fix that later.)


    Quote Originally Posted by DarkDragon View Post
    Let's get to the bottom of things then...

    My understanding (and correct me on any point that is wrong):
    1. The public releases of ZC lately (2.50.3, etc) have been based on the 2.50.x branch of the repository.
    2. Independently, Gleeok and others have been committing new features/fixes to the master branch of the repository.
    3. The master branch contains many valuable changes.
    4. The master branch also contains some changes that are considered by Saffith (and perhaps other) as "garbage."
    5. 2.50.x contains changes that have not been applied to master.

    So where does that leave us? Clearly 2.50.x (with cleanup which we're currently undertaking) must become the master branch, since that is the branch from which public binaries are actually being published. We cannot use the code from the current master branch for at least two reasons:
    - it is not in sync with the current publicly-released binaries;
    - some of the changes are "garbage" and need to be reconsidered.

    Hence the plan to make 2.50.x the new master, and to look through the current-master changes and incorporate those that are worthwhile, while avoiding the garbage. Once that is done, the repository will be in a healthy state and we can start e.g. discussing changing the Allegro version or pulling in some of ZoriaRPG and Grayswandir et al's changes.

    If I've gotten something wrong or you disagree with any of the above, by all means, please let me know.
    That's basically what I was thinking.
    Last edited by Gleeok; 12-27-2016 at 01:09 AM.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  9. #39
    Administrator DarkDragon's Avatar
    Join Date
    Oct 2001
    Posts
    6,228
    Mentioned
    70 Post(s)
    Tagged
    0 Thread(s)
    vBActivity - Stats
    Points
    11,028
    Level
    31
    vBActivity - Bars
    Lv. Percent
    8.48%
    Thanks Gleeok! Let me know if you run into any new trouble with 2010.

    ZoriaRPG, you mentioned that you used a Mac. Do you have time to take a stab at adding OS X support to CMakeLists.txt? I know that OS X uses -frameworks and all kinds of other delights I'm ignorant about :-/

  10. #40
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.18%
    On VC 2010 I get a wall of

    C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdint.h(59): error C2628: '_Longlong' followed by 'signed' is illegal (did you forget a ';'?)
    C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdint.h(59): error C2628: '_Longlong' followed by '__int64' is illegal (did you forget a ';'?)
    C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdint.h(59): warning C4091: 'typedef ' : ignored on left of '__int64' when no variable is declared
    C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdint.h(60): error C2628: '_ULonglong' followed by 'unsigned' is illegal (did you forget a ';'?)
    C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdint.h(60): error C2628: '_ULonglong' followed by '__int64' is illegal (did you forget a ';'?)
    C:\Program Files\Microsoft Visual Studio 10.0\VC\include\stdint.h(60): warning C4091: 'typedef ' : ignored on left of 'unsigned __int64' when no variable is declared
    I'm 2/2 on here and I also had this problem on the trunk once. IIRC so did someone else. It's defining those AND then including stdint.h (Which I believe is included as part of the c library by clib headers.) The astdint.h file is to blame. If anyone ever includes any other reasonable header after an allegro header this is going to happen.

    If there's no problem I'd like to remove that and force users to have stdint.h. For MSVC 2005/2008 I can add a suitable al_stdint.h into the allegro/platform folder.


    [EDIT] Nevermind. That did not work. Seems to only be 64 bit types (I missed that - Doh!). Now who's the culprit here...
    Last edited by Gleeok; 12-27-2016 at 05:24 AM.
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social