gsplus icon indicating copy to clipboard operation
gsplus copied to clipboard

Cannot make -- is CMAKE retarded?

Open robinhood2014 opened this issue 4 years ago • 0 comments

Following the instructions on README.md to build GSPlus, I get to the "make" instruction, which gets to 51% before bombing out with this error:

C:/msys64/home/donni/gsplus/src/debug_shell.re2c: In function 'do_list': C:/msys64/home/donni/gsplus/src/debug_shell.re2c:664:4: error: duplicate case value 664 | case RELATIVE: | ^~~~ C:/msys64/home/donni/gsplus/src/debug_shell.re2c:606:4: note: previously used here 606 | case DP_X: | ^~~~ make[2]: *** [bin/CMakeFiles/GSplus.dir/build.make:430: bin/CMakeFiles/GSplus.dir/debug_shell.c.obj] Error 1 make[1]: *** [CMakeFiles/Makefile2:188: bin/CMakeFiles/GSplus.dir/all] Error 2 make: *** [Makefile:104: all] Error 2

So I open debug_shell.re2c, and I find out that both of those case statements are supposedly part of the same switch statement (i.e. switch(mode & 0xff))! This leads me to believe that CMAKE might be retarded.

(N.B.: Changing case RELATIVE to default at least produces a GSplus.exe, but it bombs out upon launch by saying "The procedure entry point _ZdlPvy could not be located in the dynamic link library C:(path\to)GSplus.exe.")

robinhood2014 avatar May 12 '20 16:05 robinhood2014