Hi
Gambit, as of beta 13 isn't quite buildable on windows using msvc. I'm using the attached vs71 projects (which should be extracted to the root of the gambit directory to be used). btw, the proj_msc.zip project in 'misc' is out of date, and unlikely to be loadable by anyone anymore anyway.
The errors I get are many like this:
_thread.c c:\desktop\gambc40b13\lib_thread.c(2479) : error C2065: '___REGISTER_HOST_ENTRY' : undeclared identifier c:\desktop\gambc40b13\lib_thread.c(2479) : error C2146: syntax error : missing ';' before identifier '___jump' c:\desktop\gambc40b13\lib_thread.c(2479) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' c:\desktop\gambc40b13\lib_thread.c(2479) : error C2144: syntax error : '<Unknown>' should be preceded by '<Unknown>' c:\desktop\gambc40b13\lib_thread.c(2479) : error C2143: syntax error : missing ';' before 'identifier' ...
Adding:
#define ___REGISTER_HOST_ENTRY
at line 3192 (in the #else of #ifdef ___USE_LABEL_VALUES) allows compilation to succeed. I do not have any substantial Gambit code to test with, but simple tests seemed to work ok.
Also, I get the following moderately concerning warning, which looks to be becuase no device is set up when USE_POSIX isn't defined. I don't know of a good fix for this:
c:\desktop\gambc40b13\lib\os_io.c(5527) : warning C4700: local variable 'dev' used without having been initialized
thanks, scott
Afficher les réponses par date