Opened 7 years ago
Closed 7 years ago
#11370 closed Bugs (invalid)
Boost Test Library dose not work with Intel-Compiler.
Reported by: | Owned by: | Gennadiy Rozental | |
---|---|---|---|
Milestone: | To Be Determined | Component: | test |
Version: | Boost 1.58.0 | Severity: | Regression |
Keywords: | Cc: |
Description
Unit-Tests written with the Boost-Test-Library do not create a MAIN-Function when compiled with Intel-Compiler. (When switching to MS-Compiler it is working perfectly)
Even setting this Defines manual dose not help.
BOOST_TEST_MAIN BOOST_AUTO_TEST_MAIN
My Setup is:
VS2013 Update2 Intel Compiler 15.0.2.179 Platform Toolset v120
The Error is:
xilink: executing 'link' MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol main referenced in function tmainCRTStartup
Change History (2)
comment:1 by , 7 years ago
comment:2 by , 7 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Solved.
The problem was the combination of Compiler/Linker Settings. The Following Settings must match together.
Sorry and Thank You Matthias