Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


FreeRTOS+TCP demo Win32 build fails

Posted by dpederick on November 3, 2014

I've just installed MSVC Express 2010 and loaded the solution as specified here: http://www.freertos.org/FreeRTOS-Plus/FreeRTOSPlusTCP/examplesFreeRTOSsimulator.html

The source code compiles but the build fails with this message: 1> Generating Code... 1>LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I'm sorry if this is basic, but I was expecting the demo to work out of the box... I'm on windows 7 (x64), btw.


FreeRTOS+TCP demo Win32 build fails

Posted by heinbali01 on November 3, 2014


This looks like a good solution:


but I haven't come across this problem yet.


FreeRTOS+TCP demo Win32 build fails

Posted by rtel on November 3, 2014

Just to satisfy myself, on a Win7 64-bit host and Visual Studio Express 2010 with service packs I tried downloading a clean FreeRTOS+TCP zip file and this is the build output I got:

1>------ Build started: Project: RTOSDemo, Configuration: Debug Win32 ------ 1> DemoIPTrace.c 1> Run-time-stats-utils.c 1> main.c 1> demologging.c 1> UDPCommandServer.c 1> SimpleTCPEchoServer.c 1> SimpleUDPClientAndServer.c 1> UDPSelectServer.c 1> TwoUDPEchoClients.c 1> TCPEchoClientSingleTasks.c 1> TCPEchoClientSeparateTasks.c 1> CLI-commands.c 1> NetworkInterface.c 1> BufferAllocation2.c 1> FreeRTOSUDPIP.c 1> FreeRTOSTCPWIN.c 1> FreeRTOSTCPIP.c 1> FreeRTOSStreamBuffer.c 1> FreeRTOSSockets.c 1> FreeRTOSIP.c 1> Generating Code... 1> Compiling... 1> FreeRTOSDNS.c 1> FreeRTOSDHCP.c 1> FreeRTOSARP.c 1> FreeRTOSCLI.c 1> timers.c 1> tasks.c 1> queue.c 1> port.c 1> heap4.c 1> list.c 1> eventgroups.c 1> Generating Code... 1> WIN32.vcxproj -> C:tempFreeRTOS+TCP141019FreeRTOS+TCP141019FreeRTOS-PlusDemoFreeRTOSPlusTCPandCLIWindowsSimulator.DebugRTOSDemo.exe ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


FreeRTOS+TCP demo Win32 build fails

Posted by dpederick on November 3, 2014

Thanks for the posts! Applying the service pack fixed it.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner