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"

Cannot open include file Px.h

I followed Ramas tutorial here. I've added the include "PhysXIncludes.h". I've also added "PhysX", "APEX" to the Public dependencies in my Build.cs. I deleted the intermediate folder and re-generated my project files just to be sure. Yet when I compile I get the error message "Cannot open include file: 'Px.h': No such file or directory". I did a quick search and I can see the header files listed here on my computer

\UnrealEngine-4.12\Engine\Source\ThirdParty\PhysX\PhysX-3.3\include\foundation\

I did not download the PhysX source code because I see it already in the directory. Including the .sln files to compile the PhysX/ APEX code myself. So now I'm not sure what else to do. I definitely need to be able to use PxVec3 variable.

Product Version: UE 4.12
Tags:
more ▼

asked Aug 22 '16 at 12:50 PM in C++ Programming

avatar image

Thumper
966 143 150 390

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

1 answer: sort voted first

Including the header on the engine side ProceduralMeshComponent did not work but creating a derived class of the ProceduralMeshComponent and including the header there did.

more ▼

answered Aug 22 '16 at 08:06 PM

avatar image

Thumper
966 143 150 390

(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