jkabat 0 Posted April 18, 2013 Share Posted April 18, 2013 All, I have heard that there is a problem with the ARM libraries use in Energia. However searching I did not find details or fixes. Well, I just ran across the problem while trying to build my weather station. Since I do projects for many different processors. I use a batch file to do the actual build from my IDE (SlickEdit) rather than use the Energia or ARDUINO or TI IDE. I thought I got everything. Included below is my output. The problem is that I can't link to pos(float,float) as is is not found. If I build for AVR (Arduino) I can do it. My base is Energia-0101E0009-windows Any suggestions? E: & cd E:\0-MyProjects\Weather-inE:\0-MyProjects\Weather-in>echo VSLICKERRORPATH="E:\0-MyProjects\Weather-in"VSLICKERRORPATH="E:\0-MyProjects\Weather-in"E:\0-MyProjects\Weather-in>"C:\Program Files\SlickEditV17.0.3 x64\win\vsbuild" build -b E:\ARM\energia\hardware\lm4f\libraries\BMP085\BMP085.cpp -beep "E:\ARM\LPE\ARM Projects - Egenia.vpw" E:\0-MyProjects\Weather-in\WS-indoor.vpj -signal 53978VSLICKERRORPATH="E:\0-MyProjects\Weather-in"buildit abuild.bat: : set path to: E:\ARM\energia;E:\ARM\energia\tools\lm4f\bin;E:\ARM\energia\;C:\Program Files\SlickEditV17.0.3 x64\win;C:\msysgit\msysgit\git\;C:\Program Files\SlickEditV17.0.3 x64\win\;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\ThinkPad\Bluetooth Software\;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;c:\msysgit\msysgit\bin\;C:\Program Files (x86)\xFSTK\stitcher;C:\Program Files (x86)\Code Collaborator Client;C:\Program Files\SlikSvn\bin\;E:\ARM\energia\hardware\tools\lm4f\bin;E:\ARM\energia\hardware\tools\lm4f\LMFlasherabuild.bat: sketch input file: Weather-in.inoabuild.bat: sketch extension: .inoabuild.bat: found INO file; will do minor preprocessing ==> .\obj\Weather-in.ino.cppabuild.bat: Compiler output will go to: .\objabuild.bat: Runtime Library Build output will go to: .\obj\libabuild.bat: : deleting old .\obj\Weather-in.ino.elfabuild.bat: Building-- .\obj\Weather-in.ino.cppabuild.bat: : arm-none-eabi-g++ -c -g -Os -Wall -Wno-strict-aliasing -Wno-overflow -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=80000000L -MMD -DARDUINO=101 -DENERGIA=9 -DABUILD_BATCH=1 -DLM4F120H5QV -DSBOARD="LM4F120H5QV" "-IE:\ARM\energia\hardware\lm4f\cores\lm4f" -I"E:\ARM\energia\hardware\lm4f\libraries\Button" -I"E:\ARM\energia\hardware\lm4f\libraries\EEPROM" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs" -I"E:\ARM\energia\hardware\lm4f\libraries\IRRemXmit" -I"E:\ARM\energia\hardware\lm4f\libraries\SD" -I"E:\ARM\energia\hardware\lm4f\libraries\SPI" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT" -I"E:\ARM\energia\hardware\lm4f\libraries\TouchScreen" -I"E:\ARM\energia\hardware\lm4f\libraries\Wire" -I"E:\ARM\energia\hardware\lm4f\libraries\Debug" -I"E:\ARM\energia\hardware\lm4f\libraries\dbg" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\DHT" -I"E:\ARM\energia\hardware\lm4f\libraries\BMP085" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs\FatFs_files" -I"E:\ARM\energia\hardware\lm4f\libraries\SD\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\Tools" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8347a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8352a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9320" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325c" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325d" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9327" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\pcf8833" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s1d19122" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s6d1121" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1289" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\st7735" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\8" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\s" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\480" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\800" -I"\ARM\energia\hardware\lm4f\variants\stellarpad" -I. -fno-exceptions -Wa,-aghlms=.\obj\Weather-in.ino.cpp.o.lst .\obj\Weather-in.ino.cpp -o.\obj\Weather-in.ino.cpp.oIn file included from .\obj\Weather-in.ino.cpp:2:0:./Weather-in.ino:57:25: note: #pragma message: ARM./Weather-in.ino:64:29: note: #pragma message: Board is LM4F120H5QVIn file included from .\obj\Weather-in.ino.cpp:2:0:./Weather-in.ino: In function 'void setup()':./Weather-in.ino:487:118: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]./Weather-in.ino: In function 'void loop()':./Weather-in.ino:638:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]./Weather-in.ino:645:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]abuild.bat: Building: .\obj\core.aabuild.bat: Runtime library already existsabuild.bat: Building external library: BMP085abuild.bat: File: E:\ARM\energia\hardware\lm4f\libraries\BMP085\BMP085.cppabuild.bat: : arm-none-eabi-g++ -c -g -Os -Wall -Wno-strict-aliasing -Wno-overflow -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=80000000L -MMD -DARDUINO=101 -DENERGIA=9 -DABUILD_BATCH=1 -DLM4F120H5QV -DSBOARD="LM4F120H5QV" "-IE:\ARM\energia\hardware\lm4f\cores\lm4f" -I"E:\ARM\energia\hardware\lm4f\libraries\Button" -I"E:\ARM\energia\hardware\lm4f\libraries\EEPROM" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs" -I"E:\ARM\energia\hardware\lm4f\libraries\IRRemXmit" -I"E:\ARM\energia\hardware\lm4f\libraries\SD" -I"E:\ARM\energia\hardware\lm4f\libraries\SPI" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT" -I"E:\ARM\energia\hardware\lm4f\libraries\TouchScreen" -I"E:\ARM\energia\hardware\lm4f\libraries\Wire" -I"E:\ARM\energia\hardware\lm4f\libraries\Debug" -I"E:\ARM\energia\hardware\lm4f\libraries\dbg" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\DHT" -I"E:\ARM\energia\hardware\lm4f\libraries\BMP085" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs\FatFs_files" -I"E:\ARM\energia\hardware\lm4f\libraries\SD\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\Tools" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8347a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8352a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9320" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325c" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325d" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9327" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\pcf8833" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s1d19122" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s6d1121" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1289" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\st7735" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\8" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\s" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\480" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\800" -I"\ARM\energia\hardware\lm4f\variants\stellarpad" -I. -fno-exceptions "-Wa,-aghlms=.\obj\BMP085.cpp.o.lst" "E:\ARM\energia\hardware\lm4f\libraries\BMP085\BMP085.cpp" "-o.\obj\BMP085.cpp.o"abuild.bat: Building external library: DHTabuild.bat: File: E:\ARM\energia\hardware\lm4f\libraries\DHT\DHT.cppabuild.bat: : arm-none-eabi-g++ -c -g -Os -Wall -Wno-strict-aliasing -Wno-overflow -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=80000000L -MMD -DARDUINO=101 -DENERGIA=9 -DABUILD_BATCH=1 -DLM4F120H5QV -DSBOARD="LM4F120H5QV" "-IE:\ARM\energia\hardware\lm4f\cores\lm4f" -I"E:\ARM\energia\hardware\lm4f\libraries\Button" -I"E:\ARM\energia\hardware\lm4f\libraries\EEPROM" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs" -I"E:\ARM\energia\hardware\lm4f\libraries\IRRemXmit" -I"E:\ARM\energia\hardware\lm4f\libraries\SD" -I"E:\ARM\energia\hardware\lm4f\libraries\SPI" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT" -I"E:\ARM\energia\hardware\lm4f\libraries\TouchScreen" -I"E:\ARM\energia\hardware\lm4f\libraries\Wire" -I"E:\ARM\energia\hardware\lm4f\libraries\Debug" -I"E:\ARM\energia\hardware\lm4f\libraries\dbg" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\DHT" -I"E:\ARM\energia\hardware\lm4f\libraries\BMP085" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs\FatFs_files" -I"E:\ARM\energia\hardware\lm4f\libraries\SD\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\Tools" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8347a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8352a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9320" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325c" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325d" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9327" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\pcf8833" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s1d19122" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s6d1121" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1289" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\st7735" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\8" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\s" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\480" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\800" -I"\ARM\energia\hardware\lm4f\variants\stellarpad" -I. -fno-exceptions "-Wa,-aghlms=.\obj\DHT.cpp.o.lst" "E:\ARM\energia\hardware\lm4f\libraries\DHT\DHT.cpp" "-o.\obj\DHT.cpp.o"abuild.bat: Building external library: Wireabuild.bat: File: E:\ARM\energia\hardware\lm4f\libraries\Wire\Wire.cppabuild.bat: : arm-none-eabi-g++ -c -g -Os -Wall -Wno-strict-aliasing -Wno-overflow -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=80000000L -MMD -DARDUINO=101 -DENERGIA=9 -DABUILD_BATCH=1 -DLM4F120H5QV -DSBOARD="LM4F120H5QV" "-IE:\ARM\energia\hardware\lm4f\cores\lm4f" -I"E:\ARM\energia\hardware\lm4f\libraries\Button" -I"E:\ARM\energia\hardware\lm4f\libraries\EEPROM" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs" -I"E:\ARM\energia\hardware\lm4f\libraries\IRRemXmit" -I"E:\ARM\energia\hardware\lm4f\libraries\SD" -I"E:\ARM\energia\hardware\lm4f\libraries\SPI" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT" -I"E:\ARM\energia\hardware\lm4f\libraries\TouchScreen" -I"E:\ARM\energia\hardware\lm4f\libraries\Wire" -I"E:\ARM\energia\hardware\lm4f\libraries\Debug" -I"E:\ARM\energia\hardware\lm4f\libraries\dbg" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\DHT" -I"E:\ARM\energia\hardware\lm4f\libraries\BMP085" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs\FatFs_files" -I"E:\ARM\energia\hardware\lm4f\libraries\SD\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\Tools" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8347a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8352a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9320" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325c" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325d" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9327" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\pcf8833" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s1d19122" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s6d1121" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1289" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\st7735" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\8" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\s" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\480" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\800" -I"\ARM\energia\hardware\lm4f\variants\stellarpad" -I. -fno-exceptions "-Wa,-aghlms=.\obj\Wire.cpp.o.lst" "E:\ARM\energia\hardware\lm4f\libraries\Wire\Wire.cpp" "-o.\obj\Wire.cpp.o"abuild.bat: Building external library: TFTabuild.bat: File: E:\ARM\energia\hardware\lm4f\libraries\TFT\TFT.cppabuild.bat: : arm-none-eabi-g++ -c -g -Os -Wall -Wno-strict-aliasing -Wno-overflow -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -DF_CPU=80000000L -MMD -DARDUINO=101 -DENERGIA=9 -DABUILD_BATCH=1 -DLM4F120H5QV -DSBOARD="LM4F120H5QV" "-IE:\ARM\energia\hardware\lm4f\cores\lm4f" -I"E:\ARM\energia\hardware\lm4f\libraries\Button" -I"E:\ARM\energia\hardware\lm4f\libraries\EEPROM" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs" -I"E:\ARM\energia\hardware\lm4f\libraries\IRRemXmit" -I"E:\ARM\energia\hardware\lm4f\libraries\SD" -I"E:\ARM\energia\hardware\lm4f\libraries\SPI" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT" -I"E:\ARM\energia\hardware\lm4f\libraries\TouchScreen" -I"E:\ARM\energia\hardware\lm4f\libraries\Wire" -I"E:\ARM\energia\hardware\lm4f\libraries\Debug" -I"E:\ARM\energia\hardware\lm4f\libraries\dbg" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\DHT" -I"E:\ARM\energia\hardware\lm4f\libraries\BMP085" -I"E:\ARM\energia\hardware\lm4f\libraries\Ethernet\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\FatFs\FatFs_files" -I"E:\ARM\energia\hardware\lm4f\libraries\SD\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\TFT\utility" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\UTFT" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\Tools" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8347a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8352a" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9320" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325c" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9325d" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ili9327" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\pcf8833" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s1d19122" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\s6d1121" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1289" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\st7735" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\8" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\hx8340b\s" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\480" -I"E:\ARM\energia\hardware\lm4f\libraries\UTFT\tft_drivers\ssd1963\800" -I"\ARM\energia\hardware\lm4f\variants\stellarpad" -I. -fno-exceptions "-Wa,-aghlms=.\obj\TFT.cpp.o.lst" "E:\ARM\energia\hardware\lm4f\libraries\TFT\TFT.cpp" "-o.\obj\TFT.cpp.o"abuild.bat: Link to an ELF file...abuild.bat: : arm-none-eabi-gcc -Os -nostartfiles -Wl,--gc-sections -T \ARM\energia\hardware\lm4f\cores\lm4f\lm4fcpp.ld --entry=ResetISR -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -o .\obj\Weather-in.ino.elf .\obj\Weather-in.ino.cpp.o .\obj\BMP085.cpp.o .\obj\DHT.cpp.o .\obj\Wire.cpp.o .\obj\TFT.cpp.o .\obj\core.a -L.\obj.\obj\BMP085.cpp.o: In function `BMP085::readAltitude(float)':E:\ARM\energia\hardware\lm4f\libraries\BMP085/BMP085.cpp:268: undefined reference to `pow'collect2.exe: error: ld returned 1 exit statusabuild.bat: exiting with return value 1E:\0-MyProjects\Weather-in> Quote Link to post Share on other sites
Rickta59 589 Posted April 18, 2013 Share Posted April 18, 2013 undefined reference to `pow' try powf Quote Link to post Share on other sites
jkabat 0 Posted April 18, 2013 Author Share Posted April 18, 2013 I will try it. It's just that all the code in the world uses pow (afik). oops - this time i got: abuild.bat: : arm-none-eabi-gcc -Os -nostartfiles -Wl,--gc-sections -T \ARM\energia\hardware\lm4f\cores\lm4f\lm4fcpp.ld --entry=ResetISR -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -o .\obj\Weather-in.ino.elf .\obj\Weather-in.ino.cpp.o .\obj\BMP085.cpp.o .\obj\DHT.cpp.o .\obj\Wire.cpp.o .\obj\TFT.cpp.o .\obj\core.a -L.\obj.\obj\BMP085.cpp.o: In function `BMP085::readAltitude(float)':E:\ARM\energia\hardware\lm4f\libraries\BMP085/BMP085.cpp:268: undefined reference to `powf' BTW: The actual code is: float BMP085::readAltitude(float sealevelPressure){ float altitude; float pressure = readPressure(); altitude = 44330 * (1.0 - powf(pressure / sealevelPressure, 0.1903)); return (altitude);} Thanks John Quote Link to post Share on other sites
Rickta59 589 Posted April 18, 2013 Share Posted April 18, 2013 -lm Quote Link to post Share on other sites
Rickta59 589 Posted April 18, 2013 Share Posted April 18, 2013 https://github.com/energia/Energia/blob/master/app/src/processing/app/debug/Compiler.java see lines 260-262 so: -lm -lc -lgcc jkabat 1 Quote Link to post Share on other sites
jkabat 0 Posted April 18, 2013 Author Share Posted April 18, 2013 Rickta59Thanks, That did it. That was and needs to be at the end of the line which is why I missed it. abuild.bat: Link to an ELF file...abuild.bat: : arm-none-eabi-gcc -Os -nostartfiles -nostdlib -Wl,--gc-sections -T \ARM\energia\hardware\lm4f\cores\lm4f\lm4fcpp.ld --entry=ResetISR -mthumb -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -fsingle-precision-constant -o .\obj\Weather-in.ino.elf .\obj\Weather-in.ino.cpp.o .\obj\BMP085.cpp.o .\obj\DHT.cpp.o .\obj\Wire.cpp.o .\obj\TFT.cpp.o .\obj\core.a -L.\obj -lm -lc -lgcc abuild.bat: : arm-none-eabi-size .\obj\Weather-in.ino.elf text data bss dec hex filename 40732 3200 2636 46568 b5e8 .\obj\Weather-in.ino.elf Thank YouJohn Quote Link to post Share on other sites
L293D 11 Posted April 19, 2013 Share Posted April 19, 2013 JKabat - I happened to notice that you are using the UTFT library for the SSD1289 controller. Do you have a version that works with energia? If so, I would be very grateful if you would share it. I have been banging my head against a wall trying to get the UTFT library to work on the Stellaris in Energia. L293D- Quote Link to post Share on other sites
jkabat 0 Posted April 19, 2013 Author Share Posted April 19, 2013 L293D, I will be using UTFT on my next project. I am usinga hacked version of the Seeed Studio TFT. I have zipped and attached what I used. No warrenty is expressed or implied. Your mileage may vary. Regrards Johnk tft.zip Quote Link to post Share on other sites
L293D 11 Posted April 19, 2013 Share Posted April 19, 2013 Thank you very much John. I just glanced at the code....even if it turns out that it isn't exactly what I was looking for, this is exactly the start I would need to build what I am looking for. I honestly appreciate it. L293D Quote Link to post Share on other sites
Rei Vilo 695 Posted December 17, 2013 Share Posted December 17, 2013 @@jkabat Have you managed to read a pixel from the SSD1963? I posted my question at Reading pixel from Kentec 7.0 800x480 SSD1963 on Tiva C Series LaunchPad at the E2E forum. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.