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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Character class C++ error

Hi!

I'm quite new to Unreal Engine and C++. I'm following the Twin Stick Shooter tutorial (link:text) and I've got problems with building the character class code. I think it's because I'm using different version of UE4 but I have no idea how to fix this.

Visual studio is throwing following errors:

1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------ 2>------ Build started: Project: Harjoittelua, Configuration: Development_Editor x64 ------ 2>Compiling game modules for hot reload 2>Performing 3 actions (4 in parallel) 2>Shooter.cpp 2>D:\Program Files\Unreal Engine 4\UE_4.18\Engine\Source\Runtime\Engine\Classes\GameFramework/RootMotionSource.h(12): error C2144: syntax error: 'ACharacter' should be preceded by ';' 2>D:\Program Files\Unreal Engine 4\UE_4.18\Engine\Source\Runtime\Engine\Classes\GameFramework/RootMotionSource.h(12): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 2>ERROR : UBT error : Failed to produce item: D:\Projects\UE4\Harjoittelua\Binaries\Win64\UE4Editor-Harjoittelua-2710.dll 2>Total build time: 1,89 seconds (Local executor: 0,00 seconds) 2>D:\Program Files\Visual Studio\Common7\IDE\VC\VCTargets\Microsoft.MakeFile.Targets(44,5): error MSB3075: The command ""D:\Program Files\Unreal Engine 4\UE_4.18\Engine\Build\BatchFiles\Build.bat" HarjoitteluaEditor Win64 Development "D:\Projects\UE4\Harjoittelua\Harjoittelua.uproject" -waitmutex" exited with code 5. Please verify that you have sufficient rights to run this command. 2>Done building project "Harjoittelua.vcxproj" -- FAILED. ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Product Version: UE 4.18
Tags:
more ▼

asked Jan 31 '18 at 02:53 PM in C++ Programming

avatar image

Karvarinkeli
1 1

(comments are locked)
10|2000 characters needed characters left

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