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"

Error Compliling first time C++ Blueprints

Hello there, I am getting and error whenever I try and create a new c++ blueprint: Successfully added class 'MyClass2', however you must recompile the 'MyProject2' module before it will appear in the Content Browser. Failed to automatically compile the 'MyProject2' module.

Would you like to open the Output Log to see more details?

Now I looked on here already and saw that reinstalling Visual Studio might help, I went and reinstalled both VS2015 and unreal engine and I am still getting the problem. For reference this is a totally blank project I used with the starter content. I have attached the output log, but I see: link text

LogVSAccessor:Warning: Cannot add source file 'MyProject2/Source/MyProject2/MyClass2.h' as it doesn't belong to a known module

LogVSAccessor:Warning: Cannot add source file /MyProject2/Source/MyProject2/MyClass2.cpp' as it doesn't belong to a known module

LogVSAccessor:Warning: Couldn't access Visual Studio

As the problematic points. I worked with a project back in 4.12 which used c++ fine for reference. Thank you.

Product Version: UE 4.15
error.txt (85.1 kB)
more ▼

asked Feb 24 '17 at 04:53 AM in C++ Programming

avatar image

1 1 2 7

avatar image JuxWasTaken Feb 24 '17 at 05:18 AM

Upon creating a blank project in my desktop, it seem to work now. My only guess is that since the destination of my project included a path with characters that the output logged showed as ????? and such, I can only guess that is that problem. At least my problem is fixed.

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

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question