Code Monkey home page Code Monkey logo

Comments (4)

chexiongsheng avatar chexiongsheng commented on June 20, 2024

你说的这里? https://github.com/Tencent/puerts/blob/master/unreal/Puerts/Source/ParamDefaultValueMetas/ParamDefaultValueMetas.Build.cs#L23

写在这里,应该就是Public,这是让JsEnv能include到生成的头文件。

看你的报错找不到文件,我感觉和这里没关,添加多一个头文件搜索路径可能会导致找错文件而不是找不到文件。
其次新版本UE也不会用这个模块,如果确实怀疑这里,你在UE5.3+可以把这些干掉。

from puerts.

watsonsong avatar watsonsong commented on June 20, 2024

应该是从UE5.3开始,已经没有Programs/UnrealHeaderTool/Public这个目录存在了。

是否从5.3开始,ParamDefaultValueMetas可以去掉。但是DeclarationGenerator应该不能去掉把,它的PublicIncludePaths也加入了Programs/UnrealHeaderTool/Public这个路径。

from puerts.

chexiongsheng avatar chexiongsheng commented on June 20, 2024

DeclarationGenerator应该各版本都可以去掉Programs/UnrealHeaderTool/Public。
但这应该不是导致你问题的原因。这只是添加头文件搜索路径,多加一个不存在的路径没什么问题。5.3、5.4项目都有用puerts,别人能编译通过。

from puerts.

chexiongsheng avatar chexiongsheng commented on June 20, 2024

c++编译错误应该首先看第一个,从头开始解决,后续错误可能只是前面的错误导致的。

from puerts.

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.