Project

General

Profile

Compiling Wt 4.0.2 on MacOS 10.13.2

Added by Timo Pallach almost 7 years ago

I try to get Wt 4.0.2 build on MacOS 10.13.2 by doing the follwoing:

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install cmake boost

mkdir -p ~/Development/
cd ~/Development/
curl https://codeload.github.com/emweb/wt/tar.gz/4.0.2 --output wt-4.0.2.tar.gz
tar xzf wt-4.0.2.tar.gz
cd wt-4.0.2
mkdir build
cd build
cmake ..
make -j4

The build fails with the following messages:

# make -j4
Scanning dependencies of target wtdbo
[  0%] Generating Boot_html.C
[  0%] Generating JQuery_js.C
[  0%] Generating Plain_html.C
[  0%] Generating Hybrid_html.C
[  0%] Generating Boot_js.C
[  0%] Generating Wt_js.C
[  1%] Generating Wt_xml.C
[  1%] Generating AuthStrings_xml.C
[  1%] Generating BootstrapTheme_xml.C
[  1%] Generating Bootstrap3Theme_xml.C
[  1%] Generating AuthCssTheme_xml.C
Scanning dependencies of target wt
[  1%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/DbAction.C.o
[  1%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/Call.C.o
[  1%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/ptr.C.o
[  1%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/Exception.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/FixedSqlConnectionPool.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/Json.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/Query.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/QueryColumn.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlQueryParse.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/Session.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/FlexLayoutImpl.C.o
[  3%] Building CXX object src/CMakeFiles/wt.dir/Wt/FlexItemImpl.C.o
[  3%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlConnection.C.o
[  4%] Building CXX object src/CMakeFiles/wt.dir/Wt/PopupWindow.C.o
[  4%] Building CXX object src/CMakeFiles/wt.dir/Wt/Resizable.C.o
[  6%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlConnectionPool.C.o
[  6%] Building CXX object src/CMakeFiles/wt.dir/Wt/ResizeSensor.C.o
[  6%] Building CXX object src/CMakeFiles/wt.dir/Wt/ServerSideFontMetrics.C.o
[  6%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlStatement.C.o
[  6%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/SqlTraits.C.o
[  6%] Building CXX object src/CMakeFiles/wt.dir/Wt/SizeHandle.C.o
[  6%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/StdSqlTraits.C.o
[  6%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdGridLayoutImpl2.C.o
[  6%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdLayoutImpl.C.o
[  6%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/Transaction.C.o
[  6%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/WtSqlTraits.C.o
[  7%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdLayoutItemImpl.C.o
[  7%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/EscapeOStream.C.o
[  7%] Building CXX object src/CMakeFiles/wt.dir/Wt/StdWidgetItemImpl.C.o
[  9%] Building CXX object src/Wt/Dbo/CMakeFiles/wtdbo.dir/StringStream.C.o
[  9%] Building CXX object src/CMakeFiles/wt.dir/Wt/Utils.C.o
[  9%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractArea.C.o
[  9%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractItemDelegate.C.o
[  9%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractItemModel.C.o
[  9%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractItemView.C.o
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractListModel.C.o
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractMedia.C.o
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractProxyModel.C.o
[ 10%] Linking CXX shared library libwtdbo.dylib
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractSpinBox.C.o
[ 10%] Built target wtdbo
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractTableModel.C.o
Scanning dependencies of target wtdbosqlite3
[ 10%] Building CXX object src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/Sqlite3.C.o
[ 10%] Building C object src/Wt/Dbo/backend/CMakeFiles/wtdbosqlite3.dir/amalgamation/sqlite3.c.o
/Users/palltimo/Development/wt-4.0.2/src/Wt/Dbo/backend/amalgamation/sqlite3.c:20839:17: warning: 'OSAtomicCompareAndSwapPtrBarrier' is deprecated: first deprecated in macOS 10.12 - Use
      atomic_compare_exchange_strong() from <stdatomic.h> instead [-Wdeprecated-declarations]
      success = OSAtomicCompareAndSwapPtrBarrier(NULL, newzone, 
                ^
/usr/include/libkern/OSAtomicDeprecated.h:547:6: note: 'OSAtomicCompareAndSwapPtrBarrier' has been explicitly marked deprecated here
bool    OSAtomicCompareAndSwapPtrBarrier( void *__oldValue, void *__newValue, void * volatile *__theValue );
        ^
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractToggleButton.C.o
[ 10%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAggregateProxyModel.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAnchor.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAnimation.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAny.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WApplication.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAudio.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBatchEditProxyModel.C.o
[ 12%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBootstrapTheme.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBorder.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBorderLayout.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBoxLayout.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBreak.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WBrush.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WButtonGroup.C.o
[ 13%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCalendar.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCanvasPaintDevice.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCheckBox.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCircleArea.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WColor.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCombinedLocalizedStrings.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WComboBox.C.o
[ 15%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCompositeWidget.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WContainerWidget.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCssDecorationStyle.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCssStyleSheet.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WCssTheme.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDate.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDateEdit.C.o
[ 16%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDatePicker.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDateTime.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDateValidator.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDefaultLoadingIndicator.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDialog.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDoubleSpinBox.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WDoubleValidator.C.o
[ 18%] Building CXX object src/CMakeFiles/wt.dir/Wt/WEnvironment.C.o
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WEvent.C.o
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WException.C.o
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFileDropWidget.C.o
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFileResource.C.o
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFileUpload.C.o
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFitLayout.C.o
1 warning generated.
[ 20%] Linking CXX shared library libwtdbosqlite3.dylib
[ 20%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFlashObject.C.o
[ 20%] Built target wtdbosqlite3
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFont.C.o
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFontMetrics.C.o
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFormModel.C.o
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WFormWidget.C.o
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WGLWidget.C.o
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WAbstractGLImplementation.C.o
[ 21%] Building CXX object src/CMakeFiles/wt.dir/Wt/WClientGLWidget.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WGoogleMap.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WGradient.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WGridLayout.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WGroupBox.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WHBoxLayout.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WIcon.C.o
[ 23%] Building CXX object src/CMakeFiles/wt.dir/Wt/WIconPair.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WImage.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WInPlaceEdit.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WIntValidator.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WInteractWidget.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WIOService.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLocale.C.o
[ 24%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLocalDateTime.C.o
[ 26%] Building CXX object src/CMakeFiles/wt.dir/Wt/WIdentityProxyModel.C.o
[ 26%] Building CXX object src/CMakeFiles/wt.dir/Wt/WItemDelegate.C.o
[ 26%] Building CXX object src/CMakeFiles/wt.dir/Wt/WItemSelectionModel.C.o
[ 26%] Building CXX object src/CMakeFiles/wt.dir/Wt/WJavaScript.C.o
[ 26%] Building CXX object src/CMakeFiles/wt.dir/Wt/WJavaScriptExposableObject.C.o
[ 26%] Building CXX object src/CMakeFiles/wt.dir/Wt/WJavaScriptHandle.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WJavaScriptObjectStorage.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WJavaScriptPreamble.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WJavaScriptSlot.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLabel.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLayout.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLayoutImpl.C.o
[ 27%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLayoutItem.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLayoutItemImpl.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLength.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLengthValidator.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLineEdit.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLineF.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLink.C.o
[ 29%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLinkedCssStyleSheet.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLoadingIndicator.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLocalizedStrings.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WLogger.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMatrix4x4.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMeasurePaintDevice.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMediaPlayer.C.o
[ 30%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMemoryResource.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMenu.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMenuItem.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMessageBox.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMessageResourceBundle.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WMessageResources.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WModelIndex.C.o
[ 32%] Building CXX object src/CMakeFiles/wt.dir/Wt/WNavigationBar.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WObject.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WOverlayLoadingIndicator.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPaintDevice.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPaintedWidget.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPainter.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPainterPath.C.o
[ 33%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPanel.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPen.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPoint.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPointF.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPolygonArea.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPopupMenu.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPopupWidget.C.o
[ 35%] Building CXX object src/CMakeFiles/wt.dir/Wt/WProgressBar.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WPushButton.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WRadioButton.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WRandom.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WReadOnlyProxyModel.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WRectArea.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WRectF.C.o
[ 36%] Building CXX object src/CMakeFiles/wt.dir/Wt/WRegExpValidator.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WResource.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSelectionBox.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WServer.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WShadow.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSignal.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSlider.C.o
[ 38%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSocketNotifier.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSortFilterProxyModel.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSpinBox.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSplitButton.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSound.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSslCertificate.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSslInfo.C.o
[ 40%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStackedWidget.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStandardItem.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStandardItemModel.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStatelessSlot.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WString.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStreamResource.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStringListModel.C.o
[ 41%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStringStream.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WStringUtil.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSuggestionPopup.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WSvgImage.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTabWidget.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTable.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTableCell.C.o
[ 43%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTableColumn.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTableRow.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTemplate.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTemplateFormView.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTableView.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WText.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTextArea.C.o
[ 44%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTextEdit.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTheme.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTime.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTimeEdit.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTimer.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTimerWidget.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTimePicker.C.o
[ 46%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTimeValidator.C.o
[ 47%] Building CXX object src/CMakeFiles/wt.dir/Wt/WToolBar.C.o
[ 47%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTransform.C.o
[ 47%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTree.C.o
[ 47%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTreeNode.C.o
[ 47%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTreeTable.C.o
[ 47%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTreeTableNode.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WTreeView.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WValidator.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVBoxLayout.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVector3.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVector4.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVectorImage.C.o
[ 49%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVideo.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVmlImage.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WViewWidget.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WVirtualImage.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WWebWidget.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WWidget.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WWidgetItem.C.o
[ 50%] Building CXX object src/CMakeFiles/wt.dir/Wt/WWidgetItemImpl.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/AbstractPasswordService.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/AbstractUserDatabase.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/AuthModel.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/AuthService.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/AuthWidget.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/FacebookService.C.o
[ 52%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/FormBaseModel.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/GoogleService.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/HashFunction.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/Identity.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/Login.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/LostPasswordWidget.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OAuthService.C.o
[ 53%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OAuthWidget.C.o
[ 55%] Building C object src/CMakeFiles/wt.dir/Wt/Auth/passwdqc_check.c.o
[ 55%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/PasswordHash.C.o
[ 55%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/PasswordPromptDialog.C.o
[ 55%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/PasswordService.C.o
[ 55%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/PasswordStrengthValidator.C.o
[ 55%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/PasswordVerifier.C.o
[ 55%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/RegistrationModel.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/RegistrationWidget.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/Token.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/UpdatePasswordWidget.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/User.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/AuthUtils.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/MailUtils.C.o
[ 56%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OAuthClient.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OAuthTokenEndpoint.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OidcUserInfoEndpoint.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OAuthAuthorizationEndpointProcess.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/IssuedToken.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Auth/OidcService.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAbstractChart.C.o
[ 58%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAbstractChartModel.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAxis.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAxisSliderWidget.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WDataSeries.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WPieChart.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WCartesianChart.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WCartesian3DChart.C.o
[ 60%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAbstractChartImplementation.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WChart2DImplementation.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WChart3DImplementation.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WChartPalette.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WStandardChartProxyModel.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WStandardPalette.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WStandardColorMap.C.o
[ 61%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WLegend.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WLegend3D.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAbstractDataSeries3D.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WAbstractGridData.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WGridData.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WEquidistantGridData.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WScatterData.C.o
[ 63%] Building CXX object src/CMakeFiles/wt.dir/Wt/Chart/WSelection.C.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Core/observable.cpp.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Core/observing_ptr.cpp.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Date/tz.cpp.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Json/Array.C.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Json/Object.C.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Json/Parser.C.o
[ 64%] Building CXX object src/CMakeFiles/wt.dir/Wt/Json/Serializer.C.o
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Json/Value.C.o
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Http/HttpUtils.C.o
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Http/Client.C.o
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Http/Message.C.o
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Http/Request.C.o
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Http/Response.C.o
In file included from /Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:10:
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.h:26:11: error: definition of type 'io_service' conflicts with typedef of the same name
    class io_service;
          ^
/usr/local/include/boost/asio/io_service.hpp:27:20: note: 'io_service' declared here
typedef io_context io_service;
                   ^
[ 66%] Building CXX object src/CMakeFiles/wt.dir/Wt/Http/ResponseContinuation.C.o
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:645:9: error: use of class template 'asio::strand' requires template arguments
  asio::strand strand_;
        ^
/usr/local/include/boost/asio/strand.hpp:29:7: note: template is declared here
class strand
      ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:118:10: error: no matching member function for call to 'shared_from_this'
                              shared_from_this(),
                              ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:126:44: error: no matching member function for call to 'shared_from_this'
      (strand_.wrap(std::bind(&Impl::stop, shared_from_this(), impl)));
                                           ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:175:47: error: no matching member function for call to 'shared_from_this'
      (strand_.wrap(std::bind(&Impl::timeout, shared_from_this(),
                                              ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:215:8: error: no matching member function for call to 'shared_from_this'
                                          shared_from_this(),
                                          ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:239:5: error: no matching member function for call to 'shared_from_this'
                                shared_from_this(),
                                ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:267:9: error: no matching member function for call to 'shared_from_this'
                      shared_from_this(),
                      ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:293:9: error: no matching member function for call to 'shared_from_this'
                      shared_from_this(),
                      ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:359:9: error: no matching member function for call to 'shared_from_this'
                      shared_from_this(),
                      ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:410:7: error: no matching member function for call to 'shared_from_this'
                                  shared_from_this()));
                                  ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:428:10: error: no matching member function for call to 'shared_from_this'
                       shared_from_this(),
                       ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:467:9: error: no matching member function for call to 'shared_from_this'
                      shared_from_this(),
                      ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:613:34: error: no matching member function for call to 'shared_from_this'
                    std::bind(&Impl::emitDone, shared_from_this()));
                                               ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:623:44: error: no matching member function for call to 'shared_from_this'
                      std::bind(&Impl::emitBodyReceived, shared_from_this(),
                                                         ^~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5453:21: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp> shared_from_this()
                    ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:5456:27: note: candidate function not viable: no known conversion from 'Wt::Http::Client::Impl' to
      'const std::__1::enable_shared_from_this<Wt::Http::Client::Impl>' for object argument
    shared_ptr<_Tp const> shared_from_this() const
                          ^
/Users/palltimo/Development/wt-4.0.2/src/Wt/Http/Client.C:928:11: error: no matching member function for call to 'reset'
    impl_.reset(new TcpImpl(*ioService, server, sessionId));
    ~~~~~~^~~~~
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:4043:13: note: candidate template ignored: disabled by 'enable_if' [with _Yp = Wt::Http::Client::TcpImpl]
            is_convertible<_Yp*, element_type*>::value,
            ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:4055:9: note: candidate function template not viable: requires 2 arguments, but 1 was provided
        reset(_Yp* __p, _Dp __d);
        ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:4063:9: note: candidate function template not viable: requires 3 arguments, but 1 was provided
        reset(_Yp* __p, _Dp __d, _Alloc __a);
        ^
/Library/Developer/CommandLineTools/usr/include/c++/v1/memory:4039:10: note: candidate function not viable: requires 0 arguments, but 1 was provided
    void reset() _NOEXCEPT;
         ^
16 errors generated.
make[2]: *** [src/CMakeFiles/wt.dir/Wt/Http/Client.C.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/wt.dir/all] Error 2
make: *** [all] Error 2
#

Does anyone have any idea?


Replies (1)

RE: Compiling Wt 4.0.2 on MacOS 10.13.2 - Added by Wim Dumon almost 7 years ago

Hey,

Boost renamed some classes in its latest release, which makes our forward class definition wrong. The issue should be fixed in the latest git version of Wt.

Best regards,

Wim.

    (1-1/1)