Welcome, Guest. Please Login or Register. Dec 22nd, 2024, 1:04am
Home Home Help Help Search Search Members Members Login Login Register Register
OkOb Web Forum « X_MAX_POS was not declared in this scop »


   OkOb Web Forum
   3D Printing
   3D Printing and RepRap X2 Discussion
(Moderator: Denis Bakin)
   X_MAX_POS was not declared in this scop
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: X_MAX_POS was not declared in this scop  (Read 8515 times)
samo
YaBB Senior Member
****



I love YaBB 1G - SP1!

   


Posts: 31
X_MAX_POS was not declared in this scop
« on: Jun 10th, 2016, 3:28pm »
Quote Quote Modify Modify

Hello ,  
In Configuration.h file Line 259
Code:

// If the machine can independently move the second extruder on the X or Y axis
// uncomment the appropriate define and uncomment/use paramters with X0/X1/Y0/Y1  
// instead of X/Y in their name (those are dual drive specific).
#define DUAL_X_DRIVE

 
when i change it to as it said  
 
Code:
// If the machine can independently move the second extruder on the X or Y axis
// uncomment the appropriate define and uncomment/use paramters with X0/X1/Y0/Y1  
// instead of X/Y in their name (those are dual drive specific).
//#define DUAL_X_DRIVE
#define DUAL_X0_DRIVE
#define DUAL_X1_DRIVE

 
im getting this error during upload  
Code:

Marlin_main.cpp:782: error: 'X_MAX_POS' was not declared in this scope
Marlin_main.cpp:783: error: 'X_HOME_DIR' was not declared in this scope
Marlin_main.cpp: In function 'void clamp_to_software_endstops(float*)':
Marlin_main.cpp:2523: error: 'X_MIN_POS' was not declared in this scope
Marlin_main.cpp:2529: error: 'X_MAX_POS' was not declared in this scope

Shall i leave it as default ? or have to modify Marlin_main.cpp file ?
IP Logged
Denis Bakin
YaBB Administrator
*****





   
WWW

Gender: male
Posts: 163
Re: X_MAX_POS was not declared in this scop
« Reply #1 on: Jun 10th, 2016, 3:48pm »
Quote Quote Modify Modify

The config file you are using already set up for dual extruder machine with 2 extruders on X axis.  
Do NOT change DUAL_X_DRIVE to DUAL_X0_DRIVE.  
IP Logged

---------------------------
Denis Bakin
samo
YaBB Senior Member
****



I love YaBB 1G - SP1!

   


Posts: 31
Re: X_MAX_POS was not declared in this scop
« Reply #2 on: Jun 14th, 2016, 1:51pm »
Quote Quote Modify Modify

on Jun 10th, 2016, 3:48pm, Denis Bakin wrote:
The config file you are using already set up for dual extruder machine with 2 extruders on X axis.  
Do NOT change DUAL_X_DRIVE to DUAL_X0_DRIVE.  
 

 
Thank's
IP Logged
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

Home OkOb Web Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2003. All Rights Reserved.