Finally I installed libiconv, libvorbis and libogg with MacPorts. I couldn't find libvorbisfile and libhunspell libraries there. For what I could understand hunspell is included in Snow Leopard.
I thought pkgconfig was needed for the compiler to find the libs but I guess if you indicate the lib path then it's superfluous.
BTW, I have Xcode 3.2.5 and I don't have an old PPC
I'm going to switch to homebrew as you said and see what happens.
@ikm
Now, when I do a build all in Qt Creator I get:
Starting: "/usr/bin/qmake-4.7"
/Users/mac/Documents/goldendict/goldendict.pro -r -spec macx-g++
CONFIG+=release
Package hunspell was not found in the pkg-config search path.
Perhaps you should add the directory containing `hunspell.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hunspell' found
Package hunspell was not found in the pkg-config search path.
Perhaps you should add the directory containing `hunspell.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hunspell' found
Package hunspell was not found in the pkg-config search path.
Perhaps you should add the directory containing `hunspell.pc'
to the PKG_CONFIG_PATH environment variable
No package 'hunspell' found
The process "/usr/bin/qmake-4.7" exited normally.
- Show quoted text -
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/folding.o folding.cc
folding.cc: In function 'void Folding::normalizeWhitespace(std::wstring&)':
folding.cc:646: warning: suggest a space before ';' or explicit braces
around empty body in 'for' statement
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/main.o main.cc
In file included from mainwindow.hh:24,
from main.cc:7:
hotkeywrapper.hh:145: warning: unused parameter 'key'
hotkeywrapper.hh:145: warning: unused parameter 'key2'
hotkeywrapper.hh:145: warning: unused parameter 'modifier'
hotkeywrapper.hh:145: warning: unused parameter 'handle'
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/dictionary.o dictionary.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/config.o config.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/sources.o sources.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/mainwindow.o mainwindow.cc
In file included from mainwindow.hh:24,
from mainwindow.cc:4:
hotkeywrapper.hh:145: warning: unused parameter 'key'
hotkeywrapper.hh:145: warning: unused parameter 'key2'
hotkeywrapper.hh:145: warning: unused parameter 'modifier'
hotkeywrapper.hh:145: warning: unused parameter 'handle'
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/utf8.o utf8.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/file.o file.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/bgl_babylon.o bgl_babylon.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/bgl.o bgl.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/initializing.o initializing.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/article_netmgr.o article_netmgr.cc
gcc -c -pipe -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/dictzip.o dictzip.c
dictzip.c: In function 'dict_read_header':
dictzip.c:293: warning: pointer targets in passing argument 2 of
'crc32' differ in signedness
dictzip.c: In function 'dict_data_open':
dictzip.c:429: warning: unused variable 'sb'
dictzip.c: In function 'dict_data_read_':
dictzip.c:616: warning: pointer targets in assignment differ in signedness
dictzip.c:618: warning: pointer targets in assignment differ in signedness
dictzip.c:500: warning: unused parameter 'preFilter'
dictzip.c:500: warning: unused parameter 'postFilter'
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/btreeidx.o btreeidx.cc
btreeidx.cc: In function 'BtreeIndexing::IndexInfo
BtreeIndexing::buildIndex(const BtreeIndexing::IndexedWords&,
File::Class&)':
btreeidx.cc:1004: warning: format '%u' expects type 'unsigned int',
but argument 2 has type 'size_t'
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/stardict.o stardict.cc
stardict.cc: In function 'void Stardict::handleIdxSynFile(const
std::string&, BtreeIndexing::IndexedWords&, ChunkedStorage::Writer&,
std::vector<unsigned int, std::allocator<unsigned int> >*, bool)':
stardict.cc:1005: warning: format '%u' expects type 'unsigned int',
but argument 2 has type 'size_t'
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/chunkedstorage.o chunkedstorage.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/xdxf2html.o xdxf2html.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/iconv.o iconv.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/lsa.o lsa.cc
/opt/local/include/vorbis/vorbisfile.h:75: warning:
'OV_CALLBACKS_DEFAULT' defined but not used
/opt/local/include/vorbis/vorbisfile.h:82: warning:
'OV_CALLBACKS_NOCLOSE' defined but not used
/opt/local/include/vorbis/vorbisfile.h:89: warning:
'OV_CALLBACKS_STREAMONLY' defined but not used
/opt/local/include/vorbis/vorbisfile.h:96: warning:
'OV_CALLBACKS_STREAMONLY_NOCLOSE' defined but not used
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/htmlescape.o htmlescape.cc
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/dsl.o dsl.cc
dsl.cc: In function 'std::vector<sptr<Dictionary::Class>,
std::allocator<sptr<Dictionary::Class> > > Dsl::makeDictionaries(const
std::vector<std::basic_string<char, std::char_traits<char>,
std::allocator<char> >, std::allocator<std::basic_string<char,
std::char_traits<char>, std::allocator<char> > > >&, const
std::string&, Dictionary::Initializing&)':
dsl.cc:1551: warning: format '%X' expects type 'unsigned int', but
argument 4 has type 'size_t'
g++ -c -pipe -rdynamic -O2 -I/opt/local/include -I/opt/local/include
-I/opt/local/include -Wall -W
-DPROGRAM_DATA_DIR=\"/usr/local/share/apps/goldendict/\"
-DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB
-DQT_PHONON_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/Qt4.7/mkspecs/macx-g++ -I.
-I/Library/Frameworks/QtCore.framework/Versions/4/Headers
-I/usr/include/QtCore
-I/Library/Frameworks/QtNetwork.framework/Versions/4/Headers
-I/usr/include/QtNetwork
-I/Library/Frameworks/QtGui.framework/Versions/4/Headers
-I/usr/include/QtGui
-I/Library/Frameworks/QtXml.framework/Versions/4/Headers
-I/usr/include/QtXml
-I/Library/Frameworks/phonon.framework/Versions/4/Headers
-I/usr/include/phonon
-I/Library/Frameworks/QtWebKit.framework/Versions/4/Headers
-I/usr/include/QtWebKit -I/usr/include -I. -Imaclibs/include
-Iqtsingleapplication/src -I/usr/include/phonon_compat -Ibuild -Ibuild
-F/Library/Frameworks -o build/dsl_details.o dsl_details.cc
dsl_details.cc: In constructor
'Dsl::Details::ArticleDom::ArticleDom(const std::wstring&)':
dsl_details.cc:383: warning: format '%u' expects type 'unsigned int',
but argument 3 has type 'size_t'
dsl_details.cc: In constructor
'Dsl::Details::DslScanner::DslScanner(const std::string&)':
dsl_details.cc:627: error: 'wcscasecmp' was not declared in this scope
dsl_details.cc: In function 'void
Dsl::Details::normalizeHeadword(std::wstring&)':
dsl_details.cc:991: warning: suggest a space before ';' or explicit
braces around empty body in 'for' statement
make: *** [build/dsl_details.o] Error 1
make: Leaving directory `/Users/chulai/Documents/goldendict'
The process "/usr/bin/make" exited with code 2.
Error while building project goldendict (target: Desktop)
When executing build step 'Make'
I googled this and it seems wcscasecmp does not exist in OS X? Check http://trac.osgeo.org/csmap/ticket/25
Chulai
