Project

General

Profile

Actions

Support Request #11239

closed

MDd_DynamicDebug build type mismatch detected

Added by hidden almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Customer:
AUDI
Department:
Requester's Priority:
Normal
Support Level:
2nd Level
Resolution:
Not Reproducible
Product Issue Numbers:
Affected Products:
Platform:
Topic:
ADTF::Common
FAQ Links:

Description

Supportanfrage

wenn ich mit Adtf 3.7 meinen Processor mit RelWithDebInfo bauen will kommt folgender Linker Fehler:

3>adtf_filed_x64_msvc140.lib(object.obj) : error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '2' doesn't match value '0' in mke_mat_export_service.obj
3>adtf_filed_x64_msvc140.lib(object.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MD_DynamicRelease' in mke_mat_export_service.obj

Könnt ihr die Lib bitte mit MD bauen?

Oder kann ich das irgendwie beeinflussen?

Lösung

ADTF und sämtliche Libraries werden seit jeher in RelWithDebInfo gebaut.

error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MD_DynamicRelease' in mke_mat_export_service.obj

Baust du wirklich RelWithDebInfo und nicht Release ?

Aber egal, ADTF selbst nimmt dir das cmake mapping ab, du musst nur deine dependency via ADTF COMPONENTS suchen und nicht direkt

Schätze in deinen Fall

find_package(ADTF COMPONENTS adtfdat_processing)
Alternativ musst/kannst du das mapping selbst vornehmen, wie es z.B. im Guide gezeigt ist:
Actions #1

Updated by hidden almost 4 years ago

  • Project changed from Public Support to 11
  • Status changed from New to In Progress
  • Topic set to ADTF::Common
  • Customer set to AUDI
Actions #2

Updated by hidden almost 4 years ago

  • Status changed from In Progress to Customer Feedback Required

Hallo Christian,

ADTF und sämtliche Libraries werden seit jeher in RelWithDebInfo gebaut.

error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MD_DynamicRelease' in mke_mat_export_service.obj

Baust du wirklich RelWithDebInfo und nicht Release ?

Aber egal, ADTF selbst nimmt dir das cmake mapping ab, du musst nur deine dependency via ADTF COMPONENTS suchen und nicht direkt

Schätze in deinen Fall

find_package(ADTF COMPONENTS adtfdat_processing)
Alternativ musst/kannst du das mapping selbst vornehmen, wie es z.B. im Guide gezeigt ist:
Actions #3

Updated by hidden almost 4 years ago

  • Subject changed from MDd_DynamicDebug to MDd_DynamicDebug build type mismatch detected
  • Description updated (diff)
  • Status changed from Customer Feedback Required to To Be Closed
  • Resolution set to Not Reproducible
Actions #6

Updated by hidden almost 4 years ago

  • Project changed from 11 to Public Support
  • Private changed from Yes to No
Actions #7

Updated by hidden almost 4 years ago

  • Status changed from To Be Closed to Closed
Actions

Also available in: Atom PDF