Code Monkey home page Code Monkey logo

cocos-headers's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cocos-headers's Issues

Some compiler errors in CCCommon.h

I get these 3 errors in CCCommon.h header file for some reason
image

I was able to fix second one by deleting initialization of first element of LanguageType, it's a weird error since

Other two just don't make sense for me but they prevent my project from compiling

Project uses C++ 17 and 32-bit release building configuration + current version of this repository's master branch

snprintf

Code Description File Line
C1189 #error: Macro definition of snprintf conflicts with Standard Library function declaration ...\WindowsKits\10\Include\10.0.22000.0\ucrt\stdio.h 1914

cannot build with llvm

The code compiles successfully, but the linker throws an errors lld-link: error: undefined symbol. ofc i linked libcocos2d.lib
image

C:\Users\cafeed28>clang++ --version
clang version 13.0.0
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\Program Files\LLVM\bin

C:\Users\cafeed28>lld-link --version
LLD 13.0.0

Full log:
clang.log

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.