Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation error (configured online) #556

Closed
Jerimon1998 opened this issue Jul 29, 2016 · 4 comments
Closed

Compilation error (configured online) #556

Jerimon1998 opened this issue Jul 29, 2016 · 4 comments

Comments

@Jerimon1998
Copy link

This is the download from the configuration I created based off my printer's old firmware (copied over the settings that were in common, and measured those that were not):
Repetier-Firmware-2016-07-25.zip
The rest of the details for this issue is at the repetier software forums.

@jamesarm97
Copy link

do you have a define like the following in your configuration.h file?

#define Z_PROBE_X_OFFSET 0
#define Z_PROBE_Y_OFFSET 0

@Jerimon1998
Copy link
Author

In the past 24 hours I have been working to solve most of the problems I had. Most of them turned out to be user error (I messed something up and didn't realize/understand it). I have finally moved on to actually uploading code to the board, but seem to be having a problem doing so. The USBasp that I am using (and now have correctly connected) seems to be "stuck" during programming. The action LED stays solid, as if it is still programming, even after the Arduino IDE is no longer showing that it is uploading. I am using the "Upload using programmer" method, with USBasp selected in the tools menu, and the corresponding drivers installed. The IDE acts as if everything is fine, and even told me when I had the connector oriented incorrectly (as I later learned).
In other words, there is no problem with the latest firmware download (based off the entry of the missing value that caused my first problem) as far as compiling goes. All I need now is for the firmware to make its way into the board correctly.

@Jerimon1998
Copy link
Author

I have finally deduced that the culprit is the programmer. Therefore, I am now closing this issue. I thank jamesarm97 and anyone who looked at this issue for their time. There are two main points that I have to make from this: Firstly, the configuration wizard could be improved by forcing any value left blank to its default. This would remove the issue of missing values when compiled. More importantly, there was no "Repetier.cbp" or "Repetier.cpp" file to be found in the download. The .ino file did not work in the codeblocks program, even when the the file ending was changed. At the end of compilation, it would always come up with "Error linking objects."; or, if tried to compile duplicate files (as it tends to do on second runs), it would come up with a slurry of errors.

@repetier
Copy link
Owner

Official codeblocks support has been removed. Problem was that Arduino could not compile any more (compile behaviour ha schanged) when codeblocks had it's extra files includes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants