Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. fresh install, now compile errors ?

fresh install, now compile errors ?

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 1.8k Views 1 Watching
  • 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.
  • K Offline
    K Offline
    kr0815
    wrote on last edited by
    #1

    Because of some Problems with DS18b20, posted here in another thread, i decided to make a new Installation:

    • Arduino 1.0.6 in a Folder, in that subfolder the MySensors-Sketches, i adaptet the Settings in Arduino IDE to that Folder

    Now i get compile Errors

    What is going wrong ?

    In file included from PressureSensor.ino:31:
    C:\Users\KR\Desktop\arduino-1.0.6\Neuer Ordner\libraries\MySensors/MySensor.h:158: error: expected type-specifier before 'MyHwDriver'
    C:\Users\KR\Desktop\arduino-1.0.6\Neuer Ordner\libraries\MySensors/MySensor.h:158: error: default argument for parameter of type 'MyHw&' has type 'int'
    C:\Users\KR\Desktop\arduino-1.0.6\Neuer Ordner\libraries\MySensors/MySensor.h:158: error: expected ',' before 'MyHwDriver'

    1 Reply Last reply
    0
    • HoffanH Offline
      HoffanH Offline
      Hoffan
      wrote on last edited by
      #2

      It sounds that you use an very old Arduino 1.0.6

      You should use like 1.6.x

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kr0815
        wrote on last edited by
        #3

        Thought i´d go better with the old 1.0.6, installed now on a fresh PC 1.6.6

        when compiling

        void setup() {
          // put your setup code here, to run once:
        
        }
        
        void loop() {
          // put your main code here, to run repeatedly:
        
        }
        
        

        i already get:

        Warning: platform.txt from core 'MySensors AVR based boards' contains deprecated recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{build.path}/{archive_file}" "{object_file}", automatically converted to recipe.ar.pattern="{compiler.path}{compiler.ar.cmd}" {compiler.ar.flags} {compiler.ar.extra_flags} "{archive_file_path}" "{object_file}". Consider upgrading this core.
        WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
        
        

        But it compiles till the end
        Is ist ok to ignore this fault?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          johnr
          wrote on last edited by
          #4

          I have the same problem. Downloaded 1.6.5 it works fine.

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          19

          Online

          12.0k

          Users

          11.2k

          Topics

          113.4k

          Posts


          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • MySensors
          • OpenHardware.io
          • Categories
          • Recent
          • Tags
          • Popular