17 comments
Comment actions Permalink

Hello!

Looks like your CMake project wasn't loafer correctly.

Do you have CLion specified as an editor in General | Source Code in Unreal Editor settings?

How have you generated the project?  Have you done it using File | Refresh CLion Project in UE? 

0
Comment actions Permalink

Yes i specified Source Code as CLion.

After specified Source Code on UE i generated  project to File>Generated  Clion Project



0
Comment actions Permalink

According to this screenshot

It seems that Unreal Engine generator produced CMakeLists.txt with paths in incorrect format. Please change "\" to "\\" or "/" and reload CMake project (Tools | CMake | Reset Cache and Reload Project) after that.

0
Comment actions Permalink

when i open clion project not open 




0
Comment actions Permalink

Please close CLion, delete the files and folders related to CLion (.idea folder, cmake-build-debug folder, CMakeLists.txt), in UE generate the CLion project once again, open CLion (not from UE, but directly), in CLion do File | Open and select the project folder (CMakeLists.txt should be located in it). Change "\" to "\\" or "/" in CMakeLists.txt if needed. Does it work?

0
Comment actions Permalink

i made a video define all problem on it about 800 MB.Shear that video yesterday.

0
Comment actions Permalink

Imran, have you shared this video somewhere?

0
Comment actions Permalink

i do exact you tell now face this problem

 



0
Comment actions Permalink

No, i don't shear video anywhere about 20 minutes ago i create a video. and i want to shear video to you.

0
Comment actions Permalink

Please upload it to https://uploads.services.jetbrains.com/ and share the file name here, so that I could find it.

0
Comment actions Permalink

OK i upload video yesterday.

0
Comment actions Permalink

2018.11.08-19.59.mp4

2018.11.09-07.09.mp4

 

This is two video specify all problem.

0
Comment actions Permalink

It seems the files were not loaded correctly - they have zero bytes size. Please upload them once again or upload the to come third-party source.

0
Comment actions Permalink
2018.11.09-07.09.mp4
2018.11.08-19.59.mp4

Upload Done please watch again..
0
Comment actions Permalink

i can't find any solution yet.

2018.11.09-07.09.mp4
2018.11.08-19.59.mp4

upload this video 4days ago

0
Comment actions Permalink

Imrah, I watched the videos. Unfortunately, I can't reproduce the issue on my side: I've installed UE 4.21 on my Windows machine, created a project, generated a CLion project, opened it in CLion, change "\" to "\\" (also tried changing to "/") and reloaded CMake project (Tools | CMake | Reset Cache and Reload Project). I didn't get the "Cannot find source file" error like you, the Cmake project was loaded without errors on my side. And, for example, here a user writes the following: "Did anyone try the new 4.20 version of UE4 with CLion ? I just did, the CMakeLists.txt was built successfully, excepted the fact that I needed to replace the \by \\ in file paths".

Please note that this situation doesn't look like CLion's issue. It's mostly about how UE generates CMakeLists.txt, so we can't fix anything from our side. Maybe updating UE can help.  Also posting your problem on some UE forums or on https://github.com/dotBunny/CLionSourceCodeAccess/issues might be useful.

Just in case, here is our blog post about UE and CLion which describes some known issues: https://blog.jetbrains.com/clion/2016/10/clion-and-ue4/.

 

1
Comment actions Permalink

ok then i use visual studio with ReSharper C++ cause i try and try it's not fix.

0

Please sign in to leave a comment.