![]() ![]() I don’t understand how QA would miss this, since this is such an obvious bug. This Issue is exactly the problem I met, but it exists since at least 4.19. I dive into the source code and found “Engine/Source/Programs/UnrealBuildTool/ProjectFiles/CMake/CMakefileGenerator.cs” is the file to generate the misc.xml, but I still can’t find where is the code to generate the cmake-includes.cmake. I have to modify the misc.xml and add “UE4Projects/ProjectName/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/ProjectName” to include dir in cmake, but this has to be done every time I refresh the clion project in UE4 editor, which is annoying. there’s no rules to add “UE4Projects/ProjectName/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc/ProjectName” to the include dir.idea folder, there’s a file named misc.xml which tell the IDE to treat Intermediate folder as “exclude” There’s two reason why CLion could not find *.generated.h: I cant even create via Alt+Enter, the lookup for existing definitions just takes hours (i just gave it 2h when i was afk) or fails. I’v found the root case, this issue happens because CLion could not found *.generated.h and lead to deal with ‘UCLASS’ incorrectly. For every class or struct created with the Unreal Engine, actualy every class with a prefix, CLion refuses to find the defintions of any method or constructor and marking them 'not implemented'. I like Clion for it’s powerful indexing and auto complete feature, but this issue make all this not working, anybody knows why this happens? And, still, it can be build successfully. Weird thing is that it can be build successfully.Īnother weird thing is that as you can see, the IDE cannot find “”, I noticed that the path(/UE4Projects/ClionTest/Intermediate/Build/Linux/B4D820EA/UE4Editor/Inc) which “” exist is not included by cmake, and even I used include_directories() to force include the path, nothing happens, the folder is still red. When I generated a C++ project and waited for Clion to finish the indexing job, I found that the IDE cannot deal with “UCLASS()” well, And the reason is “unknown type name ‘Engine_Source_Runtime_Engine_Classes_GameFramework_GameModeBase_h_12_PROLOG’”(As shown in the picture), and this lead to all auto complete features not working in this class. CLion 2023.1 brings a solution for package management, gets your debugging experience to a new level, helps with QML coding, and includes a host of improvements for the new UI, which has been overhauled based on the valuable feedback we’ve received from our users. Unreal Engine: 4.21.1 (build with release branch) ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |