- Posts: 4
Error C3861 in the Release build of SAM Open Source
- linahassoun
- Topic Author
Less
More
17 Aug 2023 04:56 #12429
by linahassoun
Error C3861 in the Release build of SAM Open Source was created by linahassoun
Hello,
I am trying to install the open source version of SAM. I'm using Visual Studio 2022 on Windows.
I keep encountering a C3861 error in project SAMOS, file "simulation.cpp" which states: "ssc_data_set_var_match_case": identifier not found. When I examined the file, it showed that "ssc_data_set_var_match_case" was not defined anywhere.
Where is the definition expected to be? Any tips on how to proceed would be very much appreciated.
I am trying to install the open source version of SAM. I'm using Visual Studio 2022 on Windows.
I keep encountering a C3861 error in project SAMOS, file "simulation.cpp" which states: "ssc_data_set_var_match_case": identifier not found. When I examined the file, it showed that "ssc_data_set_var_match_case" was not defined anywhere.
Where is the definition expected to be? Any tips on how to proceed would be very much appreciated.
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5423
17 Aug 2023 17:45 #12437
by pgilman
Replied by pgilman on topic Error C3861 in the Release build of SAM Open Source
Hi Lina,
Please try building from the patch branches of the SAM, ssc, wex, and lk repositories instead of the default develop branches. We are actively working in develop and can't guarantee that they will build correctly.
A build from patch branches will result in a version of SAM consistent with the current NREL release version, SAM 2022.11.21 Revision 3.
Let me know if you encounter that error with builds from the patch branches.
Best regards,
Paul.
Please try building from the patch branches of the SAM, ssc, wex, and lk repositories instead of the default develop branches. We are actively working in develop and can't guarantee that they will build correctly.
A build from patch branches will result in a version of SAM consistent with the current NREL release version, SAM 2022.11.21 Revision 3.
Let me know if you encounter that error with builds from the patch branches.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- linahassoun
- Topic Author
Less
More
- Posts: 4
18 Aug 2023 07:58 #12440
by linahassoun
Replied by linahassoun on topic Error C3861 in the Release build of SAM Open Source
Hello Paul,
I followed your instructions and the build was successful. Thank you for your help!
Best regards,
Lina
I followed your instructions and the build was successful. Thank you for your help!
Best regards,
Lina
Please Log in or Create an account to join the conversation.
Moderators: pgilman