Welcome! Log In Create A New Profile

Advanced

erreur compilation

Posted by cliclac90 
erreur compilation
July 21, 2014 03:36AM
salut à tous

Je suis à la fin de la construction de mon imprimante 3D.
Vous m'avez tous été déja d'un grand aide par vos expériences ici.
J'en suis à configurer mon Marlin et j'ai une erreur de compilation :

In file included from /Marlin.h:22,
from BlinkM.cpp:5:
/Configuration.h:717:2: error: #endif without #if

je sèche,

qui peut m'aider

francis
Re: erreur compilation
July 21, 2014 03:40AM
T'as surement mis en commentaire un "#ifdef" ou un "#if" au dessus de la ligne 717 du Configuration.h

Envois le fichier au complet si tu ne trouves pas.

Edited 3 time(s). Last edit at 07/21/2014 03:41AM by Mikadoh.
Re: erreur compilation
July 21, 2014 04:38AM
merci pour ta reponse rapide
je vois pas trop

ci joint mon configuration h

merci d'avance
Attachments:
open | download - CONFIGURATION H.txt (30.9 KB)
Re: erreur compilation
July 21, 2014 06:38AM
a tu modifié que le configuration.h ?
Re: erreur compilation
July 21, 2014 08:56AM
Ligne 337, essais de remplacer :
//#ifdef ENABLE_AUTO_BED_LEVELING
Par
#ifdef ENABLE_AUTO_BED_LEVELING
Re: erreur compilation
July 21, 2014 09:02AM
En fait à ce que je vois t'as commenter toutes les lignes de l'autolevel.
Il suffait simplement de commenter la première ligne pour le désactiver ;-)

Donc au final ça :
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)

//#ifdef ENABLE_AUTO_BED_LEVELING

// There are 2 different ways to pick the X and Y locations to probe:

//  - "grid" mode
//    Probe every point in a rectangular grid
//    You must specify the rectangle, and the density of sample points
//    This mode is preferred because there are more measurements.
//    It used to be called ACCURATE_BED_LEVELING but "grid" is more descriptive

//  - "3-point" mode
//    Probe 3 arbitrary points on the bed (that aren't colinear)
//    You must specify the X & Y coordinates of all 3 points


  //#define AUTO_BED_LEVELING_GRID
  // with AUTO_BED_LEVELING_GRID, the bed is sampled in a
  // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid
  // and least squares solution is calculated
  // Note: this feature occupies 10'206 byte
  //#ifdef AUTO_BED_LEVELING_GRID

    // set the rectangle in which to probe
    //#define LEFT_PROBE_BED_POSITION 15
    //#define RIGHT_PROBE_BED_POSITION 170
    //#define BACK_PROBE_BED_POSITION 180
    //#define FRONT_PROBE_BED_POSITION 20

     // set the number of grid points per dimension
     // I wouldn't see a reason to go above 3 (=9 probing points on the bed)
    //#define AUTO_BED_LEVELING_GRID_POINTS 2


  //#else  // not AUTO_BED_LEVELING_GRID
    // with no grid, just probe 3 arbitrary points.  A simple cross-product
    // is used to esimate the plane of the print bed

      //#define ABL_PROBE_PT_1_X 15
      //#define ABL_PROBE_PT_1_Y 180
      //#define ABL_PROBE_PT_2_X 15
      //#define ABL_PROBE_PT_2_Y 20
      //#define ABL_PROBE_PT_3_X 170
      //#define ABL_PROBE_PT_3_Y 20

  //#endif // AUTO_BED_LEVELING_GRID
Devient :
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line)

#ifdef ENABLE_AUTO_BED_LEVELING

// There are 2 different ways to pick the X and Y locations to probe:

//  - "grid" mode
//    Probe every point in a rectangular grid
//    You must specify the rectangle, and the density of sample points
//    This mode is preferred because there are more measurements.
//    It used to be called ACCURATE_BED_LEVELING but "grid" is more descriptive

//  - "3-point" mode
//    Probe 3 arbitrary points on the bed (that aren't colinear)
//    You must specify the X & Y coordinates of all 3 points

  //#define AUTO_BED_LEVELING_GRID
  // with AUTO_BED_LEVELING_GRID, the bed is sampled in a
  // AUTO_BED_LEVELING_GRID_POINTSxAUTO_BED_LEVELING_GRID_POINTS grid
  // and least squares solution is calculated
  // Note: this feature occupies 10'206 byte
  #ifdef AUTO_BED_LEVELING_GRID

    // set the rectangle in which to probe
    #define LEFT_PROBE_BED_POSITION 15
    #define RIGHT_PROBE_BED_POSITION 170
    #define BACK_PROBE_BED_POSITION 180
    #define FRONT_PROBE_BED_POSITION 20

     // set the number of grid points per dimension
     // I wouldn't see a reason to go above 3 (=9 probing points on the bed)
    #define AUTO_BED_LEVELING_GRID_POINTS 2


  #else  // not AUTO_BED_LEVELING_GRID
    // with no grid, just probe 3 arbitrary points.  A simple cross-product
    // is used to esimate the plane of the print bed

      #define ABL_PROBE_PT_1_X 15
      #define ABL_PROBE_PT_1_Y 180
      #define ABL_PROBE_PT_2_X 15
      #define ABL_PROBE_PT_2_Y 20
      #define ABL_PROBE_PT_3_X 170
      #define ABL_PROBE_PT_3_Y 20

  #endif // AUTO_BED_LEVELING_GRID

Edited 1 time(s). Last edit at 07/21/2014 09:04AM by Mikadoh.
Re: erreur compilation
July 21, 2014 10:46AM
Quote
wizzhardandco
a tu modifié que le configuration.h ?

j'ai seulement modifier pins.h pour definir ma ramps

bingo ca marche : merci Mikadoh

mais je pense que je vais encore avoir à faire appel à vous pour mettre au point ma 3D : je suis grand débutant.

et quand ca sera + au point je ne manquerai pas de vous présenter ma machine
Sorry, only registered users may post in this forum.

Click here to login