Secretchronicles / TSC

An open source two-dimensional platform game.
https://secretchronicles.org/
GNU General Public License v3.0
204 stars 50 forks source link

Macintosh version of TSC #691

Closed iMacker2020 closed 3 years ago

iMacker2020 commented 3 years ago

Hi, I just finished porting 'The Secret Chronicles of Dr. M' to Mac OS X. Here is the link: http://www.mediafire.com/file/ai6jvq7xmmjf8ey/The_Secret_Chroncles_beta_1.zip/file

I would like to see this program available on the game's download page. Please let me know if there is anything else I need to do.

Thank you.

xet7 commented 3 years ago

@iMacker2020

Where is your TSC source code, with changes you made to get Wekan building for Mac? URL at GitHub?

Where is your build script and instructions how you did build TSC for Mac? URL at GitHub?

You did only provide binary package.

iMacker2020 commented 3 years ago

Where is your TSC source code, with changes you made to get Wekan building for Mac? URL at GitHub?

Where is your build script and instructions how you did build TSC for Mac? URL at GitHub?

Thank you.

xet7 commented 3 years ago

@iMacker2020

It would be best if you could fork TSC repo and create a pull request.

If you are not familiar with that, then it's also OK to add all those files in .zip file attachment to this issue.

Quintus commented 3 years ago

Am Montag, dem 05. Oktober 2020 schrieb iMacker2020:

Hi, I just finished porting 'The Secret Chronicles of Dr. M' to Mac OS X. Here is the link: ttp://www.mediafire.com/file/ai6jvq7xmmjf8ey/The_Secret_Chroncles_beta_1.zip/file

First, thank you for your work. Be sure that is valuable to us. Please note, however, that we cannot accept contributions which are provided only in binary form as xet7 has outlined. You need to provide the source code so that we can include it into our code base. We need to review code before we can make it available to everyone; reasons for this include technical ones (e.g., code quality), security ones (we do not want to distribute malicious programmes on our website), and legal ones (TSC is licensed under the GPLv3, and this means need to provide the source code for any binaries we provide, just like you need to, btw.).

I would like to see this program available on the game's download page. Please let me know if there is anything else I need to do.

You can follow xet7's suggestions with regard to the fork button and Pull Request process. Alternatively, if you're unfamiliar with GitHub's interface and would rather like to provide a patch in diff format directly, you can do so as well. Just include the patch into this ticket or e-mail it to our mailing list[1].

Please do not just give us a full code dump of the entire changed TSC code base and have us figure out what you changed. This creates extra work for us and will make it more unlikely to get your changes included.

-quintus

[1]: See https://lists.secretchronicles.org/postorius/lists/tsc-devel.lists.secretchronicles.org/ -- you will receive an e-mail with instructions for posting after subscription.

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | PGP: Siehe Webseite Passau, Deutschland | kontakt@guelker.eu | O<

iMacker2020 commented 3 years ago

Sorry for the delay. Here is one patch I have made. I will post the rest when I finish them. resource_manager.zip

iMacker2020 commented 3 years ago

Patch for generic.cpp: generic.zip

iMacker2020 commented 3 years ago

Rename the Rect function to mRect() patch: rename-Rect.zip

iMacker2020 commented 3 years ago

Ambiguous symbol fix: namespace.zip

Quintus commented 3 years ago

I apologise for the delay. Thank you for your provided patches. The contributions look mostly good for me, but some changes are required in order to get them merged.

You replace Tinyclipboard with CEUGI::Clipboard, which is probably a good idea. I was not aware CEGUI contains a clipboard class; in fact, I had been looking forward to use SFML's newly added clipboard support, but if CEGUI supports clipboard access as well, that's just as fine. Once we decide to remove CEGUI (if ever), we'll have to change this, but don't have that bother you for now.

However, your changes in the clipboard system break the clipboard support on Linux. Trying to copy/paste on a Linux system with your changes applied pastes garbage into CEGUI's edit boxes. Please verify a) that it works correctly on MacOS and if so, b) try to find out why it does not work on Linux. I suspect it won't work properly on MacOS either, but we'll see.

Following are some minor things which can quickly be resolved. I give my comments directly related to the patch lines affected:

-- tsc/src/core/filesystem/resource_manager.cpp --

+    game_folder_location += "/Resources/data";
+    debug_print("game folder path = %s\n", game_folder_location.c_str());

Please don't print that information to the console here, as it is already printed by the cResource_Manager() constructor after init_directories() has finished.

+    preference_location += "/Library/Preferences/TSC";
+    fs::path preferences_path(preference_location);
+    debug_print("Preferences folder path = %s\n", preference_location.c_str());

The same applies here.

-- tsc/src/gui/generic.cpp --

 #include "../gui/generic.hpp"
+#include <SFML/Audio.hpp>

TSC has a policy of not using any external includes in most source code files. All external includes, in the correct order, belong into the file core/global_basic.hpp, which already includes SFML/Audio.hpp. Is there a specific reason why you need this `#include' statement here?

As you removed Tinyclipboard's use completely, you should also remove the corresponding `#include' from global_basic.hpp and its Git submodule entry.

-    if (tiny_clipwrite(sel_text.c_str()) < 0) {
-        perror("Failed to write to clipboard");
-        return 0;
-    }
-    else {
-        return 1;
-    }
+    CEGUI::Clipboard cb;
+    cb.setNativeProvider(cb.getNativeProvider());
+    cb.setText(sel_text);

If I read the docs correctly, it is sufficient to call setNativeProvider() once per programme. Please move it over to the game initialisation function for CEGUI, which is cVideo::Init_CEGUI() in video/video.cpp. That function is called once on TSC startup.

Or do I read the docs wrong and it's necessary to call this function multiple times?

-        char* cliptext = tiny_clipread(NULL);
+        CEGUI::Clipboard cb;
+        cb.setNativeProvider(cb.getNativeProvider());

Likewise here. If a single global call suffices, remove it from here.

-- tsc/src/scripting/objects/sprites/mrb_sprite.cpp --

-static mrb_value Rect(mrb_state* p_state, mrb_value self)
+static mrb_value mRect(mrb_state* p_state, mrb_value self)
 {
     cSprite* p_sprite = Get_Data_Ptr<cSprite>(p_state, self);

@@ -751,7 +751,7 @@ void TSC::Scripting::Init_Sprite(mrb_state* p_state)
     mrb_define_method(p_state, p_rcSprite, "start_y=", Set_Start_Y, MRB_ARGS_REQ(1));
     mrb_define_method(p_state, p_rcSprite, "pos", Pos, MRB_ARGS_NONE());
     mrb_define_method(p_state, p_rcSprite, "start_pos", Start_Pos, MRB_ARGS_NONE());
-    mrb_define_method(p_state, p_rcSprite, "rect", Rect, MRB_ARGS_NONE());
+    mrb_define_method(p_state, p_rcSprite, "rect", mRect, MRB_ARGS_NONE());

The patch description gives the reasoning, but from the code alone it's not clear why `mRect' has this name. Please add an explanatory comment to the code itself.

You can merge most of your patches into one. Please just keep the clipboard replacement patch separate as it affects more than just the MacOS compatibility.

-quintus

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org

xet7 commented 3 years ago

Here is combined patch, that is:

I did create patch with git diff > mac-combined.patch but I'm not sure is it a correct way to create a patch.

mac-combined.zip

@iMacker2020 Can you provide info how you installed dependencies and compiled TSC? Although, I will also try to figure it out myself.

xet7 commented 3 years ago

It seems that in that precompiled Mac version of TSC provided, Mac did ask for permission for console app like TSC to capture clipboard data. So I presume clipboard code works. I'll try to do that clipboard code with ifdefs.

xet7 commented 3 years ago

Here is updated patch that has:

mac-combined.zip

xet7 commented 3 years ago

@iMacker2020

I tried to figure out how to install all dependencies, but it seems I just got endless amount of build errors. I have no idea at all how to build this Mac version of TSC.

Can you provide step by step instructions about how to build TSC for Mac?

Quintus commented 3 years ago

Am Freitag, dem 13. November 2020 schrieb Lauri Ojansivu:

I did create patch with git diff > mac-combined.patch but I'm not sure is it a correct way to create a patch.

I will look at your patches later on. For now, please give the `-u' option to diff(1) when you create patches directly with diff(1). This will make diff(1) use the patch format known from Git.

-quinuts

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org

iMacker2020 commented 3 years ago

I am working on the instructions still. It is almost done.

On Nov 13, 2020, at 8:36 PM, Lauri Ojansivu notifications@github.com wrote:

@iMacker2020

I tried to figure out how to install all dependencies, but it seems I just got endless amount of build errors. I have no idea at all how to build this Mac version of TSC.

Can you provide step by step instructions about how to build TSC for Mac?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

iMacker2020 commented 3 years ago

I apologise for the delay. Thank you for your provided patches. The contributions look mostly good for me, but some changes are required in order to get them merged. You replace Tinyclipboard with CEUGI::Clipboard, which is probably a good idea. I was not aware CEGUI contains a clipboard class; in fact, I had been looking forward to use SFML's newly added clipboard support, but if CEGUI supports clipboard access as well, that's just as fine. Once we decide to remove CEGUI (if ever), we'll have to change this, but don't have that bother you for now. However, your changes in the clipboard system break the clipboard support on Linux. Trying to copy/paste on a Linux system with your changes applied pastes garbage into CEGUI's edit boxes. Please verify a) that it works correctly on MacOS and if so, b) try to find out why it does not work on Linux. I suspect it won't work properly on MacOS either, but we'll see. Following are some minor things which can quickly be resolved. I give my comments directly related to the patch lines affected:

I'm sorry about the clipboard not working. Maybe using SFML would be better. Hopefully a patch will be made one day to implement this.

iMacker2020 commented 3 years ago

This file has the full directions on how to build TSC on Mac OS 10.8. TSC-files.zip

iMacker2020 commented 3 years ago

@iMacker2020

I tried to figure out how to install all dependencies, but it seems I just got endless amount of build errors. I have no idea at all how to build this Mac version of TSC.

Can you provide step by step instructions about how to build TSC for Mac?

Done. The zip file with the full directions has been posted.

xet7 commented 3 years ago

@iMacker2020

Thanks! I'll try to build TSC for Mac.

xet7 commented 3 years ago

@iMacker2020

How did to build that tsc-loader binary? Where is it's source code?

xet7 commented 3 years ago

How did you create that .icns file?

Sorry I'm just a Mac newbie.

iMacker2020 commented 3 years ago

I sorry but I lost the source code to the loader. Recreating it shouldn't be a problem. It just launched the tsc binary.

On Nov 20, 2020, at 2:40 PM, Lauri Ojansivu notifications@github.com wrote:

@iMacker2020

How did to build that tsc-loader binary? Where is it's source code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

xet7 commented 3 years ago

Ok, I hope you recreate it and add source code file here.

iMacker2020 commented 3 years ago

I don't record the exact details unfortunately, but I think I used a command-line program to convert a png file to icns. It might have been something like this: sips -s format icns input.png --out output.icns

On Nov 20, 2020, at 2:41 PM, Lauri Ojansivu notifications@github.com wrote:

How did you create that .icns file?

Sorry I'm just a Mac newbie.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

xet7 commented 3 years ago

@iMacker2020

If that loader only launced tsc binary, could bash script also work for same purpose?

Is it possible to create universal binary that works on all PPC/X86/arm64 32bit and 64bit Mac computers?

iMacker2020 commented 3 years ago

Yes, it is possible a bash script could also work. Maybe someone who is smarter than me could figure out how to make tsc run without any loaders :)

It is possible to create a universal binary. I use to be really big on keeping support for PowerPC. Now not so much. The thing is CEGUI has a requirement of Mac OS 10.7 or higher. So if someone is really determined, then CEGUI would need to be back ported to Mac OS 10.4.

As for ARM Macs, the biggest issue would be with building all the prerequisites for ARM. I use MacPorts to handle the prerequisites for me. I think the easiest way to make all the prerequisites for ARM is to use an ARM-based Mac. I only have x86 and PowerPC systems here.

On Nov 20, 2020, at 3:40 PM, Lauri Ojansivu notifications@github.com wrote:

@iMacker2020

If that loader only launced tsc binary, could bash script also work for same purpose?

Is it possible to create universal binary that works on all PPC/X86/arm64 32bit and 64bit Mac computers?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

xet7 commented 3 years ago

If I remember correctly, at 2015 my PowerBook G4 running Lubuntu was not fast enough to run TSC.

I would presume MacPorts does not yet exist for ARM. Anyway, most likely x86 version of TSC runs just fine on ARM using Rosetta2, because ARM Macs and Rosetta2 work so fast.

xet7 commented 3 years ago

@iMacker2020

How did you install Xcode 5.1.1 ? It says it's not compatible with Catalina.

What macOS and Xcode version you used, and how?

xet7 commented 3 years ago

About this Cocoa part of your install documentation:

Changes to the "Other Linker Flags"->Debug section:

  • I have noticed that changes are not always saved. I suggest making each change then go back and see if the change took. Add: -framework Cocoa

Here https://en.wikipedia.org/wiki/Xcode#5.x_series it says:

Apple removed support for building garbage collected Cocoa binaries in Xcode 5.1.

iMacker2020 commented 3 years ago

I used Mac OS 10.8. Xcode 5 probably isn't compatible with Catalina. Sorry.

You could install Mac OS 10.8 in a virtual machine like I did. I used VirtualBox 5.0.40.

On Nov 20, 2020, at 6:19 PM, Lauri Ojansivu notifications@github.com wrote:

@iMacker2020

How did you install Xcode 5.1.1 ? It says it's not compatible with Catalina.

What macOS and Xcode version you used, and how?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

iMacker2020 commented 3 years ago

I don't think this would stop you. I didn't notice any problems pertaining to garbage collection.

On Nov 20, 2020, at 6:24 PM, Lauri Ojansivu notifications@github.com wrote:

About this Cocoa part of your install documentation:

Changes to the "Other Linker Flags"->Debug section:

I have noticed that changes are not always saved. I suggest making each change then go back and see if the change took. Add: -framework Cocoa Here https://en.wikipedia.org/wiki/Xcode#5.x_series it says:

Apple removed support for building garbage collected Cocoa binaries in Xcode 5.1.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

xet7 commented 3 years ago

This Mac OS 10.8. seems to be legacy platform, similar to others like WinXP and Symbian: SSL errors in old browsers like Safari and curl. Only 3rd party webbrowser works, like Waterfox Classic browser works with SSL. Similarly like Mypal webbrowser works on WinXP. Currently I'm compiling CEGUI.

iMacker2020 commented 3 years ago

It may be old, but it is gold.

On Nov 20, 2020, at 9:38 PM, Lauri Ojansivu notifications@github.com wrote:

This Mac OS 10.8. seems to be legacy platform, similar to others like WinXP and Symbian: SSL errors in old browsers like Safari and curl. Only 3rd party webbrowser works, like Waterfox Classic browser works with SSL. Similarly like Mypal webbrowser works on WinXP. Currently I'm compiling CEGUI.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Quintus commented 3 years ago

Am Freitag, dem 20. November 2020 schrieb iMacker2020:

I'm sorry about the clipboard not working. Maybe using SFML would be better. Hopefully a patch will be made one day to implement this.

We all make mistakes, it's okay. But tell me, does the clipboard actually work with your patches on MacOS? I ask, because I don't have a MacOS to test. Maybe xet7 could also test this, he appearently has access to a Mac.

-quintus

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org

iMacker2020 commented 3 years ago

It does not work :(

On Nov 21, 2020, at 4:18 AM, Marvin Gülker notifications@github.com wrote:

Am Freitag, dem 20. November 2020 schrieb iMacker2020:

I'm sorry about the clipboard not working. Maybe using SFML would be better. Hopefully a patch will be made one day to implement this.

We all make mistakes, it's okay. But tell me, does the clipboard actually work with your patches on MacOS? I ask, because I don't have a MacOS to test. Maybe xet7 could also test this, he appearently has access to a Mac.

-quintus

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

xet7 commented 3 years ago

@iMacker2020

I really appreciate all the hard work you have spent porting TSC to Mac. Even following those many documented steps to get TSC built for Mac is taking me some time, so I can only imagine how much time with trial and error you have spent with this porting effort. Thanks a lot!

iMacker2020 commented 3 years ago

Thank you for your kind message.

On Nov 21, 2020, at 10:41 AM, Lauri Ojansivu notifications@github.com wrote:

@iMacker2020

I really appreciate all the hard work you have spent porting TSC to Mac. Even following those many documented steps to get TSC built for Mac is taking me some time, so I can only imagine how much time with trial and error you have spent with this porting effort. Thanks a lot!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

Quintus commented 3 years ago

Am Samstag, dem 21. November 2020 schrieb iMacker2020:

It does not work :(

Okay, thanks. Would you mind to try to replace your use of CEGUI::Clipboard with sf::Clipboard instead? This should be pretty straightforward, check the docs here: https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Clipboard.php

If you don't want to do that, I can do it. But probably not this weekend.

And I agree with xet7, we absolutely appreciate your efforts!

-quintus

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org

xet7 commented 3 years ago

@iMacker2020

I did get CEGUI built successfully.

After CEGUI, do I need to install X11 ? I don't see those CEGUI_*_LIBRARY settings in CMake, are they elsewhere?

mac-x11

xet7 commented 3 years ago

Anyway, I'm now installing XQuartz and I'll see what happens after that.

xet7 commented 3 years ago

Ok, it seems that after installing XQuartz it shows those CEGUI_*_LIBRARY settings in CMake. I'll continue.

xet7 commented 3 years ago

Mac git command did not understand https. So when I typed sudo port install git to install git from MacPorts, it seems to download and build git from source code :slightly_smiling_face:

xet7 commented 3 years ago

It seems that https with git still did not work, but this worked without any passwords private ssh keys:

git clone git://github.com/Secretchronicles/TSC
xet7 commented 3 years ago

Hmm, it did let clone, but now there's this:

$ git submodule init
error: invalid key (newline): submodule.shared-modules flatpak/shared-modules.url
No url found for submodule path 'flatpak/shared-modules' in .gitmodules

Well, maybe I'll download TSC repo in .zip file instead.

xet7 commented 3 years ago

Wow, it seems that I got some audio related errors and then I just messed it up. Ok, I'll try again later.

iMacker2020 commented 3 years ago

It does look like a very easy to use API. I'm not sure I can make a patch soon but whoever wanted to could do it easily.

On Nov 21, 2020, at 2:00 PM, Marvin Gülker notifications@github.com wrote:

Am Samstag, dem 21. November 2020 schrieb iMacker2020:

It does not work :(

Okay, thanks. Would you mind to try to replace your use of CEGUI::Clipboard with sf::Clipboard instead? This should be pretty straightforward, check the docs here: https://www.sfml-dev.org/documentation/2.5.1/classsf_1_1Clipboard.php

If you don't want to do that, I can do it. But probably not this weekend.

And I agree with xet7, we absolutely appreciate your efforts!

-quintus

-- Dipl.-Jur. M. Gülker | https://mg.guelker.eu | For security: Passau, Germany | kontakt@guelker.eu | () Avoid HTML e-mail European Union | PGP: see homepage | /\ http://asciiribbon.org — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

iMacker2020 commented 3 years ago

What were the errors?

On Nov 21, 2020, at 8:22 PM, Lauri Ojansivu notifications@github.com wrote:

Wow, it seems that I got some audio related errors and then I just messed it up. Ok, I'll try again later.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

xet7 commented 3 years ago

These, but I'll need to setup again some build options:

CompileC build/TSC.build/Debug/tsc.build/Objects-normal/x86_64/audio.o src/audio/audio.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
        cd /Users/build/repos/TSC-files/TSC-2.1.0/tsc
        export LANG=en_US.US-ASCII
        /opt/local/bin/clang-mp-10 -x c++ -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0 -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-shorten-64-to-32 -Wno-newline-eof -Wno-c++11-extensions -DCMAKE_INTDIR=\"Debug\" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -fasm-blocks -fstrict-aliasing -Wdeprecated-declarations -Winvalid-offsetof -mmacosx-version-min=10.8 -g -Wno-sign-conversion -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/Debug/include -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/build -I/opt/local/include/sfml -I/opt/local/include/libxml++-2.6 -I/opt/local/include/glibmm-2.4 -I/opt/local/lib/glibmm-2.4/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/lib/libxml++-2.6/include -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/../tinyclipboard/include -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/../pod-parser -I/Users/build/repos/cegui-0.8.7/cegui/include -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/../mruby/mruby/include -I/usr/X11R6/include -I/opt/local/include -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/TSC.build/Debug/tsc.build/DerivedSources/x86_64 -I/Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/TSC.build/Debug/tsc.build/DerivedSources -F/Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/Debug -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks -Wall -Wno-deprecated-declarations -std=c++11 -stdlib=libc++ -MMD -MT dependencies -MF /Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/TSC.build/Debug/tsc.build/Objects-normal/x86_64/audio.d --serialize-diagnostics /Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/TSC.build/Debug/tsc.build/Objects-normal/x86_64/audio.dia -c /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp -o /Users/build/repos/TSC-files/TSC-2.1.0/tsc/build/TSC.build/Debug/tsc.build/Objects-normal/x86_64/audio.o

In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:53:
/opt/local/include/libxml++-2.6/libxml++/parsers/saxparser.h:230:10: warning: struct 'SaxParserCallback' was previously declared as a class; this is valid, but may result in linker errors under the Microsoft C++ ABI [-Wmismatched-tags]
    friend struct SaxParserCallback;
                  ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:52:
In file included from /opt/local/include/libxml++-2.6/libxml++/parsers/domparser.h:10:
/opt/local/include/libxml++-2.6/libxml++/parsers/parser.h:29:7: note: previous use is here
class SaxParserCallback; // Remove, when handle_exception() is made protected.
            ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
/opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:86:16: warning: 'parse_file' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void parse_file(const Glib::ustring& filename);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:53:16: note: overridden virtual function is here
    virtual void parse_file(const Glib::ustring& filename) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
/opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:96:16: warning: 'parse_memory' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void parse_memory(const Glib::ustring& contents);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:61:16: note: overridden virtual function is here
    virtual void parse_memory(const Glib::ustring& contents) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
/opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:104:16: warning: 'parse_document' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void parse_document(const Document* document);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:69:16: note: overridden virtual function is here
    virtual void parse_document(const Document* document) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
/opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:126:11: warning: 'operator const void *' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual operator BoolExpr() const;
                    ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:83:11: note: overridden virtual function is here
    virtual operator BoolExpr() const = 0;
                    ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
/opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:143:16: warning: 'validate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void validate(const Document* document);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:90:16: note: overridden virtual function is here
    virtual void validate(const Document* document) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
/opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:151:16: warning: 'validate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void validate(const Glib::ustring& filename);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:98:16: note: overridden virtual function is here
    virtual void validate(const Glib::ustring& filename) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:75:
/opt/local/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:79:16: warning: 'parse_file' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void parse_file(const Glib::ustring& filename);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:53:16: note: overridden virtual function is here
    virtual void parse_file(const Glib::ustring& filename) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:75:
/opt/local/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:87:16: warning: 'parse_memory' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void parse_memory(const Glib::ustring& contents);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:61:16: note: overridden virtual function is here
    virtual void parse_memory(const Glib::ustring& contents) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:75:
/opt/local/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:95:16: warning: 'parse_document' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void parse_document(const Document* document);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:69:16: note: overridden virtual function is here
    virtual void parse_document(const Document* document) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:75:
/opt/local/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:117:11: warning: 'operator const void *' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual operator BoolExpr() const;
                    ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:83:11: note: overridden virtual function is here
    virtual operator BoolExpr() const = 0;
                    ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:75:
/opt/local/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:134:16: warning: 'validate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void validate(const Document* document);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:90:16: note: overridden virtual function is here
    virtual void validate(const Document* document) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:75:
/opt/local/include/libxml++-2.6/libxml++/validators/xsdvalidator.h:141:16: warning: 'validate' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
    virtual void validate(const Glib::ustring& filename);
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:90:
In file included from /opt/local/include/libxml++-2.6/libxml++/libxml++.h:73:
In file included from /opt/local/include/libxml++-2.6/libxml++/validators/relaxngvalidator.h:24:
/opt/local/include/libxml++-2.6/libxml++/validators/schemavalidatorbase.h:98:16: note: overridden virtual function is here
    virtual void validate(const Glib::ustring& filename) = 0;
                              ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:32:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Base.h:36:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:43:2: error: invalid preprocessing directive
#cmakedefine CEGUI_HAS_BUILD_SUFFIX
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:58:2: error: invalid preprocessing directive
#cmakedefine CEGUI_CUSTOM_ALLOCATORS
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:60:2: error: invalid preprocessing directive
#cmakedefine CEGUI_CUSTOM_ALLOCATORS_DEBUG
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:94:2: error: invalid preprocessing directive
#cmakedefine CEGUI_TINYXML_HAS_2_6_API 1
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:132:2: error: invalid preprocessing directive
#cmakedefine CEGUI_HAS_FREETYPE
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:141:2: error: invalid preprocessing directive
#cmakedefine CEGUI_HAS_PCRE_REGEX
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:152:2: error: invalid preprocessing directive
#cmakedefine CEGUI_HAS_DEFAULT_LOGGER
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:170:2: error: invalid preprocessing directive
#cmakedefine CEGUI_BIDI_SUPPORT
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:173:2: error: invalid preprocessing directive
#cmakedefine CEGUI_USE_MINIBIDI
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:176:2: error: invalid preprocessing directive
#cmakedefine CEGUI_USE_FRIBIDI
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:179:2: error: invalid preprocessing directive
#cmakedefine CEGUI_USE_GLEW
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:182:2: error: invalid preprocessing directive
#cmakedefine CEGUI_USE_EPOXY
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:192:2: error: invalid preprocessing directive
#cmakedefine CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER
 ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:205:2: error: invalid preprocessing directive
#cmakedefine CEGUI_ICONV_USES_CONST_INBUF
 ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:47:5: error: invalid token at start of a preprocessor expression
#if CEGUI_STRING_CLASS == CEGUI_STRING_CLASS_UNICODE
        ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:32:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Base.h:36:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:75:28: note: expanded from macro 'CEGUI_STRING_CLASS'
#define CEGUI_STRING_CLASS @CEGUI_STRING_CLASS@
                                                      ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:5597:5: error: invalid token at start of a preprocessor expression
#if CEGUI_STRING_CLASS == CEGUI_STRING_CLASS_STD
        ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:32:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Base.h:36:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Config.h:75:28: note: expanded from macro 'CEGUI_STRING_CLASS'
#define CEGUI_STRING_CLASS @CEGUI_STRING_CLASS@
                                                      ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:5603:99: error: use of undeclared identifier 'STLAllocator'
typedef std::basic_string<char, std::char_traits<char>, STLAllocatorWrapper<char, AllocatorConfig<STLAllocator>::Allocator> > String;
                                                                                                                                                                                                    ^
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:5603:114: error: no type named 'Allocator' in the global namespace; did you mean 'GAllocator'?
typedef std::basic_string<char, std::char_traits<char>, STLAllocatorWrapper<char, AllocatorConfig<STLAllocator>::Allocator> > String;
                                                                                                                                                                                                                              ~~^~~~~~~~~
                                                                                                                                                                                                                                  GAllocator
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:87:
In file included from /opt/local/include/glibmm-2.4/glibmm/convert.h:24:
In file included from /opt/local/include/glibmm-2.4/glibmm/error.h:22:
In file included from /opt/local/include/glibmm-2.4/glibmm/exception.h:22:
In file included from /opt/local/include/glibmm-2.4/glibmm/ustring.h:21:
In file included from /opt/local/include/glibmm-2.4/glibmm/unicode.h:23:
In file included from /opt/local/include/glib-2.0/glib.h:106:
/opt/local/include/glib-2.0/glib/deprecated/gallocator.h:27:28: note: 'GAllocator' declared here
typedef struct _GAllocator GAllocator;
                                                      ^
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/audio.cpp:17:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../audio/audio.hpp:22:
In file included from /Users/build/repos/TSC-files/TSC-2.1.0/tsc/src/audio/../core/global_basic.hpp:95:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/CEGUI.h:33:
In file included from /Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/Affector.h:32:
/Users/build/repos/cegui-0.8.7/cegui/include/CEGUI/String.h:5603:57: error: use of undeclared identifier 'STLAllocatorWrapper'
typedef std::basic_string<char, std::char_traits<char>, STLAllocatorWrapper<char, AllocatorConfig<STLAllocator>::Allocator> > String;
                                                                                                                ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
13 warnings and 20 errors generated.
Command /opt/local/bin/clang-mp-10 failed with exit code 1
xet7 commented 3 years ago

Well, first it complained that CEGUI.h, Audio.h and maybe some others were missing, so I moved those:

mv CEGUI.h.in CEGUI.h

So maybe that messed up it. I'll try to configure again.

xet7 commented 3 years ago

It could also be problem that I'm using Xcode 5.1 currently. I will install Xcode 5.1.1.