Skip to content

Compiling source for MacOS #3

Description

@RickSz19

Hello Doug,

I want to be able to use ABWProfilePatches on my Mac. However when I compile the Create_CGATS_for_ABW_Routines, and the Create_CGATS_for_ABW files on my Mac using g++ (g++ -c Create_CGATS_for_ABW_Routines.cpp) I get these errors as well as numerous warnings:

In file included from Create_CGATS_for_ABW_Routines.cpp:39:
./Create_CGATS_for_ABW_Routines.h:114:30: error: no member named 'contains' in
'std::__1::map<std::__1::array<double, 3>,
std::__1::vector<MapRGB::RGBLabAndLoc,
std::__1::allocatorMapRGB::RGBLabAndLoc >,
std::__1::less<std::__1::array<double, 3> >,
std::__1::allocator<std::__1::pair<const std::__1::array<double, 3>,
std::__1::vector<MapRGB::RGBLabAndLoc,
std::__1::allocatorMapRGB::RGBLabAndLoc > > > >'
if (!rgb_lab_loc.contains(rgb_lab.first[i]))

and
Create_CGATS_for_ABW_Routines.cpp:193:66: error: invalid operands to binary
'std::__1::map<std::__1::array<double, 3>,
std::__1::vector<MapRGB::RGBLabAndLoc,
std::__1::allocatorMapRGB::RGBLabAndLoc >,
std::__1::less<std::__1::array<double, 3> >,
std::__1::allocator<std::__1::pair<const std::__1::array<double, 3>,
std::__1::vector<MapRGB::RGBLabAndLoc,
std::__1::allocatorMapRGB::RGBLabAndLoc > > > >'
if (!rgb_lab_loc.contains(rgb_lab.first[i]))
~~~~~~~~~~~ ^

Hope you can help.
I really like the prints I've made using the profiles generated by ABWProfilesPatches under Windows. Great tool!

Best,
Rick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions