Community Forum
    • Blog
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    ArduiPi_OLED install error

    Scheduled Pinned Locked Moved ArduiPi
    2 Posts 2 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A Offline
      Alain
      last edited by

      J'essaye d'installer la librairie ArduiPi_OLED, sur 3 cartes Raspberry diférentes (B,B+,2B) toutes à jour ( Version 4.14.33+ #1108 Mon Apr 9 17:19:29 BST 2018 armv6l) ou (V 4.14.33-v7+ #1109 SMP Tue Apr 10 17:28:38 BST 2018 armv7l GNU/Linux).
      J'ai toujours l'erreur suivante lors du "make":
      ---- copie d'écran ------


      pi@pi15 ~/ArduiPi_OLED $ sudo make
      g++ -Wall -fPIC -fno-rtti -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c ArduiPi_OLED.cpp
      ArduiPi_OLED.cpp: In member function ‘void ArduiPi_OLED::putSeedChar(char)’:
      ArduiPi_OLED.cpp:635:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
      ./ArduiPi_OLED_lib.h: At global scope:
      ./ArduiPi_OLED_lib.h:58:21: warning: ‘oled_type_str’ defined but not used [-Wunused-variable]
      g++ -Wall -fPIC -fno-rtti -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c Adafruit_GFX.cpp
      ./ArduiPi_OLED_lib.h:58:21: warning: ‘oled_type_str’ defined but not used [-Wunused-variable]
      gcc -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c bcm2835.c
      gcc -Wall -fPIC -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -c Wrapper.cpp
      Wrapper.cpp: In function ‘int16_t Wrapper_DisplayWidth()’:
      Wrapper.cpp:233:1: warning: no return statement in function returning non-void [-Wreturn-type]
      Wrapper.cpp: In function ‘int16_t Wrapper_DisplayHeight()’:
      Wrapper.cpp:238:1: warning: no return statement in function returning non-void [-Wreturn-type]
      ./ArduiPi_OLED_lib.h: At global scope:
      ./ArduiPi_OLED_lib.h:58:21: warning: ‘oled_type_str’ defined but not used [-Wunused-variable]
      g++ -shared -Wl,-soname,libArduiPi_OLED.so.1 -Ofast -mfpu=vfp -mfloat-abi=hard -march=armv6zk -mtune=arm1176jzf-s -o libArduiPi_OLED.so.1.0 ArduiPi_OLED.o Adafruit_GFX.o bcm2835.o Wrapper.o -li2c
      /usr/bin/ld: ne peut trouver -li2c
      collect2: ld returned 1 exit status
      Makefile:54: recipe for target 'ArduiPi_OLED' failed
      make: *** [ArduiPi_OLED] Error 1
      **
      pi@pi15 ~/ArduiPi_OLED $

      Puisse une bonne âme me donner une solution ?
      Merci d'avance

      1 Reply Last reply Reply Quote
      • L Offline
        LauriBuell
        last edited by LauriBuell

        You have to add in detail, exactly (no "the/library/folder" or "the/include/folder " but the correct paths/terms) - unfortunately I have no idea where files are stored ( or not ) after apt-get install.
        But I never use make or makefile or whatever for my C/C++ projects, that's far too weird to me. Geany must do all that automatically, so I need the actual parameters.

        pcb assembly

        1 Reply Last reply Reply Quote
        • First post
          Last post

        2

        Online

        5.7k

        Users

        534

        Topics

        5.0k

        Posts

        Top Topics

        • Bonjour Nicolas
          Nicolas BernaertsN
          Nicolas Bernaerts
          0
          19
          556

        • Denky 4 - Domoticz - Triphasé -
          Nicolas BernaertsN
          Nicolas Bernaerts
          0
          7
          227

        • Denky D4 et Linky Standard TInfo Rx Non Configuré
          CharlesC
          Charles
          0
          5
          277

        • CC1101
          CharlesC
          Charles
          0
          2
          114

        Popular Tags

        teleinfo
        24 topics
        arduino
        19 topics
        remora
        16 topics
        esp8266
        10 topics
        arduipi
        10 topics
        wifinfo
        7 topics
        raspberry
        7 topics
        broadcast
        7 topics
        Copyright © 2022 Charles-Henri Hallard | Return to blog page | Powered by NodeBB