Code Monkey home page Code Monkey logo

Comments (5)

jnthas avatar jnthas commented on May 28, 2024

Got it. Let me ask @abrender maybe he knows the issue.

from clockwise.

makerawei avatar makerawei commented on May 28, 2024

@abrender could you please help me to solve the error;)thanks a lot !

from clockwise.

jnthas avatar jnthas commented on May 28, 2024

@makerawei take a look at this branch, i was able to build it without errors -> #70

I dont know you are aware but you don't need to use esp-idf to compile the project, just open it in platform.io and it will work fine with arduino framework

from clockwise.

makerawei avatar makerawei commented on May 28, 2024

@jnthas thanks a lot;)
I tested your commit, and for success building there should be a CMakeList.txt in PNGdec


if(ESP_PLATFORM)
	idf_component_register(INCLUDE_DIRS src)
	return()
endif()

project(PNGdec VERSION 1.0.1)
add_subdirectory(src)

And a code line in cw-cf-0x07/Clockface.cpp:198 is always true.

bool shouldReturnToOrigin = doc["loop"][sprite->_spriteReference]["shouldReturnToOrigin"].as<bool>() ? : false;

this code would be error in my ESP-IDF env.
After change it to

bool shouldReturnToOrigin = doc["loop"][sprite->_spriteReference]["shouldReturnToOrigin"].as<bool>() ? true : false;

I build pacman success !

from clockwise.

jnthas avatar jnthas commented on May 28, 2024

Great! As PNGdec don't have the CMakesList file, you could open a PR there if you want.

from clockwise.

Related Issues (20)

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.