You are here

Building on OSX 10.6.8 make install stop error

Hardware: Macbook 2,1 Intel Core 2 Duo , Memory 3Gb Ram
OS: 10.6.8 Snow L

Trying to Compile & install code : qsynth-0.3.9.tar.gz

Fluidsynth installed and tested 100% working!
QT 4.8.6 installed working

installed dependencies with:
brew install fluidsynth pkf-config
brew info fluidsynth
fluid-synth: stable 1.1.6
http://www.fluidsynth.org
/usr/local/Cellar/fluid-synth/1.1.6 (29 files, 600K) *
Built from source
From: https://github.com//homebrew/blob/master/Library/Formula/fluid-synth.rb
==> Dependencies
Build: pkg-config ✔, cmake ✔
Required: glib ✔
Optional: libsndfile ✘
==> Options
--with-libsndfile
Build with libsndfile support
then used Cmake to compile v3.2.1 file: cmake-3.2.1-Darwin-x86_64.dmg
===================================
INSTALLED qt
brew install qt
brew info qt

qt: stable 4.8.6, HEAD
http://qt-project.org/
/usr/local/Cellar/qt/4.8.6 (2791 files, 121M) *
Built from source
From: https://github.com//homebrew/blob/master/Library/Formula/qt.rb
==> Dependencies
Optional: d-bus ✘, mysql ✘, postgresql ✘
==> Options
--universal
Build a universal binary
--with-d-bus
Build with d-bus support
--with-developer
Build and link with developer options
--with-docs
Build documentation
--with-mysql
Build with mysql support
--with-postgresql
Build with postgresql support
--with-qt3support
Build with deprecated Qt3Support module support
--HEAD
Install HEAD version
==> Caveats
We agreed to the Qt opensource license for you.
If this is unacceptable you should uninstall.

.app bundles were installed.
Run `brew linkapps qt` to symlink these to /Applications.
===================================

First attempt to compile: qsynth-0.3.9

CMake v3.2.1 used to compile /qsynth-0.3.9/build
Current generator: Unix Makefiles

======================================

The C compiler identification is GNU 4.2.1
The CXX compiler identification is GNU 4.2.1
Checking whether C compiler has -isysroot
Checking whether C compiler has -isysroot - yes
Checking whether C compiler supports OSX deployment target flag
Checking whether C compiler supports OSX deployment target flag - yes
Check for working C compiler: /Developer/usr/bin/cc
Check for working C compiler: /Developer/usr/bin/cc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Checking whether CXX compiler has -isysroot
Checking whether CXX compiler has -isysroot - yes
Checking whether CXX compiler supports OSX deployment target flag
Checking whether CXX compiler supports OSX deployment target flag - yes
Check for working CXX compiler: /Developer/usr/bin/c++
Check for working CXX compiler: /Developer/usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Looking for Q_WS_X11
Looking for Q_WS_X11 - not found
Looking for Q_WS_WIN
Looking for Q_WS_WIN - not found
Looking for Q_WS_QWS
Looking for Q_WS_QWS - not found
Looking for Q_WS_MAC
Looking for Q_WS_MAC - found
Looking for QT_MAC_USE_COCOA
Looking for QT_MAC_USE_COCOA - found
Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.4.0")
Looking for lroundf
Looking for lroundf - found
Looking for 3 include files fcntl.h, ..., signal.h
Looking for 3 include files fcntl.h, ..., signal.h - found
Looking for fluidsynth.h
Looking for fluidsynth.h - found
Looking for new_fluid_server
Looking for new_fluid_server - not found
Looking for fluid_synth_system_reset
Looking for fluid_synth_system_reset - found
Looking for fluid_synth_set_bank_offset
Looking for fluid_synth_set_bank_offset - found
Looking for fluid_synth_get_channel_info
Looking for fluid_synth_get_channel_info - found
Looking for fluid_synth_unset_program
Looking for fluid_synth_unset_program - found

Qsynth 0.3.9

Build target . . . . . . . . . . . . . . . . . . .:

FluidSynth library support . . . . . . . . . . . .: Yes
FluidSynth server support . . . . . . . . . . . .: No
FluidSynth reset support . . . . . . . . . . . . .: Yes
FluidSynth bank offset support . . . . . . . . . .: Yes
FluidSynth channel info support . . . . . . . . .: Yes
FluidSynth unset program support . . . . . . . . .: Yes

System tray icon support . . . . . . . . . . . . .: Yes
Gradient eye-candy . . . . . . . . . . . . . . . .: Yes
Debugger stack-trace (gdb) . . . . . . . . . . . .: No

Install prefix . . . . . . . . . . . . . . . . . .: /usr/local

Now type 'make', followed by 'make install' as root.
Configuring done
====================================
These flags turned Red with Grouped entries 'checked'

Ungrouped Entries
MATH_LIBRARY '/usr/lib/libm.dylib'

CMAKE...
CMAKE BUILD TYPE 'empty field'
CMAKE_INSTALL_PREFIX '/usr/local'
CMAKE_OSX_ARCHITECTURES 'empty field'
CMAKE_OSX_DEPLOYMENT_TARGET 'empty field'
CMAKE_OSX_SYSROOT 'empty field'

CONFIG...
CONFIG_GRADIENT 'value checked'
CONFIG_STACKTRACE 'NOT checked'
CONFIG_SYSTEM_TRAY 'value checked'

FLUIDSYNTH...
FLUIDSYNTH_INCLUDEDIR '/usr/local/include'
FLUIDSYNTH_LIBRARY '/usr/local/lib/libfluidsynth.dylib'

QT...
QT_QMAKE_EXECUTABLE '/usr/local/bin/qmake

================================

second attempt
CMake used to compile /qsynth-0.3.9/build
Current generator: Unix Makefiles

debug as follows:

CMake Warning at /Applications/CMake.app/Contents/share/cmake-3.2/Modules/Platform/Darwin.cmake:181 (message):
The SDK Library/Frameworks path

/Developer/SDKs/MacOSX10.6.sdk/Library/Frameworks

is not set up correctly on this system. This is known to occur when
installing Xcode 3.2.6:

http://bugs.python.org/issue14018

The problem may cause build errors that report missing system frameworks.
Fix your SDK symlinks to resolve this issue and avoid this warning.
Call Stack (most recent call first):
/Applications/CMake.app/Contents/share/cmake-3.2/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
CMakeLists.txt:1 (project)

Qsynth 0.3.9

Build target . . . . . . . . . . . . . . . . . . .:

FluidSynth library support . . . . . . . . . . . .: Yes
FluidSynth server support . . . . . . . . . . . .: No
FluidSynth reset support . . . . . . . . . . . . .: Yes
FluidSynth bank offset support . . . . . . . . . .: Yes
FluidSynth channel info support . . . . . . . . .: Yes
FluidSynth unset program support . . . . . . . . .: Yes

System tray icon support . . . . . . . . . . . . .: Yes
Gradient eye-candy . . . . . . . . . . . . . . . .: Yes
Debugger stack-trace (gdb) . . . . . . . . . . . .: No

Install prefix . . . . . . . . . . . . . . . . . .: /usr/local/

Now type 'make', followed by 'make install' as root.
Configuring done
Generating done
============================

make error as follows:

make works...

**make install 'stop' error**

Thanks for any help in advance!

Forums: 

I just caught forgetting run ' brew linkapps qt

MacBook:qsynth-0.3.9 gunterbischof$ brew linkapps qt
Linking /usr/local/opt/qt/Assistant.app
Linking /usr/local/opt/qt/Designer.app
Linking /usr/local/opt/qt/Linguist.app
Linking /usr/local/opt/qt/QMLViewer.app
Linking /usr/local/opt/qt/qttracereplay.app
Finished linking. Find the links under /Applications.
MacBook:qsynth-0.3.9 gunterbischof$

Make stop error still causing problems...

rncbc's picture

must tell i don't really want to be an a..hole, just that i don't have anything at hand any near to help you there on those bitten fruit systems (last time i touched something from cupertino was an IIe :)).

i know there are stuff being distributed in the source tarball, namely that pretty old 'README-OSX' file in there for which i guess much of the information no longer applies--i am not the one who wrote it

sorry.

Thanks for your time... I work with all OS's I'm in IT work... Working on all boxes FreeBSD, Linux (Debian) as well as Ubuntu being my favorite but really I personally don't like mac either. This one is my sons. Anyway I appreciate any help anyhow.

With a brief look into the compiler... can you tell me if you see anything wrong in the first post that would be necessary to compile the code correctly and have a working GUI? I appreciate any help.

I noticed the QT setup are these files below needed for the build...?
or will it build just fine with Q_WS_MAC and QT_MAC_USE_COCOA or would I need the Q_WS_X11 to be added.

Looking for Q_WS_X11
Looking for Q_WS_X11 - not found
Looking for Q_WS_WIN
Looking for Q_WS_WIN - not found
Looking for Q_WS_QWS
Looking for Q_WS_QWS - not found
Looking for Q_WS_MAC
Looking for Q_WS_MAC - found
Looking for QT_MAC_USE_COCOA
Looking for QT_MAC_USE_COCOA - found

thx for any help.

rncbc's picture

why, instead of building it, don't you try for Qt 5 by downloading the latest stuff for your macosx ?

http://www.qt.io/download-open-source/

then View All Downloads, get and install eg.

http://download.qt.io/official_releases/qt/5.4/5.4.1/qt-opensource-mac-x...

byee

What I needed to do was set the flag in CMAKE program

CMAKE_OSX_SYSROOT ......'empty'

and change it to
CMAKE_OSX_SYSROOT ....... '/usr/local/bin'

This fixed the complier error...
now when reconfigured and I generate the make files
It passes no error

But here's the output after 'make'

MacBook:build gunterbischof$ make
[ 1%] Generating qrc_qsynth.cxx
/qsynth-0.3.9/src/qsynth.qrc: Warning: potential duplicate alias detected: 'qtlogo.png'
[ 3%] Generating ui_qsynthAboutForm.h
[ 5%] Generating ui_qsynthChannelsForm.h
[ 7%] Generating ui_qsynthMainForm.h
[ 8%] Generating ui_qsynthMessagesForm.h
[ 10%] Generating ui_qsynthOptionsForm.h
[ 12%] Generating ui_qsynthPresetForm.h
[ 14%] Generating ui_qsynthSetupForm.h
[ 16%] Generating moc_qsynthKnob.cxx
[ 17%] Generating moc_qsynthMeter.cxx
[ 19%] Generating moc_qsynthSystemTray.cxx
[ 21%] Generating moc_qsynthTabBar.cxx
[ 23%] Generating moc_qsynthAboutForm.cxx
[ 25%] Generating moc_qsynthChannelsForm.cxx
[ 26%] Generating moc_qsynthMainForm.cxx
[ 28%] Generating moc_qsynthMessagesForm.cxx
[ 30%] Generating moc_qsynthOptionsForm.cxx
[ 32%] Generating moc_qsynthPresetForm.cxx
[ 33%] Generating moc_qsynthSetupForm.cxx
Scanning dependencies of target qsynth
[ 35%] Building CXX object src/CMakeFiles/qsynth.dir/moc_qsynthKnob.cxx.o
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qnamespace.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobjectdefs.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwindowdefs.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:45:20: error: stddef.h: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:68:21: error: algorithm: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:311:34: error: AvailabilityMacros.h: No such file or directory
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobject.h:48,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:48:20: error: string.h: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:49:20: error: stdarg.h: No such file or directory
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobject.h:48,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:54:20: error: string: No such file or directory
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobject.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:50:20: error: iterator: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:51:16: error: list: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:58:15: error: new: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:59:20: error: limits.h: No such file or directory
In file included from /usr/local/Cellar/qt/4.8.6/include/QtGui/qbrush.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qpalette.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:52:18: error: vector: No such file or directory
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:54:20: error: stdlib.h: No such file or directory
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qnamespace.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobjectdefs.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwindowdefs.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2188: error: ‘std::swap’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2245: error: ‘size_t’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2247: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2248: error: ‘size_t’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2248: error: ‘size_t’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2248: error: initializer expression list treated as compound expression
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2249: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2249: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2249: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2251: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2252: error: ‘size_t’ has not been declared
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobject.h:48,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h: In function ‘uint qstrlen(const char*)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:80: error: ‘strlen’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h: In function ‘int qstrncmp(const char*, const char*, uint)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:103: error: ‘strncmp’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:110: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:110: error: ‘va_list’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:111: error: ‘size_t’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h: In function ‘bool operator==(const QByteArray&, const QByteArray&)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:528: error: ‘memcmp’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:611: error: expected initializer before ‘<’ token
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobject.h:48,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:58: error: expected initializer before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:174: error: ‘va_list’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:487: error: expected unqualified-id before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:487: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:488: error: ‘string’ in namespace ‘std’ does not name a type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:494: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:494: error: ISO C++ forbids declaration of ‘QStdWString’ with no type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:495: error: ‘QStdWString’ does not name a type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1044: error: ‘string’ in namespace ‘std’ does not name a type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1047: error: expected unqualified-id before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1047: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h: In static member function ‘static QString QString::fromStdString()’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1048: error: ‘s’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1051: error: ‘QStdWString’ does not name a type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1065: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1065: error: ISO C++ forbids declaration of ‘QStdWString’ with no type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h: In static member function ‘static QString QString::fromStdWString(int)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1066: error: ‘s’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:1095: error: expected initializer before ‘<’ token
In file included from /usr/local/Cellar/qt/4.8.6/include/QtCore/qobject.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:184: error: ‘random_access_iterator_tag’ in namespace ‘std’ does not name a type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:231: error: ‘random_access_iterator_tag’ in namespace ‘std’ does not name a type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:345: error: expected unqualified-id before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:345: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:347: error: ISO C++ forbids declaration of ‘list’ with no type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:347: error: invalid use of ‘::’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:347: error: expected ‘;’ before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:351: error: expected `;' before ‘private’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h: In static member function ‘static QList QList::fromStdList()’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:346: error: ‘list’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:346: error: ‘back_inserter’ is not a member of ‘std’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h: In member function ‘void QList::append(const T&)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:510: error: ‘INT_MAX’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h: In member function ‘QList& QList::operator+=(const QList&)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:825: error: ‘INT_MAX’ was not declared in this scope
In file included from /usr/local/Cellar/qt/4.8.6/include/QtGui/qbrush.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qpalette.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:308: error: expected unqualified-id before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:308: error: expected ‘,’ or ‘...’ before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:310: error: ISO C++ forbids declaration of ‘vector’ with no type
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:310: error: invalid use of ‘::’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:310: error: expected ‘;’ before ‘<’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:313: error: expected `;' before ‘private’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In static member function ‘static QVector QVector::fromStdVector()’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:309: error: ‘vector’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:309: error: ‘back_inserter’ is not a member of ‘std’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In member function ‘void QVector::realloc(int, int)’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:503: error: ‘::memcpy’ has not been declared
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:513: error: expected unqualified-id before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:513: error: expected `)' before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:513: error: expected `{' before ‘&’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:513: error: expected primary-expression before ‘)’ token
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:513: error: expected `;' before ‘)’ token
In file included from /usr/local/Cellar/qt/4.8.6/include/QtGui/qbrush.h:52,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qpalette.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qimage.h: At global scope:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qimage.h:349: error: template-id ‘swap’ for ‘void std::swap(QImage&, QImage&)’ does not match any template declaration
In file included from /usr/local/Cellar/qt/4.8.6/include/QtGui/qbrush.h:53,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qpalette.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpixmap.h:300: error: template-id ‘swap’ for ‘void std::swap(QPixmap&, QPixmap&)’ does not match any template declaration
In file included from /usr/local/Cellar/qt/4.8.6/include/QtGui/qpalette.h:47,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:50,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qbrush.h:159: error: template-id ‘swap’ for ‘void std::swap(QBrush&, QBrush&)’ does not match any template declaration
In file included from /usr/local/Cellar/qt/4.8.6/include/QtGui/qwidget.h:58,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qabstractslider.h:45,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/qdial.h:46,
from /usr/local/Cellar/qt/4.8.6/include/QtGui/QDial:1,
from /qsynth-0.3.9/build/src/../../src/qsynthKnob.h:29,
from /qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:9:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qkeysequence.h:219: error: template-id ‘swap’ for ‘void std::swap(QKeySequence&, QKeySequence&)’ does not match any template declaration
/qsynth-0.3.9/build/src/moc_qsynthKnob.cxx: In member function ‘virtual void* qsynthKnob::qt_metacast(const char*)’:
/qsynth-0.3.9/build/src/moc_qsynthKnob.cxx:93: error: ‘strcmp’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QByteArray::Data*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qbytearray.h:164: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QString::Data*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstring.h:101: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QRegExpPrivate*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qregexp.h:83: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In constructor ‘QVector::QVector(int) [with T = QPoint]’:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpolygon.h:99: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:422: error: no matching function for call to ‘operator new(long unsigned int, QPoint*&)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In constructor ‘QVector::QVector(int) [with T = QPointF]’:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpolygon.h:165: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:422: error: no matching function for call to ‘operator new(long unsigned int, QPointF*&)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QRegion::QRegionData*]’:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qregion.h:88: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QImageData*]’:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qimage.h:147: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QKeySequencePrivate*]’:
/usr/local/Cellar/qt/4.8.6/include/QtGui/qkeysequence.h:186: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h: In member function ‘void QList::node_construct(QList::Node*, const T&) [with T = QString]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:512: instantiated from ‘void QList::append(const T&) [with T = QString]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstringlist.h:70: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:373: error: no matching function for call to ‘operator new(long unsigned int, QList::Node*&)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h: In member function ‘void QList::node_copy(QList::Node*, QList::Node*, QList::Node*) [with T = QString]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:828: instantiated from ‘QList& QList::operator+=(const QList&) [with T = QString]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qstringlist.h:88: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:412: error: no matching function for call to ‘operator new(long unsigned int, QList::Node*&)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qlist.h:423: error: ‘memcpy’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QVectorData*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:130: instantiated from ‘void QVector::swap(QVector&) [with T = QPoint]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpolygon.h:70: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QPainterPathPrivate*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qscopedpointer.h:161: instantiated from ‘void QScopedPointer::swap(QScopedPointer&) [with T = QPainterPathPrivate, Cleanup = QPainterPathPrivateDeleter]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpainterpath.h:103: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In member function ‘void QVector::realloc(int, int) [with T = QPoint]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:337: instantiated from ‘void QVector::detach_helper() [with T = QPoint]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:123: instantiated from ‘QVector::QVector(const QVector&) [with T = QPoint]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpolygon.h:66: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:532: error: no matching function for call to ‘operator new(long unsigned int, QPoint*)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:537: error: no matching function for call to ‘operator new(long unsigned int, QPoint*)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In member function ‘void QVector::realloc(int, int) [with T = QPointF]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:337: instantiated from ‘void QVector::detach_helper() [with T = QPointF]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:123: instantiated from ‘QVector::QVector(const QVector&) [with T = QPointF]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpolygon.h:140: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:532: error: no matching function for call to ‘operator new(long unsigned int, QPointF*)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:537: error: no matching function for call to ‘operator new(long unsigned int, QPointF*)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QPixmapData*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qshareddata.h:209: instantiated from ‘void QExplicitlySharedDataPointer::swap(QExplicitlySharedDataPointer&) [with T = QPixmapData]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qshareddata.h:266: instantiated from ‘void qSwap(QExplicitlySharedDataPointer&, QExplicitlySharedDataPointer&) [with T = QPixmapData]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpixmap.h:90: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h: In function ‘void qSwap(T&, T&) [with T = QBrushData*]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qscopedpointer.h:161: instantiated from ‘void QScopedPointer::swap(QScopedPointer&) [with T = QBrushData, Cleanup = QBrushDataPointerDeleter]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qscopedpointer.h:187: instantiated from ‘void qSwap(QScopedPointer&, QScopedPointer&) [with T = QBrushData, Cleanup = QBrushDataPointerDeleter]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qbrush.h:99: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qglobal.h:2189: error: ‘swap’ was not declared in this scope
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h: In member function ‘void QVector::realloc(int, int) [with T = QPainterPath::Element]’:
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:337: instantiated from ‘void QVector::detach_helper() [with T = QPainterPath::Element]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:147: instantiated from ‘void QVector::detach() [with T = QPainterPath::Element]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:247: instantiated from ‘T* QVector::begin() [with T = QPainterPath::Element]’
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:260: instantiated from ‘T& QVector::first() [with T = QPainterPath::Element]’
/usr/local/Cellar/qt/4.8.6/include/QtGui/qpainterpath.h:394: instantiated from here
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:532: error: no matching function for call to ‘operator new(long unsigned int, QPainterPath::Element*)’
:0: note: candidates are: void* operator new(long unsigned int)
/usr/local/Cellar/qt/4.8.6/include/QtCore/qvector.h:537: error: no matching function for call to ‘operator new(long unsigned int, QPainterPath::Element*)’
:0: note: candidates are: void* operator new(long unsigned int)
make[2]: *** [src/CMakeFiles/qsynth.dir/moc_qsynthKnob.cxx.o] Error 1
make[1]: *** [src/CMakeFiles/qsynth.dir/all] Error 2
make: *** [all] Error 2
MacBook:build gunterbischof$ sudo make install

make: *** No rule to make target `install'. Stop.

PS. I think your correct It must require a newer version of QT... even though
I saw this line when I configured the package...
Found Qt4: /usr/local/bin/qmake (found suitable version "4.8.6", minimum required is "4.4.0")

&& the qsynth software requirements are met
The software requirements listed on qsynth website for build and runtime are listed as follows:
Mandatory:
Qt 4 (core, gui), C++ class library and tools for crossplatform development and internationalization
http://qt-project.org/
fluidsynth, real-time software synthesizer based on the SoundFont 2 specifications
http://www.fluidsynth.org/

Ok I'll try and do what you said Earlier about QT5 and see where I get thank you for your patients and time with me.

I found this link to those missing macros:
http://public.kitware.com/Bug/view.php?id=14945

Looking for Q_WS_X11
Looking for Q_WS_X11 - not found
Looking for Q_WS_WIN
Looking for Q_WS_WIN - not found
Looking for Q_WS_QWS
Looking for Q_WS_QWS - not found
Looking for Q_WS_MAC
Looking for Q_WS_MAC - not found

But it just points to the documentation pages...
QT4 macros - http://qt-project.org/doc/qt-4.8/qtglobal.html [^]
QT5 macros - http://qt-project.org/doc/qt-5/qtglobal.html [^]

Which is a clue without an answer as of yet...
It does mention in the summary that these files are obsolete in QT5:
Summary 0014945: Q_WS_* obsolete in QT5 - now it is Q_OS_*

Add new comment