You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some problem using the lib on linux ubuntu.
I've built a very simple CMakelists.txt that simply compiles the cpp files in the src folder.
then , in another project ( also ubuntu & cmake, cpp 17 )
included the headers & objects and wrote some very simple code
#include "ColorSpace.h"
ColorSpace::Rgb TempRGB;
the build failed with
ColorSpace.cpp: -1: error: multiple definition of `ColorSpace::Rgb::Rgb()'
which is somewhat surprising since I see that the file has include guards.
should I have addressed
typeinfo.h:
#ifndef __GXX_MERGED_TYPEINFO_NAMES
// By default, typeinfo names are not merged.
#define __GXX_MERGED_TYPEINFO_NAMES 0
#endif
// By default follow the old inline rules to avoid ABI changes.
#ifndef __GXX_TYPEINFO_EQUALITY_INLINE
#if !__GXX_WEAK__
#define __GXX_TYPEINFO_EQUALITY_INLINE 0
#else
#define __GXX_TYPEINFO_EQUALITY_INLINE 1
#endif
#endif
?
thanks,
Omer.
The text was updated successfully, but these errors were encountered:
hi,
I'm having some problem using the lib on linux ubuntu.
I've built a very simple CMakelists.txt that simply compiles the cpp files in the src folder.
then , in another project ( also ubuntu & cmake, cpp 17 )
included the headers & objects and wrote some very simple code
the build failed with
ColorSpace.cpp: -1: error: multiple definition of `ColorSpace::Rgb::Rgb()'
which is somewhat surprising since I see that the file has include guards.
should I have addressed
typeinfo.h:
?
thanks,
Omer.
The text was updated successfully, but these errors were encountered: