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"

moving plugins from 4.7 to 4.9

I have a series of plugins that I have created using ue 4.7. I have just installed 4.9 (from source) and am attempting to recompile the plugins, by creating a new code project, copying the files to the Plugins folder and 'create visual studio files'.

In the solution, all looks well. But when I try to build, This code is giving errors:

 AConnection::AConnection(const class FPostConstructInitializeProperties& PCIP)
     : Super(PCIP)
 {
 
 }

Error 1 error C2059: syntax error : 'string'
Error 2 error C2143: syntax error : missing ',' before '&'
Error 3 error C2059: syntax error : '&'
Error 4 error C2511: 'AConnection::AConnection(const FObjectInitializer (__cdecl *)(void))' : overloaded member function not found in 'AConnection'
Error 5 error C2065: 'PCIP' : undeclared identifier
Error 6 error C2550: 'AConnection::{ctor}' : constructor initializer lists are only allowed on constructor definitions

Please help! How can I recompile this code?

Product Version: UE 4.9
Tags:
more ▼

asked Oct 03 '15 at 09:48 AM in C++ Programming

avatar image

antithing
302 21 33 53

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

1 answer: sort voted first

aha, it seems i need to adjust the code to:

 (const FObjectInitializer& ObjectInitializer) : Super(ObjectInitializer){...}
more ▼

answered Oct 03 '15 at 02:10 PM

avatar image

antithing
302 21 33 53

(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