When trying to build the gcamwrapper package, I get an error
error C2589: '(': illegal token on right side of '::' in the file util/curves/include/cost_curve.h
After some googling, I found that what's probably happening is that "max" has been made a macro which happens at some point within windows.h. I think there are a few different solutions to this. I just added #undef max (and #undef min) to the top of the file, which seemed to fix it. Not sure if this is the best solution.
When trying to build the gcamwrapper package, I get an error
error C2589: '(': illegal token on right side of '::'in the file util/curves/include/cost_curve.hAfter some googling, I found that what's probably happening is that "max" has been made a macro which happens at some point within windows.h. I think there are a few different solutions to this. I just added
#undef max(and#undef min) to the top of the file, which seemed to fix it. Not sure if this is the best solution.