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

Missing note about how to compile and run the simulator #22

Open
adragomir opened this issue Apr 16, 2014 · 6 comments
Open

Missing note about how to compile and run the simulator #22

adragomir opened this issue Apr 16, 2014 · 6 comments

Comments

@adragomir
Copy link

Hey, I tried compiling and running the MarlinSimulator a bunch of times, there are some issues related to:

  1. SDL on Mac OS X
  2. Compilation fails with Clang.

Maybe some small description on how to compile the simulator would be useful. I still could not get it to work.

@krasin
Copy link
Contributor

krasin commented Apr 16, 2014

+1

a couple of weeks ago, I tried to understand how to run the simulator and failed miserably. A doc would be very much appreciated.

@daid
Copy link
Contributor

daid commented Apr 16, 2014

You need to add the following defines:
AVR_ATmega2560=1
ARDUINO=100
F_CPU=16000000

I've been using code-blocks to compile the project.

@krasin
Copy link
Contributor

krasin commented Apr 16, 2014

@daid I am still confused. There's no Makefile or the like under ./MarlinSimulator. Does it mean that you just load the files in the directory into code-blocks and it compiles w/o any Makefile/project file?

@adragomir
Copy link
Author

@daid I think a good starting point would be to add the Code::Blocks project files to the repository, so they serve as a starting point.

@daid
Copy link
Contributor

daid commented Apr 17, 2014

Good point, I forgot to include that file.

daid added a commit that referenced this issue Apr 17, 2014
@gkesava
Copy link

gkesava commented Jan 28, 2015

Did any one found out.... the process i tried a lot but no use. plz help us

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

4 participants