Effacer les filtres
Effacer les filtres

Why I can't build my UE project?

1 vue (au cours des 30 derniers jours)
Jan Svoboda
Jan Svoboda le 15 Juin 2022
Hello, I want to simulate autonomous vehicle using Unreal Engine 4.23 with Matlab 2021a. I have done everything as in "Install support package and configure enviroment" followed by "Get started communicating with Unreal Engine". However, when I replace code as in tutorial, solution won't build. First error, that shows is
Severity Code Description Project File Line Suppression State
Error C2027 use of undefined type 'ASetGetActorLocation' MyProject C:\Users\Dell\Documents\GitHub\DV-Simulatorr\MyProject\Source\MyProject\Private\SetGetActorLocation.cpp 5
Does anyone have same problem? Or is there any workaround? I want to set locations of cones through Message Data Set.
Thank you for any help.
Jan.
  1 commentaire
Jan Svoboda
Jan Svoboda le 16 Juin 2022
Just to clarify, I am sure that everything is included.

Connectez-vous pour commenter.

Réponses (1)

Milan Bansal
Milan Bansal le 22 Déc 2023
Hi Jan Svoboda,
It is my understanding that you are facing an build error when trying to simulate an autonomous vehicle using Unreal Engine 4.23 with MATLAB 2021a.
The error message "Error C2027 use of undefined type 'ASetGetActorLocation'"generally means that the compiler cannot find the definition for the class "ASetGetActorLocation". This could be due to a missing include statement or an issue with the project's setup that prevents the compiler from locating the header file where "ASetGetActorLocation" is defined.
To resolve the issue:
  • please ensure that the header file for "ASetGetActorLocation" is indeed included in "SetGetActorLocation.cpp".
  • Also ensure that the header file that defines "ASetGetActorLocation"is located in the project's include directories.
Hope it Helps!

Catégories

En savoir plus sur Vehicle Scenarios dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by