The title says pretty much everything. I followed all the instructions on the PhantomJS build page and can't find how to get around this error. It seems to be something to do with the C++11 spec, but how am I supposed to get around it?
Here is a more detailed error message:
make[1]: Entering directory `/home/devuser/phantomjs/src'
g++ -c -pipe -O2 -std=gnu++0x -Wall -W -D_REENTRANT -fPIC -DUSE_UTF8 -DSTATIC_BUILD -DQCOMMANDLINE_STATIC -DQT_NO_DEBUG -DQT_WEBKITWIDGETS_LIB -DQT_WIDGETS_LIB -DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -Imongoose -Ilinenoise/src -Iqcommandline -Iqt/qtbase/include -Iqt/qtbase/include/QtWebKitWidgets -Iqt/qtbase/include/QtWidgets -Iqt/qtbase/include/QtWebKit -Iqt/qtbase/include/QtGui -Iqt/qtbase/include/QtNetwork -Iqt/qtbase/include/QtCore -I. -Iqt/qtbase/mkspecs/linux-g++ -o webpage.o webpage.cpp
webpage.cpp: In function ‘void injectCallbacksObjIntoFrame(QWebFrame*, WebpageCallbacks*)’:
webpage.cpp:1761:35: error: unable to find string literal operator ‘operator"" CALLBACKS_OBJECT_NAME’
webpage.cpp:1764:35: error: unable to find string literal operator ‘operator"" CALLBACKS_OBJECT_NAME’
make[1]: *** [webpage.o] Error 1
make[1]: Leaving directory `/home/devuser/phantomjs/src'
make: *** [sub-src-phantomjs-pro-make_first-ordered] Error 2
ERROR: Failed to build PhantomJS! Building PhantomJS failed.
Aucun commentaire:
Enregistrer un commentaire