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"

Getting "The command ... -rocket -waitmutex -2015" exited with code -1

Hey,

it is my first time using c++ with unreal engine inside visual studio. I wanted to follow the beginners guide. But as soon as I adding the first two lines I'm getting the error:

Error MSB3073 The command ""C:...\4.10\Engine\Build\BatchFiles\Build.bat" MyProject2 Win64 DebugGame "C:...\Unreal Engine\MyProject2\MyProject2.uproject" -rocket -waitmutex -2015" exited with code -1.

followed by:

Error code OtherCompilationError (5)

As soon as I remove the previously added 2 lines of code. Everything compiles without any error.

 // Fill out your copyright notice in the Description page of Project Settings.

 #pragma once

 #include "GameFramework/Actor.h"
 #include "Graph.generated.h"

 UCLASS()
 class MYPROJECT2_API AGraph : public AActor
 {
     GENERATED_BODY()
 
     UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Damage") // <--- this line
     int32 TotalDamage; // <----- this line
     
 public:    
     // Sets default values for this actor's properties
     AGraph();
 
     // Called when the game starts or when spawned
     virtual void BeginPlay() override;
     
     // Called every frame
     virtual void Tick( float DeltaSeconds ) override;
 
     
     
 };


I have already tried to close Visual Studio; Created a new Project; Opened as Admin;Googled...

Product Version: UE 4.10
Tags:
more ▼

asked Jan 19 '16 at 10:14 PM in C++ Programming

avatar image

LifeArtist
47 8 13 18

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

1 answer: sort voted first

Okay so I deleted those 2 lines and closed unreal editor. Pressed the local debug button and the editor opened ... so everything works as expected. Readded those 2 lines. No problems anymore.

Btw sometimes does unreal editor provide more helpfully error codes.

"Error code OtherCompilationError (5)"

In unreal there was a better understandable error showing up.

more ▼

answered Jan 20 '16 at 04:48 PM

avatar image

LifeArtist
47 8 13 18

(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