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 create build due to 'unresolved external symbol WinMainCRTStartup'

Building the project with a non-editor build-configuration (i.e. Shipping, Development) leads to the following error:

 1>------ Build started: Project: Spherion, Configuration: Shipping_Game x64 ------
 1>  Performing full C++ include scan (building a new target)
 1>  Performing 1 actions (4 in parallel)
 1>  [1/1] Link Spherion-Win64-Shipping.exe
 1>LINK : error LNK2001: unresolved external symbol WinMainCRTStartup
 1>C:\SpherionOnC\Spherion\Unreal\Binaries\Win64\Spherion-Win64-Shipping.exe : fatal error LNK1120: 1 unresolved externals
 1>ERROR : UBT error : Failed to produce item: C:\SpherionOnC\Spherion\Unreal\Binaries\Win64\Spherion-Win64-Shipping.exe


Any help is highly appreciated.

Kind regards.

Product Version: UE 4.14
Tags:
more ▼

asked Mar 03 '17 at 02:58 PM in Packaging & Deployment

avatar image

sContigo
1 1 2

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

1 answer: sort voted first

Well, I think you are calling WinMainCRTStartup variables, but in some part of your project the library for CRT is missed that's why you got a link message error.

Have you tried to Initializes global state needed by CRT?

Maybe you have the standard entry point and you need to set CRT entry at the beggining of your code.

more ▼

answered Mar 03 '17 at 07:38 PM

avatar image

mngpssn
382 21 15 23

(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