Menu

#51 compilation fails on ubuntu 14.04

v1.0_(example)
open
nobody
None
1
2015-11-12
2015-11-12
No

Had to work around a few issues to build the apps:

  1. Append option -std=gnu++11 to GNU C++ compiler options. My workaround was running qmake 'QMAKE_CXXFLAGS+=-std=gnu++11' instead of plain qmake. This could be added directly into *.pro files
  2. Add spaces around __DATE__ in *.cpp files to avoid errors such as error: unable to find string literal operator ‘operator"" __DATE__’.

Discussion

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB