I have attempted to follow the GCAM Build Instructions to build a research branch, close to GCAM v6.
My third party libraries version: (Boost 1.83.0, tbb 2021.6.0, eigen 3.4.0, jdk-21.0.1). The specific situation in the GCAM Workspace/libs is as follows:
I receive some errors:
Severity Code Description Project File Line Suppression State Details
Error C2143 syntax error: missing ';' before '<' objects-main D:\GCAM\gcam-china-dev\cvs\objects\containers\include\tree_item.h 73
Severity Code Description Project File Line Suppression State Details
Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int objects-main D:\GCAM\gcam-china-dev\cvs\objects\containers\include\tree_item.h 73
Severity Code Description Project File Line Suppression State Details
Error C2238 unexpected token(s) preceding ';' objects-main D:\GCAM\gcam-china-dev\cvs\objects\containers\include\tree_item.h 73
Have others run into this problem and/or have some ideas about addressing it? Thank you!
I am unable to solve this problem on VS2022, but As @pralitp noted in an issue (Issue building GCAM 5.3 in Windows), i have compiled successfully on VS2019 (vc142).
I have attempted to follow the GCAM Build Instructions to build a research branch, close to GCAM v6. My third party libraries version: (Boost 1.83.0, tbb 2021.6.0, eigen 3.4.0, jdk-21.0.1). The specific situation in the GCAM Workspace/libs is as follows:
I receive some errors: