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"

Ambiguous symbol. Build Error

I am having a lot of problems to build my game with Development target. I can build it without problems for editor, but I want to package it, so i am trying to Build it with Development target. I am using unreal 4.12.5

When I build, this errors appear:

alt text

I tried to clean and rebuild, try another versions of the engine. Tried to engine with binaries and the one downloaded from source. I tried in 3 different computers. I created a blank project and paste the assets but nothing works, always this errors. This errors generate a MSB3075 error.

this is the log for the errors:

 1>C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_terminate.h(33): error C2872: 'terminate_handler': ambiguous symbol
 1>  C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_terminate.h(18): note: could be 'void (__cdecl *__cdecl terminate_handler)(void)'
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(192): note: or       'std::terminate_handler'
 1>C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_terminate.h(34): error C2872: 'terminate_handler': ambiguous symbol
 1>  C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_terminate.h(18): note: could be 'void (__cdecl *__cdecl terminate_handler)(void)'
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(192): note: or       'std::terminate_handler'
 1>C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_terminate.h(37): error C2872: 'terminate_handler': ambiguous symbol
 1>  C:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt\corecrt_terminate.h(18): note: could be 'void (__cdecl *__cdecl terminate_handler)(void)'
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(192): note: or       'std::terminate_handler'
 1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\eh.h(35): error C2872: 'unexpected_handler': ambiguous symbol
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\eh.h(19): note: could be 'void (__cdecl *__cdecl unexpected_handler)(void)'
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(193): note: or       'std::unexpected_handler'
 1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\eh.h(36): error C2872: 'unexpected_handler': ambiguous symbol
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\eh.h(19): note: could be 'void (__cdecl *__cdecl unexpected_handler)(void)'
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(193): note: or       'std::unexpected_handler'
 1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\eh.h(39): error C2872: 'unexpected_handler': ambiguous symbol
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\eh.h(19): note: could be 'void (__cdecl *__cdecl unexpected_handler)(void)'
 1>  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(193): note: or       'std::unexpected_handler'

I do not know what to do. I can not even overwrite those files:

'eh.h' and 'corecrt_terminate.h'

My machine says that I have denied access to that path. Please help...

Product Version: UE 4.12
Tags:
more ▼

asked Jul 27 '16 at 09:38 PM in Bug Reports

ezrubiera gravatar image

ezrubiera
31 2 4 8

Sean Flint gravatar image Sean Flint ♦♦ STAFF Jul 28 '16 at 02:07 PM

Hello,

I have a few questions:

  • Are you able to successfully build a clean project?

  • Are you able to package the project through the editor using File->Package Project?

  • Do you have administrative privileges while running Visual Studio? Have you tried running as administrator?

Thanks!

Willtheoct gravatar image Willtheoct Jul 29 '16 at 10:26 PM

I appear to be having the same problem, and my answer to this: Yes, I can build a clean project. No, I cannot package the project using file->package project. Running as administrator does not solve the issue in VS, or anywhere.

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

1 answer: sort voted first

Ok, i fixed it. It was a problem of circular dependencies. I dont know why it was working in 4.9.2, but now it doesnt.

Check your include files and fix that circular dependencies. It should work.

more ▼

answered Jul 29 '16 at 11:53 PM

ezrubiera gravatar image

ezrubiera
31 2 4 8

Willtheoct gravatar image Willtheoct Jul 30 '16 at 12:06 AM +

Dang. No circular dependencies here.

(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