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"

FTableRowBase not class or struct name

I am trying to use Data Tables in my project, so I was creating my struct to map the columns to the CSV file when I got an error saying that FTableRowBase is not a class or struct name so I can't inherit from it. I tried pressing F12 to go to definition and VS does find it, but doesn't link for some weird reason.

I dug a bit and compared to other projects and found out that for some reason I don't have the DataTable.h in my project's External Dependencies and all my other projects have it. I have no clue why it would not be in there or how to get it there to fix the issue.

Any help would really be appreciated.

Thanks !

Product Version: UE 4.10
Tags:
more ▼

asked Feb 11 '16 at 04:54 AM in C++ Programming

avatar image

Bahnkai
13 3 4 6

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

1 answer: sort voted first

Can you please post the header file?

Meanwhile try adding

 #include "Engine/DataTable.h"

to the header

more ▼

answered Feb 11 '16 at 11:46 AM

avatar image

lion032
996 31 81 56

avatar image Bahnkai Feb 11 '16 at 09:49 PM

Thanks a lot, that actually made it work !

Here was my header before adding the Engine/DataTable.h

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

The only thing I don't understand is why I have to explicitly import it in this project but not the other ones ? The only difference was that this one in using the Top Down C++ template while the other ones were using the Third Person C++ template.

(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