This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28027 Linking error FFT libraries

Hi,

I'm working with a F28027 and a FFT library, but i get the following error

<Linking>

 

fatal error: file

   "C:\\tidcs\\c28\\dsp_tbox\\fft\\cstb\\fft256r\\build\\Debug\\fftrd.obj" has a Tag_Memory_Model attribute value of "2" that is different than one previously seen ("1"); combining incompatible files

I've already re-built the stb library adding to the batch file the comand -ml but keep getting this error 

also when i tried with -mf , it still doesn't work

hope you can help me

Thanks and regards,

Danna

 

  • Danna,

    The linker error: file "xxx" has a Tag_Memory_Model attribute value of "2" that is different than one previously seen ("1"); combining incompatible files
    generally means that files of diferent memory models are being linked together. In this case it looks like the fftrd.obj may be built with -ml (large memory model) option but either the project, or some other object file or library linked to the project is built for small memory model.

    Please check your project build options and any libraries that are part of the project to make sure that they are all built for large memory model.