x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] Error while adding C ++ class

Yesterday I opened my project which was only in blueprints I tried to create any class in C ++ but it appears an error saying that I would need to recompile my project to C ++ so I restarted the project already with visual studio open and ue4 recompiled the project to the engine in C ++ , but still giving the same error as it appears in the photo:

alt text

alt text

Product Version: UE 4.17
Tags:
error1.jpg (262.0 kB)
error2.png (212.7 kB)
more ▼

asked Jan 17 '18 at 09:08 PM in C++ Programming

avatar image

TheSubZer0
114 8 13 17

avatar image Daniel U ♦♦ STAFF Jan 17 '18 at 09:25 PM

@FOrwbackdoor Have you recompiled the project in Visual Studio?

avatar image Daniel U ♦♦ STAFF Jan 17 '18 at 10:36 PM

This is not necessarily an error. These types of issues usually occur when there was another class previously created before the IDE has been successfully re-complied. Please post the complier results of the Visual Studio project for further diagnostics.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed Mar 08 '19 at 11:34 PM by TheSubZer0 for the following reason:

Question is off-topic or not relevant


5 answers: sort voted first

YES _

more ▼

answered Jan 17 '18 at 10:04 PM

avatar image

TheSubZer0
114 8 13 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

ok

more ▼

answered Jan 17 '18 at 10:42 PM

avatar image

TheSubZer0
114 8 13 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Now I can not compile again this error appearsalt text

FULL LOG:////

Running C:/Program Files/Epic Games/UE_4.17/Engine/Binaries/DotNET/UnrealBuildTool.exe -projectfiles -project="C:/Users/Pichau/Documents/Unreal Projects/MyProject33/MyProject33.uproject" -game -rocket -progress Discovering modules, targets and source code for project... UnrealBuildTool Exception: ERROR: Not expecting project C:\Users\Pichau\Documents\Unreal Projects\MyProject33\Intermediate\ProjectFiles\MyProject33.vcxproj to already have a target rules of with configuration name Game (MyProject3Target) while trying to add: MyProject2Target

fulllog.png (1.6 MB)
more ▼

answered Jan 17 '18 at 10:51 PM

avatar image

TheSubZer0
114 8 13 17

avatar image Daniel U ♦♦ STAFF Jan 18 '18 at 08:50 PM

There seems to be an error going on with your Intermediate files. Please be sure to delete this folder from the project in visual studio and try recompiling the project in Visual Studio. Then proceed to building the project in Visual Studio as well.

avatar image Daniel U ♦♦ STAFF Mar 02 '18 at 09:03 PM

Were you able resolve the issue?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

?

more ▼

answered Jan 18 '18 at 06:34 PM

avatar image

TheSubZer0
114 8 13 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I've actually uninstalled unreal 4.17 and epic games and all subfolders of% appdata% documents and x86 program files and program files from both and downloaded the Epic Games installer again, then installed Unreal Engine 4.18.3 and I added my project to the documents folder again so when I opened it it asked to compile and recompile, I clicked on yes for both and it opened my project correctly but still giving the same error to add C ++ class, compile C ++ code inside the unreal engine and create projects of the category C ++, then the problem would not be in the case my project and yes my pc that could miss files DLL rules in system 32, but I reinstalled everything, I do not want to format my pc.

alt text

this-error.jpg (126.6 kB)
more ▼

answered Jan 19 '18 at 12:05 AM

avatar image

TheSubZer0
114 8 13 17

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question