Created Sat, 19 Nov 2011 17:03:56 +0000 by meistro
Sat, 19 Nov 2011 17:03:56 +0000
Hi guys, I have an error about missing shared library when trying to verify a sketch...
/home/mark/chipKIT32-chipKIT32-MAX-a081274/build/linux/work/hardware/pic32/compiler/pic32-tools/bin/../pic32mx/bin/gcc/pic32mx/4.5.1/cc1plus: error while loading shared libraries: libcloog-ppl.so.0: cannot open shared object file: No such file or directory
Thats what I get in the little MPIDE window. How can I fix this? I'm trying to use my Cerebot32MX4 with my Ubuntu X64 machine.
Thanks :) Meistro
Sat, 19 Nov 2011 17:09:19 +0000
Here is from start to finish what the output is...
in order a summary.. git clone cd to build dir, run ant clean ant ant run open blink sketch click verify
mark@markbuntu:~/chipKIT32-MAX/build$ ant run
Buildfile: build.xml
run:
revision-check:
linux-checkos:
subprojects-build:
compile:
[methods] No changes to PApplet API.
build:
compile:
build:
linux-build:
assemble:
[copy] Copying 1 file to /home/mark/chipKIT32-MAX/build/linux/work/hardware
[unzip] Expanding: /home/mark/chipKIT32-MAX/build/shared/reference.zip into /home/mark/chipKIT32-MAX/build/linux/work
[unzip] Expanding: /home/mark/chipKIT32-MAX/build/linux/dist/cpp-chipKIT-linux-x86-20110609.zip into /home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/compiler
linux64-build:
[copy] Copying 1 file to /home/mark/chipKIT32-MAX/build/linux/work/hardware/tools
[copy] Copying 1 file to /home/mark/chipKIT32-MAX/build/linux/work/lib
[unzip] Expanding: /home/mark/chipKIT32-MAX/build/linux/dist/cpp-chipKIT-linux-AMD64-20110511.zip into /home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/compiler
linux64-run:
[exec] 0 [main] DEBUG processing.app.Base - DEBUG: Logging enabled.processing.app.Base
[exec] 199 [main] DEBUG processing.app.Base - Target initiated: name = arduino folder= arduino
[exec] 203 [main] DEBUG processing.app.Base - Target initiated: name = pic32 folder= pic32
[exec] 207 [main] DEBUG processing.app.Base - Target initiated: name = tools folder= tools
[exec] 208 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 208 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 208 [main] DEBUG processing.app.Base - librariesFolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries
[exec] 526 [main] DEBUG processing.app.Base - DEBUG: Enter: rebuildExamplesMenu
[exec] 526 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 526 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 526 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 544 [main] DEBUG processing.app.Base - DEBUG: Find examples in library.core.path = ./hardware/pic32/libraries
[exec] 581 [main] DEBUG processing.app.Base - DEBUG:start: rebuilding import menu
[exec] 581 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 581 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 581 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 582 [main] DEBUG processing.app.Base - library.core.path = ./hardware/pic32/libraries
[exec] 582 [main] DEBUG processing.app.Base - DEBUG: add libraries.
[exec] 582 [main] DEBUG processing.app.Base - DEBUG: start: addLibraries.
[exec] 583 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/ArduinoTestSuite
[exec] 586 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/EEPROM
[exec] 586 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Ethernet
[exec] 586 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Firmata
[exec] 587 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/LiquidCrystal
[exec] 587 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Matrix
[exec] 587 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SD
[exec] 588 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Servo
[exec] 588 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SoftPWMServo
[exec] 588 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SoftwareSerial
[exec] 588 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SPI
[exec] 589 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Sprite
[exec] 589 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Stepper
[exec] 589 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Wire
[exec] 590 [main] DEBUG processing.app.Base - DEBUG: start: addLibraries.
[exec] 597 [main] DEBUG processing.app.Base - DEBUG: start: rebuilding boards menu.
[exec] 598 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 598 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 599 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 600 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 600 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 600 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 600 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 601 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 601 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 601 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 601 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 602 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 602 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 602 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 602 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 603 [main] DEBUG processing.app.Base - Get boards for: tools
[exec] 603 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 603 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 603 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 603 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 603 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 604 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 604 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 604 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 604 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 605 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 605 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 605 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 605 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 606 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 606 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 606 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 606 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 607 [main] DEBUG processing.app.Base - Get boards for: arduino
[exec] 607 [main] DEBUG processing.app.Base - DEBUG: end: rebuilding boards menu.
[exec] 607 [main] DEBUG processing.app.Base - DEBUG:start: rebuilding import menu
[exec] 607 [main] DEBUG processing.app.Base - Get boards for: pic32
[exec] 607 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 607 [main] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 607 [main] DEBUG processing.app.Base - library.core.path = ./hardware/pic32/libraries
[exec] 607 [main] DEBUG processing.app.Base - DEBUG: add libraries.
[exec] 607 [main] DEBUG processing.app.Base - DEBUG: start: addLibraries.
[exec] 608 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/ArduinoTestSuite
[exec] 608 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/EEPROM
[exec] 608 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Ethernet
[exec] 609 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Firmata
[exec] 609 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/LiquidCrystal
[exec] 609 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Matrix
[exec] 610 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SD
[exec] 610 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Servo
[exec] 610 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SoftPWMServo
[exec] 611 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SoftwareSerial
[exec] 611 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SPI
[exec] 611 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Sprite
[exec] 612 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Stepper
[exec] 612 [main] DEBUG processing.app.Base - Base.subfolder: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Wire
[exec] 612 [main] DEBUG processing.app.Base - DEBUG: start: addLibraries.
[exec] Stable Library
[exec] =========================================
[exec] Native lib Version = RXTX-2.1-7
[exec] Java lib Version = RXTX-2.1-7
[exec] 666 [main] DEBUG processing.app.Base - Get programmers for: pic32
[exec] 667 [main] DEBUG processing.app.Base - Get programmers for: tools
[exec] 667 [main] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 667 [main] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 667 [main] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 668 [main] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 668 [main] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 669 [main] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 714 [main] DEBUG processing.app.Base - addsketches librariesFolder: true: /home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries
[exec] 899 [AWT-EventQueue-0] DEBUG processing.app.Base - Get boards for: pic32
[exec] 15540 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: pic32
[exec] 15540 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: tools
[exec] 15540 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 15540 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 15541 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 15542 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 15542 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 15543 [AWT-EventQueue-0] DEBUG processing.app.Base - Get programmers for: arduino
[exec] 15630 [AWT-EventQueue-0] DEBUG processing.app.Base - Get boards for: pic32
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec]
[exec] 17928 [Thread-3] DEBUG processing.app.Base - PdePreprocessor: Start
[exec] 17936 [Thread-3] DEBUG processing.app.Base - Prepro: writeProgram
[exec] 17936 [Thread-3] DEBUG processing.app.Base - Program: /*
[exec] Blink
[exec] Turns on an LED on for one second, then off for one second, repeatedly.
[exec]
[exec] This example code is in the public domain.
[exec] */
[exec]
[exec] void setup() {
[exec] // initialize the digital pin as an output.
[exec] // Pin 13 has an LED connected on most Arduino boards:
[exec] pinMode(13, OUTPUT);
[exec] }
[exec]
[exec] void loop() {
[exec] digitalWrite(13, HIGH); // set the LED on
[exec] delay(1000); // wait for a second
[exec] digitalWrite(13, LOW); // set the LED off
[exec] delay(1000); // wait for a second
[exec] }
[exec]
[exec]
[exec] 17936 [Thread-3] DEBUG processing.app.Base - prototypes: [void setup();, void loop();]
[exec] 17937 [Thread-3] DEBUG processing.app.Base - write() return name: Blink
[exec] 17937 [Thread-3] DEBUG processing.app.Base - preprocessor.getExtraImports()[]
[exec] 17937 [Thread-3] DEBUG processing.app.Base - Base.importToLibraryTable: {Client.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Ethernet, Servo.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Servo, Ethernet.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Ethernet, Matrix.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Matrix, SD.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SD, binary.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Sprite, ArduinoTestSuite.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/ArduinoTestSuite, EEPROM.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/EEPROM, SoftwareSerial.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SoftwareSerial, Sprite.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Sprite, Server.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Ethernet, SoftPWMServo.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SoftPWMServo, Udp.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Ethernet, LiquidCrystal.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/LiquidCrystal, SPI.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/SPI, Firmata.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Firmata, avr_cpunames.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/ArduinoTestSuite, Wire.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Wire, Boards.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Firmata, Stepper.h=/home/mark/chipKIT32-MAX/build/linux/work/./hardware/pic32/libraries/Stepper}
[exec] 17938 [Thread-3] DEBUG processing.app.Base - DEBUG: Compiler(): Start no arguments
[exec] 17938 [Thread-3] DEBUG processing.app.Base - DEBUG: Compiler.java: Start Compile(...).
[exec] 17939 [Thread-3] DEBUG processing.app.Base - Get boards for: pic32
[exec] 17940 [Thread-3] DEBUG processing.app.Base - Get platformsfor: pic32
[exec] 17940 [Thread-3] DEBUG processing.app.Base - Get sketchprefs for: pic32
[exec] 17941 [Thread-3] DEBUG processing.app.Base - avrBasePath: {0}/hardware/pic32/compiler/pic32-tools/bin/
[exec] 17943 [Thread-3] DEBUG processing.app.Base - corePaths: /home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32
[exec] 17943 [Thread-3] DEBUG processing.app.Base - 0. getIncludes
[exec] 17944 [Thread-3] DEBUG processing.app.Base - corePath: /home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32
[exec] 17944 [Thread-3] DEBUG processing.app.Base - getSketchFlderPath: /home/mark/chipKIT32-MAX/build/linux/work/examples/1.Basics/Blink
[exec] 17944 [Thread-3] DEBUG processing.app.Base - 1. compileSketch
[exec] 17944 [Thread-3] DEBUG processing.app.Base - compileSketch: start
[exec] 17944 [Thread-3] DEBUG processing.app.Base - getCommandCompilerCPP: start
[exec] 17944 [Thread-3] DEBUG processing.app.Base - Source: /tmp/build7421481238796706552.tmp/Blink.cpp
[exec] 17944 [Thread-3] DEBUG processing.app.Base - execAsynchronously: start
[exec] /home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/compiler/pic32-tools/bin/../pic32mx/bin/gcc/pic32mx/4.5.1/cc1plus: error while loading shared libraries: libcloog-ppl.so.0: cannot open shared object file: No such file or directory
[exec] Experimental: JNI_OnLoad called.
BUILD SUCCESSFUL
Total time: 33 seconds
mark@markbuntu:~/chipKIT32-MAX/build$
Sat, 19 Nov 2011 23:44:21 +0000
Ok I got past that by installing a package from here.. [url]http://packages.debian.org/squeeze/amd64/libcloog-ppl0/download[/url]
Now I have this error..
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp: In constructor 'String::String(int, int)':
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:64:37: error: invalid conversion from 'long int' to 'char*'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:64:37: error: initializing argument 1 of 'char* itoa(char*, int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:64:37: error: invalid conversion from 'char*' to 'int'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:64:37: error: initializing argument 2 of 'char* itoa(char*, int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp: In constructor 'String::String(unsigned int, int)':
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:73:40: error: invalid conversion from 'long unsigned int' to 'char*'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:73:40: error: initializing argument 1 of 'char* ultoa(char*, long unsigned int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:73:40: error: invalid conversion from 'char*' to 'long unsigned int'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:73:40: error: initializing argument 2 of 'char* ultoa(char*, long unsigned int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp: In constructor 'String::String(long int, int)':
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:82:24: error: invalid conversion from 'long int' to 'char*'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:82:24: error: initializing argument 1 of 'char* ltoa(char*, long int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:82:24: error: invalid conversion from 'char*' to 'long int'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:82:24: error: initializing argument 2 of 'char* ltoa(char*, long int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp: In constructor 'String::String(long unsigned int, int)':
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:91:23: error: invalid conversion from 'long unsigned int' to 'char*'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:91:23: error: initializing argument 1 of 'char* ultoa(char*, long unsigned int, int)'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:91:23: error: invalid conversion from 'char*' to 'long unsigned int'
/home/mark/chipKIT32-MAX/build/linux/work/hardware/pic32/cores/pic32/WString.cpp:91:23: error: initializing argument 2 of 'char* ultoa(char*, long unsigned int, int)'
Any Ideas?