The build coming from Eclipse runs fine. The build coming from make crashes hard. The following is what I get out the serial port:
Code: Select all
Netburner MCF5441x Alternate Image Monitor V1.03 Oct 26 2013 16:25:49
HELP for help
nb>Waiting 2sec to start 'A' to abort
terminate called after throwing an instance of 'std::length_error'
what(): bas
ic_string::_S_create
I stole the makefile straight from an example project and included ALL of my .cpp files in it.
Code: Select all
NAME = Pathfinder
PLATFORM = MOD5441X
CXXSRCS = \
Display.cpp \
DmxParseImagePro.cpp \
Encore.cpp \
web.cpp \
DmxParse.cpp \
DisplayCalls.cpp \
SierraRouter.cpp \
DisplayMenuMap.cpp \
DmxTimer.cpp \
SLP.cpp \
IOExpander.cpp \
Reveal.cpp \
DmxParseEncore.cpp \
ExtronRouter.cpp \
RevealResolutions.cpp \
DmxParseSierraRouter.cpp \
GMT/GMTNet.cpp \
GMT/AntennaLink.cpp \
GMT/TransmitMessage.cpp \
GMT/GMTmain.cpp \
GMT/ftps.cpp \
Serial.cpp \
RDMReveal.cpp \
RDM.cpp \
DmxParseExtronRouter.cpp \
main.cpp \
RS485.cpp \
RDMnet.cpp \
Dmx_Rdm.cpp \
DmxParseGMT.cpp \
ImagePro.cpp \
FlashSettings.cpp \
AjaxFramework/TcpServerReset.cpp \
AjaxFramework/Startup.cpp \
AjaxFramework/Debug.cpp \
AjaxFramework/HtmlCCallbacks.cpp \
AjaxFramework/HtmlServices.cpp \
AjaxFramework/ServiceProvider.cpp \
AjaxFramework/TcpServer.cpp \
RS485TxEn.cpp \
Switches.cpp \
ArtNet.cpp \
CSRCS = \
CXXSRCS += htmldata.cpp
CREATEDTARGS = htmldata.cpp
include $(NBROOT)/make/main.mak
htmldata.cpp : $(wildcard html/*.*)
comphtml html -ohtmldata.cpp