error when trying to compile trunk of libgig on windows

You're new to the LinuxSampler world? You don't know where to start and nothing works? Here's the place to ask for help.
Post Reply
sdwarwick
Newbie
Posts: 1
Joined: Sun Nov 05, 2023 8:51 pm

error when trying to compile trunk of libgig on windows

Post by sdwarwick » Sun Nov 05, 2023 8:54 pm

Downloaded latest trunk ( 11/05/2023) of libgig using MS Visual Studio 2022, tried to compile using CMAKE ( CmakeLists.txt )
Ran into two errors:
1. Required c++20 rather than C++11 in CmakeLists.txt

set(CMAKE_CXX_STANDARD 20) # instead of 11

2. Required adding the following line to gig.h after line 29, as the definition “using ssize_t = SSIZE_T” was not in gig.h

#ifdef _MSC_VER
using ssize_t = SSIZE_T;
#endif

hoping trunk can be updated to reflect whatever needs to change...

Post Reply