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"

Error: Couldn't find target rules file for target

I recently migrated a project from version 4.0.2 to 4.4 and now i get an error with the vague description of error code: 2.

Any ideas on what this might be caused from and how to fix it?

alt text

the following is the error that the command window displays after running the command alt text

Product Version: Not Selected
Tags:
error_code_2.png (90.4 kB)
builderror.png (16.4 kB)
more ▼

asked Aug 26 '14 at 11:57 PM in C++ Programming

avatar image

Jesse
48 11 13 20

avatar image Shadowriver Aug 27 '14 at 12:22 AM

can you screen shot it?

avatar image Jesse Aug 27 '14 at 12:29 AM

sure, I have added a picture now to the post

avatar image Staggerlee Aug 27 '14 at 09:33 AM

Im having the same problem!!

avatar image thk123 Aug 27 '14 at 10:19 AM

Your best bet is to run the command in a command window (see the second error message for what it is running) and try that, normally comes back with more information.

avatar image Jesse Aug 27 '14 at 09:00 PM

Hi thk123, I just ran that command and found out that the error involves something with the target rules. I am not sure why this is happening though, any ideas?

PS: I attached an image of the error in the question

avatar image zamy Aug 27 '14 at 10:56 PM

Try regenerating the project files (both of the engine and of your project): this resolved tons of problems for me.

avatar image Jesse Aug 27 '14 at 11:50 PM

I tried, it stills give me the same error

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

1 answer: sort voted first

nvm, I believe that regenerating the project files for both actually solved it. After regenerating, I had a typo on the command. Once I ran the command correctly, it notified me of deprecated functionality that I had to remove from the project. So for anyone else having this problem, try regenerating the project files for both the project and the engine and running the build command on the command prompt. This is what helped me solve the problem. Thanks for all of yall that took the time to look at this

more ▼

answered Aug 28 '14 at 03:51 AM

avatar image

Jesse
48 11 13 20

(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