cginternals / libzeug

deprecated: C++ sanctuary for small but powerful and frequently required, stand alone features.
MIT License
16 stars 13 forks source link

Cannot build reflectionzeug on gcc or clang #135

Open JesseTG opened 9 years ago

JesseTG commented 9 years ago

This is on Ubuntu 15.04, with clang --version being as follows:

Ubuntu clang version 3.6.0-2ubuntu1 (tags/RELEASE_360/final) (based on LLVM 3.6.0)
Target: x86_64-pc-linux-gnu
Thread model: posix

This is the compiler error:

In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/source/property/AbstractProperty.cpp:6:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyGroup.h:334:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyGroup.hpp:6:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/Property.h:7:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyUnsignedIntegral.h:51:
/home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyUnsignedIntegral.hpp:17:6: error: 
      function template partial specialization is not allowed
bool setValueULL<T>(PropertyUnsignedIntegral<T> & p, const unsigned long long v)
     ^          ~~~
/home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyUnsignedIntegral.hpp:45:44: error: 
      use of undeclared identifier 'value'
    return static_cast<unsigned long long>(value());
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/source/property/AbstractProperty.cpp:6:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyGroup.h:334:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyGroup.hpp:6:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/Property.h:7:
In file included from /home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyUnsignedIntegral.h:51:
/home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyUnsignedIntegral.hpp:17:6: error: 
      function template partial specialization is not allowed
bool setValueULL<T>(PropertyUnsignedIntegral<T> & p, const unsigned long long v)
     ^          ~~~
/home/jesse/Desktop/Code/Source/libzeug/source/reflectionzeug/include/reflectionzeug/property/PropertyUnsignedIntegral.hpp:45:44: error: 
      use of undeclared identifier 'value'
    return static_cast<unsigned long long>(value());
scheibel commented 9 years ago

There was a wrong commit on master which as been reverted. The original problem is processed in https://github.com/cginternals/libzeug/pull/134.

JesseTG commented 9 years ago

Nope. Still another.

In file included from /home/jesse/Desktop/Code/Source/libzeug/build/source/widgetzeug/widgetzeug_automoc.cpp:2:
/home/jesse/Desktop/Code/Source/libzeug/build/source/widgetzeug/moc_ColorSchemeControlWidget.cpp:9:10: fatal error: 
      '../../../../../../../Code/Source/libzeug/source/widgetzeug/include/widgetzeug/ColorSchemeControlWidget.h'
      file not found
#include "../../../../../../../Code/Source/libzeug/source/widgetzeug/inc...
         ^