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"

Blank extension of DistributionVectorUniform from the class menu fails to build?

Hi all, The IRC channel pointed me here: In trying to debug a larger issue I ended up with a fresh project and a blank plugin in the default 4.2 release that fails to build. I'm getting linker errors akin to:

 Error    1    error LNK2001: unresolved external symbol "public: virtual void __cdecl UDistributionVectorUniform::PostInitProperties(void)" (?PostInitProperties@UDistributionVectorUniform@@UEAAXXZ)    C:\Users\chris\Desktop\OhMy\Intermediate\ProjectFiles\ChrisVector.cpp.obj    OhMy
 

My process was creating a blank project named "OhMy" -- opening the Class Viewer - Right clicking on DistributionVectorUniform - creating a new C++ Class named "ChrisVector" - closing down the editor - opening up the project in VS2013 - and starting a "Development Editor" build. It builds fine when I remove the plugin.

There's a theory that I'm missing some dependencies in my setup - but at this point I'll pretty much believe anything. Help from anyone with knowledge would be greatly appreciated.

Thanks!

Edit: Worth mentioning that I'm using Visual Studio Express 2013 and Windows 8.1. We have another machine with the exact same setup that fails as well.

Product Version: Not Selected
Tags:
more ▼

asked Jul 11 '14 at 08:47 PM in C++ Programming

avatar image

opticol
21 2 3 8

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

1 answer: sort voted first

Turns out - you can't extend from DistributionVectorUniform out of the box. I modified its declaration to be:

 UCLASS(collapsecategories, hidecategories=Object, editinlinenew)
 class ENGINE_API UDistributionVectorUniform : public UDistributionVector

and was able to extend + build my blank extension.

more ▼

answered Jul 15 '14 at 12:26 AM

avatar image

opticol
21 2 3 8

(comments are locked)
10|2000 characters needed characters left
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