Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


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 ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists