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"

How can I successfully compile with 4.1?

I have an error trying to compile with the latest unreal 4.10 I believe it is to do with the fact that there was a test rpg camera mode level put into our 2d side scroller game. unfortunatly I cannot figure out what to do to make it compile correctly.

alt text

Product Version: Not Selected
Tags:
error.png (163.2 kB)
ss2.png (165.2 kB)
more ▼

asked Apr 25 '14 at 04:02 AM in C++ Programming

avatar image

Kinglewey
1 2 3

avatar image Shadowriver Apr 25 '14 at 04:06 AM

Look on Output tab because Error List is kind of buggy with UBT, you should have real errors there

avatar image Kinglewey Apr 25 '14 at 04:12 AM

Just posted an updated screenshot,

avatar image Dune Apr 25 '14 at 10:23 AM

Did this compile before 4.1? Also, there isn't by any chance an include further down in that header file is there?

Also, try and 'File->Refresh Visual Studio Files' in the editor for that project. It looks like it isn't finding the RpgController.generated file for some reason.

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

1 answer: sort voted first

Hello, Kinglewey. Could you please confirm that you have followed the suggested steps for upgrading projects from 4.0 to 4.1 (https://forums.unrealengine.com/showthread.php?3532-Update-4-1-is-live!)?

Upgrading Projects

-Some steps may be required to get your 4.0 project working in 4.1. -Upgrading Blueprint-only projects

  • You can load your existing project in the new editor normally.

  • Note: Some Blueprint APIs may have changed between versions, which could cause warnings in your content. Read the API Changes section for more information.

    -Upgrading C++ code projects

  • You’ll need to recompile the C++ project for the new version of Unreal Engine

  • Locate the .uproject file in your game’s folder, and right click on it. (on Mac, you can also Command + Click)

  • Select Switch Unreal Engine Version -> 4.1 (on Mac, this is in a Services menu)

  • Right click to generate new C++ project files, then recompile your game normally.

Note: Some C++ APIs may have changed between versions, which can cause compile errors. Read the API Changes section for more information.

Please let us know if you are still having trouble compiling your project after completing these steps. Have a great day.

more ▼

answered Apr 25 '14 at 06:33 PM

avatar image Tim C ♦♦ STAFF May 14 '14 at 08:06 PM

Hi Kinglewey.

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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