LuxCoreRender / LinuxCompile

LuxCoreRender Linux Compilation Environment
10 stars 6 forks source link

Can't compile on *buntu 18.04 #5

Closed satyries closed 6 years ago

satyries commented 6 years ago

System: *buntu 18.04 Kernel 4.15.0-10-generic Intel(R) HD Graphics Haswell (OpenCL 2.1)

After 37 minutes of compiling, the compile script drop with:

gcc -c -w -mtune=generic -std=gnu++98 -mmmx -msse -msse2 -O2 -pipe -mfpmath=sse -fPIC -I/home/satyr/LinuxCompile/target-64-sse2/include/libpng -fno-exceptions -O2 -fvisibility=hidden -Wall -W -D_REENTRANT -fPIC -DQT_BUILD_CORE_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQLIBRARYINFO_EPOCROOT -DQT_USE_ICU -DHB_EXPORT=Q_CORE_EXPORT -DQT_NO_DEBUG -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include -I../../include/QtCore -I.rcc/release-static -Iglobal -I../../tools/shared -I../3rdparty/zlib -I../3rdparty/harfbuzz/src -I../3rdparty/md5 -I../3rdparty/md4 -I.moc/release-static -o .obj/release-static/harfbuzz-gpos.o ../3rdparty/harfbuzz/src/harfbuzz-gpos.c
In file included from /usr/include/unicode/uversion.h:30:0,
                 from tools/qlocale_icu.cpp:46:
/usr/include/unicode/umachine.h:347:13: error: ‘char16_t’ does not name a type; did you mean ‘wchar_t’?
     typedef char16_t UChar;
             ^~~~~~~~
             wchar_t
In file included from tools/qlocale_icu.cpp:46:0:
/usr/include/unicode/uversion.h:167:55: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 u_versionFromUString(UVersionInfo versionArray, const UChar *versionString);
                                                       ^~~~~
                                                       QChar
In file included from /usr/include/unicode/unorm.h:24:0,
                 from /usr/include/unicode/ucol.h:17,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uiter.h:594:44: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uiter_setString(UCharIterator *iter, const UChar *s, int32_t length);
                                            ^~~~~
                                            QChar
In file included from /usr/include/unicode/uset.h:33:0,
                 from /usr/include/unicode/unorm2.h:36,
                 from /usr/include/unicode/unorm.h:25,
                 from /usr/include/unicode/ucol.h:17,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uchar.h:3724:33: error: ‘UChar’ has not been declared
 u_getFC_NFKC_Closure(UChar32 c, UChar *dest, int32_t destCapacity, UErrorCode *pErrorCode);
                                 ^~~~~
In file included from /usr/include/unicode/unorm2.h:36:0,
                 from /usr/include/unicode/unorm.h:25,
                 from /usr/include/unicode/ucol.h:17,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uset.h:285:24: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_openPattern(const UChar* pattern, int32_t patternLength,
                        ^~~~~
                        QChar
/usr/include/unicode/uset.h:300:31: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_openPatternOptions(const UChar* pattern, int32_t patternLength,
                               ^~~~~
                               QChar
/usr/include/unicode/uset.h:422:25: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                   const UChar *pattern, int32_t patternLength,
                         ^~~~~
                         QChar
/usr/include/unicode/uset.h:489:31: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                         const UChar *prop, int32_t propLength,
                               ^~~~~
                               QChar
/usr/include/unicode/uset.h:490:31: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                         const UChar *value, int32_t valueLength,
                               ^~~~~
                               QChar
/usr/include/unicode/uset.h:503:29: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_resemblesPattern(const UChar *pattern, int32_t patternLength,
                             ^~~~~
                             QChar
/usr/include/unicode/uset.h:523:16: error: ‘UChar’ has not been declared
                UChar* result, int32_t resultCapacity,
                ^~~~~
/usr/include/unicode/uset.h:575:33: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_addString(USet* set, const UChar* str, int32_t strLen);
                                 ^~~~~
                                 QChar
/usr/include/unicode/uset.h:587:40: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen);
                                        ^~~~~
                                        QChar
/usr/include/unicode/uset.h:622:36: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_removeString(USet* set, const UChar* str, int32_t strLen);
                                    ^~~~~
                                    QChar
/usr/include/unicode/uset.h:796:44: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_containsString(const USet* set, const UChar* str, int32_t strLen);
                                            ^~~~~
                                            QChar
/usr/include/unicode/uset.h:867:14: error: ‘UChar’ has not been declared
              UChar* str, int32_t strCapacity,
              ^~~~~
/usr/include/unicode/uset.h:892:51: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen);
                                                   ^~~~~
                                                   QChar
/usr/include/unicode/uset.h:936:34: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition);
                                  ^~~~~
                                  QChar
/usr/include/unicode/uset.h:957:38: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition);
                                      ^~~~~
                                      QChar
In file included from /usr/include/unicode/unorm.h:25:0,
                 from /usr/include/unicode/ucol.h:17,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/unorm2.h:285:24: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                  const UChar *src, int32_t length,
                        ^~~~~
                        QChar
/usr/include/unicode/unorm2.h:286:18: error: ‘UChar’ has not been declared
                  UChar *dest, int32_t capacity,
                  ^~~~~
/usr/include/unicode/unorm2.h:308:33: error: ‘UChar’ has not been declared
                                 UChar *first, int32_t firstLength, int32_t firstCapacity,
                                 ^~~~~
/usr/include/unicode/unorm2.h:309:39: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                                 const UChar *second, int32_t secondLength,
                                       ^~~~~
                                       QChar
/usr/include/unicode/unorm2.h:331:15: error: ‘UChar’ has not been declared
               UChar *first, int32_t firstLength, int32_t firstCapacity,
               ^~~~~
/usr/include/unicode/unorm2.h:332:21: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
               const UChar *second, int32_t secondLength,
                     ^~~~~
                     QChar
/usr/include/unicode/unorm2.h:356:36: error: ‘UChar’ has not been declared
                         UChar32 c, UChar *decomposition, int32_t capacity,
                                    ^~~~~
/usr/include/unicode/unorm2.h:390:39: error: ‘UChar’ has not been declared
                            UChar32 c, UChar *decomposition, int32_t capacity,
                                       ^~~~~
/usr/include/unicode/unorm2.h:441:27: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                     const UChar *s, int32_t length,
                           ^~~~~
                           QChar
/usr/include/unicode/unorm2.h:463:25: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                   const UChar *s, int32_t length,
                         ^~~~~
                         QChar
/usr/include/unicode/unorm2.h:492:32: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                          const UChar *s, int32_t length,
                                ^~~~~
                                QChar
/usr/include/unicode/unorm2.h:597:21: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_compare(const UChar *s1, int32_t length1,
                     ^~~~~
                     QChar
/usr/include/unicode/unorm2.h:598:21: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
               const UChar *s2, int32_t length2,
                     ^~~~~
                     QChar
In file included from /usr/include/unicode/ucol.h:17:0,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/unorm.h:214:23: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_normalize(const UChar *source, int32_t sourceLength,
                       ^~~~~
                       QChar
/usr/include/unicode/unorm.h:216:17: error: ‘UChar’ has not been declared
                 UChar *result, int32_t resultLength,
                 ^~~~~
/usr/include/unicode/unorm.h:240:24: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_quickCheck(const UChar *source, int32_t sourcelength,
                        ^~~~~
                        QChar
/usr/include/unicode/unorm.h:261:35: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_quickCheckWithOptions(const UChar *src, int32_t srcLength,
                                   ^~~~~
                                   QChar
/usr/include/unicode/unorm.h:287:26: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_isNormalized(const UChar *src, int32_t srcLength,
                          ^~~~~
                          QChar
/usr/include/unicode/unorm.h:309:37: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_isNormalizedWithOptions(const UChar *src, int32_t srcLength,
                                     ^~~~~
                                     QChar
/usr/include/unicode/unorm.h:388:12: error: ‘UChar’ has not been declared
            UChar *dest, int32_t destCapacity,
            ^~~~~
/usr/include/unicode/unorm.h:421:16: error: ‘UChar’ has not been declared
                UChar *dest, int32_t destCapacity,
                ^~~~~
/usr/include/unicode/unorm.h:464:25: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 unorm_concatenate(const UChar *left, int32_t leftLength,
                         ^~~~~
                         QChar
/usr/include/unicode/unorm.h:465:25: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                   const UChar *right, int32_t rightLength,
                         ^~~~~
                         QChar
/usr/include/unicode/unorm.h:466:19: error: ‘UChar’ has not been declared
                   UChar *dest, int32_t destCapacity,
                   ^~~~~
In file included from /usr/include/unicode/ucol.h:19:0,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/parseerr.h:83:5: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
     UChar          preContext[U_PARSE_CONTEXT_LEN];
     ^~~~~
     QChar
/usr/include/unicode/parseerr.h:90:5: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
     UChar          postContext[U_PARSE_CONTEXT_LEN];
     ^~~~~
     QChar
In file included from /usr/include/unicode/uloc.h:27:0,
                 from /usr/include/unicode/ucol.h:20,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uenum.h:112:16: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 U_STABLE const UChar* U_EXPORT2
                ^~~~~
                QChar
In file included from /usr/include/unicode/uloc.h:27:0,
                 from /usr/include/unicode/ucol.h:20,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uenum.h:190:41: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 uenum_openUCharStringsEnumeration(const UChar* const strings[], int32_t count,
                                         ^~~~~
                                         QChar
In file included from /usr/include/unicode/ucol.h:20:0,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uloc.h:571:13: error: ‘UChar’ has not been declared
             UChar* language,
             ^~~~~
/usr/include/unicode/uloc.h:594:13: error: ‘UChar’ has not been declared
             UChar* script,
             ^~~~~
/usr/include/unicode/uloc.h:619:24: error: ‘UChar’ has not been declared
                        UChar* country,
                        ^~~~~
/usr/include/unicode/uloc.h:643:24: error: ‘UChar’ has not been declared
                        UChar* variant,
                        ^~~~~
/usr/include/unicode/uloc.h:690:24: error: ‘UChar’ has not been declared
                        UChar* dest,
                        ^~~~~
/usr/include/unicode/uloc.h:717:32: error: ‘UChar’ has not been declared
                                UChar* dest,
                                ^~~~~
/usr/include/unicode/uloc.h:739:13: error: ‘UChar’ has not been declared
             UChar* result,
             ^~~~~
In file included from /usr/include/unicode/ucol.h:22:0,
                 from tools/qlocale_icu.cpp:47:
/usr/include/unicode/uscript.h:607:45: error: ‘UChar’ has not been declared
 uscript_getSampleString(UScriptCode script, UChar *dest, int32_t capacity, UErrorCode *pErrorCode);
                                             ^~~~~
In file included from tools/qlocale_icu.cpp:47:0:
/usr/include/unicode/ucol.h:428:23: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 ucol_openRules( const UChar        *rules,
                       ^~~~~
                       QChar
/usr/include/unicode/ucol.h:561:18: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
         const    UChar        *source,
                  ^~~~~
                  QChar
/usr/include/unicode/ucol.h:563:18: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
         const    UChar        *target,
                  ^~~~~
                  QChar
/usr/include/unicode/ucol.h:609:20: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
              const UChar     *source, int32_t sourceLength,
                    ^~~~~
                    QChar
/usr/include/unicode/ucol.h:610:20: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
              const UChar     *target, int32_t targetLength);
                    ^~~~~
                    QChar
/usr/include/unicode/ucol.h:628:27: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                     const UChar     *source, int32_t sourceLength,
                           ^~~~~
                           QChar
/usr/include/unicode/ucol.h:629:27: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                     const UChar     *target, int32_t targetLength);
                           ^~~~~
                           QChar
/usr/include/unicode/ucol.h:647:18: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
            const UChar     *source, int32_t sourceLength,
                  ^~~~~
                  QChar
/usr/include/unicode/ucol.h:648:18: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
            const UChar     *target, int32_t targetLength);
                  ^~~~~
                  QChar
/usr/include/unicode/ucol.h:800:13: error: ‘UChar’ has not been declared
             UChar             *result,
             ^~~~~
/usr/include/unicode/ucol.h:932:16: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 U_STABLE const UChar* U_EXPORT2
                ^~~~~
                QChar
/usr/include/unicode/ucol.h:1017:18: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
         const    UChar        *source,
                  ^~~~~
                  QChar
/usr/include/unicode/ucol.h:1272:27: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
                     const UChar *varTop, int32_t len,
                           ^~~~~
                           QChar
/usr/include/unicode/ucol.h:1361:62: error: ‘UChar’ has not been declared
 ucol_getRulesEx(const UCollator *coll, UColRuleOption delta, UChar *buffer, int32_t bufferLen);
                                                              ^~~~~
tools/qlocale_icu.cpp:53:75: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 typedef UCollationResult (*Ptr_ucol_strcoll)(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength);
                                                                           ^~~~~
                                                                           QChar
tools/qlocale_icu.cpp:53:118: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
 typedef UCollationResult (*Ptr_ucol_strcoll)(const UCollator *coll, const UChar *source, int32_t sourceLength, const UChar *target, int32_t targetLength);
                                                                                                                      ^~~~~
                                                                                                                      QChar
tools/qlocale_icu.cpp:54:36: error: typedef ‘Ptr_u_strToCase’ is initialized (use decltype instead)
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                    ^~~~~
tools/qlocale_icu.cpp:54:36: error: ‘UChar’ was not declared in this scope
tools/qlocale_icu.cpp:54:36: note: suggested alternative: ‘QChar’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                    ^~~~~
                                    QChar
tools/qlocale_icu.cpp:54:43: error: ‘dest’ was not declared in this scope
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                           ^~~~
tools/qlocale_icu.cpp:54:43: note: suggested alternative: ‘reset’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                           ^~~~
                                           reset
tools/qlocale_icu.cpp:54:57: error: expected primary-expression before ‘destCapacity’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                         ^~~~~~~~~~~~
tools/qlocale_icu.cpp:54:71: error: expected primary-expression before ‘const’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                                       ^~~~~
tools/qlocale_icu.cpp:54:97: error: expected primary-expression before ‘srcLength’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                                                                 ^~~~~~~~~
tools/qlocale_icu.cpp:54:108: error: expected primary-expression before ‘const’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                                                                            ^~~~~
tools/qlocale_icu.cpp:54:139: error: expected primary-expression before ‘*’ token
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                                                                                                           ^
tools/qlocale_icu.cpp:54:140: error: ‘pErrorCode’ was not declared in this scope
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                                                                                                            ^~~~~~~~~~
tools/qlocale_icu.cpp:54:140: note: suggested alternative: ‘UErrorCode’
 typedef int32_t (*Ptr_u_strToCase)(UChar *dest, int32_t destCapacity, const UChar *src, int32_t srcLength, const char *locale, UErrorCode *pErrorCode);
                                                                                                                                            ^~~~~~~~~~
                                                                                                                                            UErrorCode
tools/qlocale_icu.cpp:59:8: error: ‘Ptr_u_strToCase’ does not name a type; did you mean ‘u_strFoldCase’?
 static Ptr_u_strToCase ptr_u_strToUpper = 0;
        ^~~~~~~~~~~~~~~
        u_strFoldCase
tools/qlocale_icu.cpp:60:8: error: ‘Ptr_u_strToCase’ does not name a type; did you mean ‘u_strFoldCase’?
 static Ptr_u_strToCase ptr_u_strToLower = 0;
        ^~~~~~~~~~~~~~~
        u_strFoldCase
tools/qlocale_icu.cpp: In function ‘bool qt_initIcu(const QString&)’:
tools/qlocale_icu.cpp:122:9: error: ‘ptr_u_strToUpper’ was not declared in this scope
         ptr_u_strToUpper = (Ptr_u_strToCase)ucLib.resolve("u_strToUpper");
         ^~~~~~~~~~~~~~~~
tools/qlocale_icu.cpp:122:9: note: suggested alternative: ‘u_strToUpper’
         ptr_u_strToUpper = (Ptr_u_strToCase)ucLib.resolve("u_strToUpper");
         ^~~~~~~~~~~~~~~~
         u_strToUpper
tools/qlocale_icu.cpp:122:29: error: ‘Ptr_u_strToCase’ was not declared in this scope
         ptr_u_strToUpper = (Ptr_u_strToCase)ucLib.resolve("u_strToUpper");
                             ^~~~~~~~~~~~~~~
tools/qlocale_icu.cpp:122:29: note: suggested alternative: ‘u_strFoldCase’
         ptr_u_strToUpper = (Ptr_u_strToCase)ucLib.resolve("u_strToUpper");
                             ^~~~~~~~~~~~~~~
                             u_strFoldCase
tools/qlocale_icu.cpp:123:9: error: ‘ptr_u_strToLower’ was not declared in this scope
         ptr_u_strToLower = (Ptr_u_strToCase)ucLib.resolve("u_strToLower");
         ^~~~~~~~~~~~~~~~
tools/qlocale_icu.cpp:123:9: note: suggested alternative: ‘u_strToLower’
         ptr_u_strToLower = (Ptr_u_strToCase)ucLib.resolve("u_strToLower");
         ^~~~~~~~~~~~~~~~
         u_strToLower
tools/qlocale_icu.cpp: In function ‘bool qt_ucol_strcoll(const QChar*, int, const QChar*, int, int*)’:
tools/qlocale_icu.cpp:168:68: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
     *result = ptr_ucol_strcoll(icuCollator, reinterpret_cast<const UChar *>(source), int32_t(sourceLength),
                                                                    ^~~~~
tools/qlocale_icu.cpp:168:68: error: expected ‘>’ before ‘UChar’
tools/qlocale_icu.cpp:168:68: error: expected ‘(’ before ‘UChar’
tools/qlocale_icu.cpp:168:68: error: ‘UChar’ was not declared in this scope
tools/qlocale_icu.cpp:168:68: note: suggested alternative: ‘QChar’
     *result = ptr_ucol_strcoll(icuCollator, reinterpret_cast<const UChar *>(source), int32_t(sourceLength),
                                                                    ^~~~~
                                                                    QChar
tools/qlocale_icu.cpp:168:75: error: expected primary-expression before ‘>’ token
     *result = ptr_ucol_strcoll(icuCollator, reinterpret_cast<const UChar *>(source), int32_t(sourceLength),
                                                                           ^
tools/qlocale_icu.cpp:169:55: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
                                reinterpret_cast<const UChar *>(target), int32_t(targetLength));
                                                       ^~~~~
tools/qlocale_icu.cpp:169:55: error: expected ‘>’ before ‘UChar’
tools/qlocale_icu.cpp:169:55: error: expected ‘(’ before ‘UChar’
tools/qlocale_icu.cpp:169:62: error: expected primary-expression before ‘>’ token
                                reinterpret_cast<const UChar *>(target), int32_t(targetLength));
                                                              ^
tools/qlocale_icu.cpp:169:95: error: expected ‘)’ before ‘;’ token
                                reinterpret_cast<const UChar *>(target), int32_t(targetLength));
                                                                                               ^
tools/qlocale_icu.cpp: At global scope:
tools/qlocale_icu.cpp:175:85: error: ‘Ptr_u_strToCase’ has not been declared
 static bool qt_u_strToCase(const QString &str, QString *out, const QLocale &locale, Ptr_u_strToCase caseFunc)
                                                                                     ^~~~~~~~~~~~~~~
tools/qlocale_icu.cpp: In function ‘bool qt_u_strToCase(const QString&, QString*, const QLocale&, int)’:
tools/qlocale_icu.cpp:186:46: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
     int32_t size = caseFunc(reinterpret_cast<UChar *>(result.data()), result.size(),
                                              ^~~~~
                                              QChar
tools/qlocale_icu.cpp:186:52: error: expected ‘>’ before ‘*’ token
     int32_t size = caseFunc(reinterpret_cast<UChar *>(result.data()), result.size(),
                                                    ^
tools/qlocale_icu.cpp:186:52: error: expected ‘(’ before ‘*’ token
tools/qlocale_icu.cpp:186:53: error: expected primary-expression before ‘>’ token
     int32_t size = caseFunc(reinterpret_cast<UChar *>(result.data()), result.size(),
                                                     ^
tools/qlocale_icu.cpp:187:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
             reinterpret_cast<const UChar *>(str.constData()), str.size(),
                                    ^~~~~
tools/qlocale_icu.cpp:187:36: error: expected ‘>’ before ‘UChar’
tools/qlocale_icu.cpp:187:36: error: expected ‘(’ before ‘UChar’
tools/qlocale_icu.cpp:187:36: error: ‘UChar’ was not declared in this scope
tools/qlocale_icu.cpp:187:36: note: suggested alternative: ‘QChar’
             reinterpret_cast<const UChar *>(str.constData()), str.size(),
                                    ^~~~~
                                    QChar
tools/qlocale_icu.cpp:187:43: error: expected primary-expression before ‘>’ token
             reinterpret_cast<const UChar *>(str.constData()), str.size(),
                                           ^
tools/qlocale_icu.cpp:188:64: error: expected ‘)’ before ‘;’ token
             locale.bcp47Name().toLatin1().constData(), &status);
                                                                ^
tools/qlocale_icu.cpp:200:42: error: ‘UChar’ does not name a type; did you mean ‘QChar’?
         size = caseFunc(reinterpret_cast<UChar *>(result.data()), result.size(),
                                          ^~~~~
                                          QChar
tools/qlocale_icu.cpp:200:48: error: expected ‘>’ before ‘*’ token
         size = caseFunc(reinterpret_cast<UChar *>(result.data()), result.size(),
                                                ^
tools/qlocale_icu.cpp:200:48: error: expected ‘(’ before ‘*’ token
tools/qlocale_icu.cpp:200:49: error: expected primary-expression before ‘>’ token
         size = caseFunc(reinterpret_cast<UChar *>(result.data()), result.size(),
                                                 ^
tools/qlocale_icu.cpp:201:36: error: ISO C++ forbids declaration of ‘type name’ with no type [-fpermissive]
             reinterpret_cast<const UChar *>(str.constData()), str.size(),
                                    ^~~~~
tools/qlocale_icu.cpp:201:36: error: expected ‘>’ before ‘UChar’
tools/qlocale_icu.cpp:201:36: error: expected ‘(’ before ‘UChar’
tools/qlocale_icu.cpp:201:43: error: expected primary-expression before ‘>’ token
             reinterpret_cast<const UChar *>(str.constData()), str.size(),
                                           ^
tools/qlocale_icu.cpp:202:64: error: expected ‘)’ before ‘;’ token
             locale.bcp47Name().toLatin1().constData(), &status);
                                                                ^
tools/qlocale_icu.cpp: In function ‘bool qt_u_strToUpper(const QString&, QString*, const QLocale&)’:
tools/qlocale_icu.cpp:218:45: error: ‘ptr_u_strToUpper’ was not declared in this scope
     return qt_u_strToCase(str, out, locale, ptr_u_strToUpper);
                                             ^~~~~~~~~~~~~~~~
tools/qlocale_icu.cpp:218:45: note: suggested alternative: ‘qt_u_strToUpper’
     return qt_u_strToCase(str, out, locale, ptr_u_strToUpper);
                                             ^~~~~~~~~~~~~~~~
                                             qt_u_strToUpper
tools/qlocale_icu.cpp: In function ‘bool qt_u_strToLower(const QString&, QString*, const QLocale&)’:
tools/qlocale_icu.cpp:223:45: error: ‘ptr_u_strToLower’ was not declared in this scope
     return qt_u_strToCase(str, out, locale, ptr_u_strToLower);
                                             ^~~~~~~~~~~~~~~~
tools/qlocale_icu.cpp:223:45: note: suggested alternative: ‘qt_u_strToLower’
     return qt_u_strToCase(str, out, locale, ptr_u_strToLower);
                                             ^~~~~~~~~~~~~~~~
                                             qt_u_strToLower
Makefile:14356: recipe for target '.obj/release-static/qlocale_icu.o' failed
make[1]: *** [.obj/release-static/qlocale_icu.o] Error 1
make[1]: *** Attesa per i processi non terminati....
make[1]: uscita dalla directory "/tmp/luxbuild/qt-everywhere-opensource-src-4.8.6/src/corelib"
Makefile:194: recipe for target 'sub-corelib-make_default-ordered' failed
make: *** [sub-corelib-make_default-ordered] Error 2
 !!! Qt compilation failed

real    37m5,498s
user    16m18,324s
sys 1m8,102s
Dade916 commented 6 years ago

I have compiled Lux with Ubuntu 14.04 LTS and 16.04 LTS but I have never tried 18.04. Is it a beta ? Or has been already released ?

It looks like a problem between unicode related headers and Qt v4.8 sources.

The simpler solution is probably to use a virtual machine (VirtualBox, etc.) with Ubuntu 14 or 16 installed and compile the Lux executables there. Once compiled, they are statically linked to the libraries so you should be able to copy them on your 18.04 and they should work fine.

satyries commented 6 years ago

18.04 is not yet released. I am, indeed, tracing back *buntu releases to find the one that may compile right.

Currently I am testing on 17.10:on an absolute fresh install with qemu I`ve run this (after obvious update)

sudo apt install git build-essential libtiff-dev libjpeg-dev cmake libtool-bin libbz2-dev libbz2-1.0 opencl-headers python3-pip libgtk-3-dev -y&&\
sudo pip3 install pyinstaller&&\
git clone https://github.com/LuxCoreRender/LinuxCompile.git&&\
cd LinuxCompile&&\
git clone https://github.com/LuxCoreRender/LuxCore.git&&\
time ./build-64-sse2 LuxCore

the result are these errors:

[ --cut-- ] 
[  1%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/accelerators/bvhaccel.cpp.o
[  1%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/film.cpp.o
[  1%] Building CXX object src/slg/CMakeFiles/slg-core.dir/bsdf/bsdf.cpp.o
[  1%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/accelerators/bvhaccelocl.cpp.o
[  1%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/filmconvtest.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-core.dir/cameras/camera.cpp.o
[  2%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/accelerators/embreeaccel.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-core.dir/cameras/environment.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/filmocl.cpp.o
[  2%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/accelerators/mbvhaccel.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/filmoutput.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-core.dir/cameras/orthographic.cpp.o
[  2%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/accelerators/mbvhaccelocl.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/filmoutputs.cpp.o
[  2%] Building CXX object src/slg/CMakeFiles/slg-core.dir/cameras/perspective.cpp.o
[  2%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/core/bvh/bvhbuild.cpp.o
[  3%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/filmparse.cpp.o
[  3%] Building CXX object src/slg/CMakeFiles/slg-core.dir/cameras/projective.cpp.o
[  4%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/core/bvh/bvhclassicbuild.cpp.o
/home/user/LinuxCompile/LuxCore/src/slg/film/filmparse.cpp: In static member function ‘static slg::ImagePipeline* slg::Film::AllocImagePipeline(const luxrays::Properties&, const string&)’:
/home/user/LinuxCompile/LuxCore/src/slg/film/filmparse.cpp:419:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<ImagePipeline> imagePipeline(new ImagePipeline());
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/algorithm/string/case_conv.hpp:16,
                 from /home/user/LinuxCompile/LuxCore/src/slg/film/filmparse.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ --cut-- ] 

[  7%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/core/color/spds/rgbrefl.cpp.o
/home/user/LinuxCompile/LuxCore/src/slg/film/filmproperties.cpp: In static member function ‘static slg::Film* slg::Film::FromProperties(const luxrays::Properties&)’:
/home/user/LinuxCompile/LuxCore/src/slg/film/filmproperties.cpp:111:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<Film> film(new Film(filmFullWidth, filmFullHeight,
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/config/no_tr1/memory.hpp:21,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/smart_ptr/shared_ptr.hpp:23,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/shared_ptr.hpp:17,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/date_time/time_clock.hpp:17,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/thread_time.hpp:9,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/lock_types.hpp:18,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/pthread/mutex.hpp:15,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/mutex.hpp:16,
                 from /home/user/LinuxCompile/LuxCore/include/slg/film/film.h:31,
                 from /home/user/LinuxCompile/LuxCore/src/slg/film/filmproperties.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/film/filmproperties.cpp:132:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<ImagePipeline> imagePipeline(new ImagePipeline());
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/config/no_tr1/memory.hpp:21,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/smart_ptr/shared_ptr.hpp:23,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/shared_ptr.hpp:17,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/date_time/time_clock.hpp:17,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/thread_time.hpp:9,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/lock_types.hpp:18,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/pthread/mutex.hpp:15,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/thread/mutex.hpp:16,
                 from /home/user/LinuxCompile/LuxCore/include/slg/film/film.h:31,
                 from /home/user/LinuxCompile/LuxCore/src/slg/film/filmproperties.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[  7%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/radiancechannelscale.cpp.o

[ --cut-- ] 

[ 10%] Building CXX object src/luxrays/CMakeFiles/luxrays.dir/core/device.cpp.o
/home/user/LinuxCompile/LuxCore/src/slg/engines/tilerepository.cpp: In member function ‘void slg::TileRepository::Tile::InitTileFilm(const slg::Film&, slg::Film**)’:
/home/user/LinuxCompile/LuxCore/src/slg/engines/tilerepository.cpp:94:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<ImagePipeline> imagePipeline(new ImagePipeline());
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/format.hpp:23,
                 from /home/user/LinuxCompile/LuxCore/src/slg/engines/tilerepository.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/engines/tilerepository.cpp: In static member function ‘static slg::TileRepository* slg::TileRepository::FromProperties(const luxrays::Properties&)’:
/home/user/LinuxCompile/LuxCore/src/slg/engines/tilerepository.cpp:564:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<TileRepository> tileRepository(new TileRepository(tileWidth, tileHeight));
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/format.hpp:23,
                 from /home/user/LinuxCompile/LuxCore/src/slg/engines/tilerepository.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 10%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/filters/box.cpp.o
[ --cut-- ] 
[ 24%] Building CXX object src/slg/CMakeFiles/slg-core.dir/engines/rtpathcpu/rtpathcpu.cpp.o
/home/user/LinuxCompile/LuxCore/src/luxrays/utils/properties.cpp: In destructor ‘luxrays::PropertyValue::~PropertyValue()’:
/home/user/LinuxCompile/LuxCore/src/luxrays/utils/properties.cpp:181:101: warning: throw will always call terminate() [-Wterminate]
    throw std::runtime_error("Unknown type in PropertyValue::~PropertyValue(): " + ToString(dataType));
                                                                                                     ^
/home/user/LinuxCompile/LuxCore/src/luxrays/utils/properties.cpp:181:101: note: in C++11 destructors default to noexcept
[ 24%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/imagepipeline/plugins/outputswitcher.cpp.o
[ --cut-- ] 
[ 73%] Building CXX object src/slg/CMakeFiles/slg-film.dir/film/imagepipeline/plugins/tonemaps/tonemap.cpp.o
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp: In member function ‘virtual slg::ImageMapStorage* slg::ImageMapStorageImpl<T, CHANNELS>::Copy() const’:
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:483:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<ImageMapPixel<T, CHANNELS> > newPixels(new ImageMapPixel<T, CHANNELS>[pixelCount]);
  ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp: In member function ‘virtual slg::ImageMapStorage* slg::ImageMapStorageImpl<T, CHANNELS>::SelectChannel(slg::ImageMapStorage::ChannelSelectionType) const’:
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:515:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     auto_ptr<ImageMapPixel<T, 1> > newPixels(new ImageMapPixel<T, 1>[pixelCount]);
     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:533:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     auto_ptr<ImageMapPixel<T, 1> > newPixels(new ImageMapPixel<T, 1>[pixelCount]);
     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:556:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     auto_ptr<ImageMapPixel<T, 1> > newPixels(new ImageMapPixel<T, 1>[pixelCount]);
     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:571:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     auto_ptr<ImageMapPixel<T, 1> > newPixels(new ImageMapPixel<T, 1>[pixelCount]);
     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:601:5: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
     auto_ptr<ImageMapPixel<T, 3> > newPixels(new ImageMapPixel<T, 3>[pixelCount]);
     ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp: In constructor ‘slg::ImageMap::ImageMap(const string&, float, slg::ImageMapStorage::StorageType, slg::ImageMapStorage::WrapType)’:
/home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:641:3: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
   auto_ptr<ImageInput> in(ImageInput::open(fileName, &config));
   ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/imagemap/imagemap.cpp:22:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 73%] Building CXX object src/luxcore/CMakeFiles/luxcore.dir/luxcoreimpl.cpp.o
[ --cut-- ] 
[ 74%] Building CXX object src/slg/CMakeFiles/slg-core.dir/imagemap/imagemapcache.cpp.o
/home/user/LinuxCompile/LuxCore/src/luxcore/luxcoreimpl.cpp: In constructor ‘luxcore::detail::RenderSessionImpl::RenderSessionImpl(const luxcore::detail::RenderConfigImpl*, const string&, const string&)’:
/home/user/LinuxCompile/LuxCore/src/luxcore/luxcoreimpl.cpp:790:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<slg::Film> startFilm(slg::Film::LoadSerialized(startFilmFileName));
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/format.hpp:23,
                 from /home/user/LinuxCompile/LuxCore/src/luxcore/luxcoreimpl.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
/home/user/LinuxCompile/LuxCore/src/luxcore/luxcoreimpl.cpp:791:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<slg::RenderState> startState(slg::RenderState::LoadSerialized(startStateFileName));
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /home/user/LinuxCompile/target-64-sse2/include/boost/format.hpp:23,
                 from /home/user/LinuxCompile/LuxCore/src/luxcore/luxcoreimpl.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 75%] Building CXX object src/luxcore/CMakeFiles/luxcore.dir/luxparser/luxparse.cpp.o

[ --cut-- ] 
[ 76%] Linking CXX executable ../../bin/benchsimple
/usr/bin/ld: cannot find -lembree
/usr/bin/ld: cannot find -lboost_thread
/usr/bin/ld: cannot find -lboost_program_options
/usr/bin/ld: cannot find -lboost_filesystem
/usr/bin/ld: cannot find -lboost_serialization
/usr/bin/ld: cannot find -lboost_iostreams
/usr/bin/ld: cannot find -lboost_regex
/usr/bin/ld: cannot find -lboost_system
/usr/bin/ld: cannot find -lboost_python
/usr/bin/ld: cannot find -lboost_chrono
/usr/bin/ld: cannot find -lboost_serialization
/usr/bin/ld: cannot find -lboost_iostreams
/usr/bin/ld: cannot find -lboost_regex
/usr/bin/ld: cannot find -lboost_system
/usr/bin/ld: cannot find -lboost_python
/usr/bin/ld: cannot find -lboost_chrono
/usr/bin/ld: cannot find -lboost_date_time
collect2: error: ld returned 1 exit status
tests/benchsimple/CMakeFiles/benchsimple.dir/build.make:115: recipe for target 'bin/benchsimple' failed
make[2]: *** [bin/benchsimple] Error 1
CMakeFiles/Makefile2:543: recipe for target 'tests/benchsimple/CMakeFiles/benchsimple.dir/all' failed
make[1]: *** [tests/benchsimple/CMakeFiles/benchsimple.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 76%] Building CXX object src/slg/CMakeFiles/slg-core.dir/lights/lightsourcedefs.cpp.o

[ --cut-- ] 
[ 84%] Building CXX object src/slg/CMakeFiles/slg-core.dir/scene/parsematerials.cpp.o
/home/user/LinuxCompile/LuxCore/src/slg/scene/parsecamera.cpp: In member function ‘slg::Camera* slg::Scene::CreateCamera(const luxrays::Properties&)’:
/home/user/LinuxCompile/LuxCore/src/slg/scene/parsecamera.cpp:77:2: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
  auto_ptr<Camera> camera;
  ^~~~~~~~
In file included from /usr/include/c++/7/bits/locale_conv.h:41:0,
                 from /usr/include/c++/7/locale:43,
                 from /usr/include/c++/7/iomanip:43,
                 from /home/user/LinuxCompile/LuxCore/include/luxrays/utils/utils.h:27,
                 from /home/user/LinuxCompile/LuxCore/include/luxrays/core/geometry/vector.h:28,
                 from /home/user/LinuxCompile/LuxCore/include/luxrays/core/geometry/transform.h:22,
                 from /home/user/LinuxCompile/LuxCore/include/slg/cameras/camera.h:23,
                 from /home/user/LinuxCompile/LuxCore/include/slg/cameras/environment.h:22,
                 from /home/user/LinuxCompile/LuxCore/src/slg/scene/parsecamera.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 85%] Building CXX object src/slg/CMakeFiles/slg-core.dir/scene/parseobjects.cpp.o

[ --cut-- ] 
[ 96%] Building CXX object src/slg/CMakeFiles/slg-core.dir/renderstate.cpp.o
/home/user/LinuxCompile/LuxCore/src/slg/renderconfig.cpp:60:8: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
 static auto_ptr<Properties> defaultProperties;
        ^~~~~~~~
In file included from /usr/include/c++/7/memory:80:0,
                 from /home/user/LinuxCompile/LuxCore/src/slg/renderconfig.cpp:19:
/usr/include/c++/7/bits/unique_ptr.h:51:28: note: declared here
   template<typename> class auto_ptr;
                            ^~~~~~~~
[ 97%] Linking CXX static library ../../lib/libslg-core.a
[ 97%] Built target slg-core
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
 !!! luxrays luxcore pyluxcore luxcoreui compilation failed

real    54m20,287s
user    60m6,986s
sys 3m42,522s

I`ll make another fresh install with 16.04 and test it again

Dade916 commented 6 years ago

I use 14.04 LTS every day and I have used 16.04 few times on Amazon EC2 instances with LuxCoreRender.