Skip to content

Instantly share code, notes, and snippets.

@colindean
Created July 29, 2012 19:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save colindean/3201289 to your computer and use it in GitHub Desktop.
Save colindean/3201289 to your computer and use it in GitHub Desktop.
compilation error on OSX 10.8
[colin@kid application]$ sh 1.regen_all.sh
Scanning directory '../GUI'...
Scanning directory '../Common/RemoteCoreController'...
Updating 'd_lan_gui.fr.ts'...
Found 174 source text(s) (0 new and 174 already existing)
Scanning directory '../Core'...
Updating 'd_lan_core.fr.ts'...
Found 10 source text(s) (0 new and 10 already existing)
mkdir: ../GUI/output: File exists
mkdir: ../GUI/output/debug: File exists
mkdir: ../GUI/output/debug/languages: File exists
mkdir: ../Core/output: File exists
mkdir: ../Core/output/debug: File exists
mkdir: ../Core/output/debug/languages: File exists
Updating 'd_lan_core.fr.qm'...
Generated 10 translation(s) (10 finished and 0 unfinished)
Updating 'd_lan_gui.fr.qm'...
Generated 174 translation(s) (174 finished and 0 unfinished)
Clean activated
/**
* D-LAN - A decentralized LAN file sharing software.
* Copyright (C) 2010-2012 Greg Burri <greg.burri@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef COMMON_VERSION_H
#define COMMON_VERSION_H
#define VERSION "1.2.0"
#define VERSION_TAG "Alpha"
// These two values are automatically updated during the release building process. See the script 'Application/Tools/update_version.sh'
#define BUILD_TIME "2012-07-29_19-26"
#define GIT_VERSION "389a4e05f62f7b2a7da844a51970a471a4f3d1fb"
#endif
/**
* D-LAN - A decentralized LAN file sharing software.
* Copyright (C) 2010-2012 Greg Burri <greg.burri@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef COMMON_VERSION_H
#define COMMON_VERSION_H
#define VERSION "1.2.0"
#define VERSION_TAG "Alpha"
// These two values are automatically updated during the release building process. See the script 'Application/Tools/update_version.sh'
#define BUILD_TIME "2012-06-05_18-51"
#define GIT_VERSION "1c9a7e8a78ad4119dcfe0706747f360df7397736"
#endif
~/Source/D-LAN/application ~/Source/D-LAN/application
Compiling Common..
make: Entering directory `/Users/colin/Source/D-LAN/application/Common'
rm -f .tmp/release/moc_Timeoutable.cpp .tmp/release/moc_MessageSocket.cpp .tmp/release/moc_ThreadPool.cpp .tmp/release/moc_ConsoleReader.cpp
rm -f .tmp/release/Hash.o .tmp/release/Global.o .tmp/release/ZeroCopyStreamQIODevice.o .tmp/release/Settings.o .tmp/release/TransferRateCalculator.o .tmp/release/ProtoHelper.o .tmp/release/Timeoutable.o .tmp/release/PersistentData.o .tmp/release/MessageSocket.o .tmp/release/MessageHeader.o .tmp/release/gui_protocol.pb.o .tmp/release/core_protocol.pb.o .tmp/release/common.pb.o .tmp/release/ThreadPool.o .tmp/release/Languages.o .tmp/release/Constants.o .tmp/release/FileLocker.o .tmp/release/ConsoleReader.o .tmp/release/StringUtils.o .tmp/release/moc_Timeoutable.o .tmp/release/moc_MessageSocket.o .tmp/release/moc_ThreadPool.o .tmp/release/moc_ConsoleReader.o
rm -f *~ core *.core
make: Leaving directory `/Users/colin/Source/D-LAN/application/Common'
make: Entering directory `/Users/colin/Source/D-LAN/application/Common'
g++ -c -pipe -std=c++11 -stdlib=libc++ -std=c++0x -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -fPIC -Wall -Wno-parentheses -DCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/macx-g++ -I. -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtCore.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/lib/QtNetwork.framework/Versions/4/Headers -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtNetwork -I../../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I. -I.. -I. -I.. -I.tmp/release -F/Users/colin/Source/QtSDK/Desktop/Qt/4.8.1/gcc/lib -o .tmp/release/Hash.o Hash.cpp
cc1plus: error: unrecognized command line option "-std=c++11"
cc1plus: error: unrecognized command line option "-stdlib=libc++"
cc1plus: error: unrecognized command line option "-std=c++0x"
make: *** [.tmp/release/Hash.o] Error 1
make: Leaving directory `/Users/colin/Source/D-LAN/application/Common'
@shawnwall
Copy link

Have you updated to the latest xcode cmd line tools after installing ML?

@colindean
Copy link
Author

Yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment