Hi Ben, > I'm following the manual pdf on how to build CanFestival3 under Cygwin, but > it halts when it gets to can_peak_win32.c: > > "error: unknown type name `CRITICAL_SECTION´; did you mean > `RTL_CRITICAL_SECTION´?" Looks like wrong "Windows.h"
> "error: `INFINITE´ undeclared (first use in this function); did you mean > `KAFFINITY´?" > "error: `WAIT_OBJECT_0´ undeclared (first use in this function); did you > mean `_OBJECTID´?" > "warning: implicit declaration of function `usleep´; did you mean `fseek´?" > "warning: implicit declaration of function `SetEvent´; did you mean > `setenv´?" > "warning: implicit declaration of function `CloseHandle´; did you mean > `UlongToHandle´?" I am not CAN Festival developper - yes, I am author of can_peak_win32. > Any suggestion on what may be the problem? The main problem behind is that I did not commit all my changes to the official repository. Get my branch of CAN Festival here: http://78.108.103.11/~fojtik/CAN_Festival/ The second problem is that I never attempt to use cygwin. Visual studio only. The work is up to you. You could download here DLLs for USB Peak and PCIe Peak. And please report me your success/failure. regards Jara > Thanks! > Ben > > p.s.I tried to subscribing to the mailing list, but never received the > email confirmation/approval. > ------- End of forwarded message ------- _______________________________________________ Canfestival-devel mailing list Canfestival-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/canfestival-devel