Build problem on windows simulator
Using Microsoft Visual Studio and windows port (MSVC-MingW directory), I’ve got this error related on the #include <Windows.h> in portmacro.h:
warning C4002: too many actual parameters for macro GetTickCount
error C2059: syntax error ‘constant’
It points to winbase.h declaration:
WINBASEAPI
DWORD
WINAPI
GetTickCount(
VOID
);
Any suggestion ?
Simon
Build problem on windows simulator
No suggestions, only questions, please post all information required for
somebody to provide the information you are after:
Which tool chain are you using (you mention a port that can be built
with MSVC and GCC)
Which version of the tools are you using?
Which version of FreeRTOS are you using?
Where did you get your FreeRTOS files?
Build problem on windows simulator
Build information:
Visual C++ 2012, version 11.0.5, so the Visual C++ toolchain
FreeRTOS version is V9.0.0
Code comes from cytranet.dl.sourceforge.net
Build problem on windows simulator
Please try using the code from our distribution, then report back. We cannot comment on code obtained from anybody else as it is unknown to us.
Build problem on windows simulator
Could-you give me a link to download your distribution, thanks.
Build problem on windows simulator
You must be on SourceForge to be using the forum, just click on the Files menu item at the top. Otherwise the normal way would be to search “freertos download”.