GithubHelp home page GithubHelp logo

windows 编译失败 about piccolo HOT 8 OPEN

buctbamboo avatar buctbamboo commented on May 15, 2024
windows 编译失败

from piccolo.

Comments (8)

hyv1001 avatar hyv1001 commented on May 15, 2024

Seems that it's the problem of windows sdk.
Could you build the glfw library standalone?

from piccolo.

buctbamboo avatar buctbamboo commented on May 15, 2024

Seems that it's the problem of windows sdk. Could you build the glfw library standalone?

image
这个可以单独编译成功

from piccolo.

hyv1001 avatar hyv1001 commented on May 15, 2024

(编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rd party\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(123): message : 参见“APIENTRY”的前一个定义 (编译源 文件 D:\GameEng ineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxpr oj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\wingdi.h(36,1): warning C4005: “WINGDIAPI”: 宏重定义 ( 编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\i mgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(133): message : 参见“WINGDIAPI”的前一个定义 (编译源文件 D:\GameEn gineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxp roj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(861,25): error C2146: 语法错误: 缺少“;”(在标识符“WndP rocNoInputs”的前面) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(862,1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj]

Seems it's the imgui compile failed, could you try to compile the imgui library standalone?

from piccolo.

buctbamboo avatar buctbamboo commented on May 15, 2024

image
bu不识别这个callback的宏

from piccolo.

buctbamboo avatar buctbamboo commented on May 15, 2024

(编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rd party\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(123): message : 参见“APIENTRY”的前一个定义 (编译源 文件 D:\GameEng ineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxpr oj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\wingdi.h(36,1): warning C4005: “WINGDIAPI”: 宏重定义 ( 编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\i mgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(133): message : 参见“WINGDIAPI”的前一个定义 (编译源文件 D:\GameEn gineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxp roj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(861,25): error C2146: 语法错误: 缺少“;”(在标识符“WndP rocNoInputs”的前面) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(862,1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj]

Seems it's the imgui compile failed, could you try to compile the imgui library standalone?

image
不识别callback的宏

from piccolo.

yjhgithub avatar yjhgithub commented on May 15, 2024

(编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rd party\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(123): message : 参见“APIENTRY”的前一个定义 (编译源 文件 D:\GameEng ineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxpr oj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\wingdi.h(36,1): warning C4005: “WINGDIAPI”: 宏重定义 ( 编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\i mgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(133): message : 参见“WINGDIAPI”的前一个定义 (编译源文件 D:\GameEn gineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxp roj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(861,25): error C2146: 语法错误: 缺少“;”(在标识符“WndP rocNoInputs”的前面) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(862,1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj]
Seems it's the imgui compile failed, could you try to compile the imgui library standalone?

image 不识别callback的宏

删除build目录,试一下重新构建工程。

from piccolo.

buctbamboo avatar buctbamboo commented on May 15, 2024

(编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rd party\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(123): message : 参见“APIENTRY”的前一个定义 (编译源 文件 D:\GameEng ineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxpr oj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\um\wingdi.h(36,1): warning C4005: “WINGDIAPI”: 宏重定义 ( 编译源文件 D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\i mgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\glfw\include\GLFW/glfw3.h(133): message : 参见“WINGDIAPI”的前一个定义 (编译源文件 D:\GameEn gineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxp roj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(861,25): error C2146: 语法错误: 缺少“;”(在标识符“WndP rocNoInputs”的前面) [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj] D:\GameEngineLearn\Pilot\engine\3rdparty\imgui\backends\imgui_impl_glfw.cpp(862,1): error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int [D:\GameEngineLearn\Pilot\build\3rdparty\imgui.vcxproj]
Seems it's the imgui compile failed, could you try to compile the imgui library standalone?

image 不识别callback的宏

删除build目录,试一下重新构建工程。

试了,还是一样的错误

from piccolo.

Giogiao avatar Giogiao commented on May 15, 2024

from piccolo.

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.