Giter Club home page Giter Club logo

game_engine_for_esp8266_with_compiler's Issues

How to compile this project?

I tried to compile this project using Arduino IDE, but some errors occured.
I think my project setting is not right.
I would appreciate it if you could tell me your project settings.

Environment

  • OS: macOS High Sierra Version 10.13.6
  • Arduino IDE: v1.8.5
    • Board Setting: WEMOS D1 & mini
  • Board: WEMOS D1 mini

What I tried

  1. follow this tutorial for board setting:
    • install CH340G driver
    • install hardware package using git
  2. setup project
    • clone this repository
    • install two libraries
  3. push compile button on Arduino IDE

Error

In disply.ino, the following error occured.

display:1054: error: macro "putchar" passed 3 arguments, but takes just 1
     putchar(charArray[i], (i % 21) * 6, (i / 21) * 8);
                                                     ^
display:1096: error: macro "putchar" passed 3 arguments, but takes just 1
     putchar(c, regx * 6, regy * 8);
                                  ^
display:1123: error: macro "putchar" passed 3 arguments, but takes just 1
     putchar(s[i], i * 6, y);
                           ^
display:1128: error: macro "putchar" passed 3 arguments, but takes just 1
 void putchar(char c, uint8_t x, uint8_t y) {
                                          ^
exit status 1
macro "putchar" passed 3 arguments, but takes just 1

This error was fixed by changing putchar to putchar_, but it's not a solution to the root of the problem, so other errors happened one after another.

I think my project setting is not right.
I would appreciate it if you could tell me your project settings or how to solve this problem.

Thanks.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.