Coder Social home page Coder Social logo

Comments (7)

FASTSHIFT avatar FASTSHIFT commented on August 14, 2024

@kehale
identifier "class" is undefined 说明没有用C++编译器
您用的是什么版本的keil

from arduino-for-keil.

kehale avatar kehale commented on August 14, 2024

5.14

from arduino-for-keil.

FASTSHIFT avatar FASTSHIFT commented on August 14, 2024

关于"FileGroup.h"前面的x号,可以尝试 Options for target->C/C++->Misc Controls 里的"--gnu"去除

from arduino-for-keil.

FASTSHIFT avatar FASTSHIFT commented on August 14, 2024

可能是keil版本导致的,建议换5.25版本,我编译没问题。

from arduino-for-keil.

kehale avatar kehale commented on August 14, 2024

嗯。谢谢了

from arduino-for-keil.

FASTSHIFT avatar FASTSHIFT commented on August 14, 2024

另外,.c里不能直接调用C++,不能引用C++的头文件,您需要把.c文件的扩展名改为.cpp

from arduino-for-keil.

kehale avatar kehale commented on August 14, 2024

谢谢了 是c++的问题的解决了

from arduino-for-keil.

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.