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.

importing IQ_math library to C++ Builder

Hi ,

I tried to use the pc version of the IQ_math library  in my project , I directly import IQmath_pc.lib which came with c64xplus-iqmath_2_01_04_00( http://downloads.ti.com/dsps/dsps_public_sw/c6000/web/c64p_iqmath/latest/exports/c64xplus-iqmath_2_01_04_00_Windows_Setup.exe?tracked=1) , when i built the project a linking error appeared  ..\IQMATH_PC.LIB' contains invalid OMF record, type 0x21 (possibly COFF).

How can i fixed this issue ?

Thanks in advanced

Abdo

  • Hi Abdalla,

    Able to build the FFT example  which uses the Qmath library (  "~\c64xplus-iqmath_2_01_04_00\example\FFT".)  Let me know the steps you followed to build as well the name of the example; So that we can build that example for you.

    For your reference, attached the build logs.

    I hope, in CCS, import it as legacy projects.

    **** Clean-only build of configuration Debug for project fft_IQ ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean 
    DEL /F  "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\fft_IQ.out"  "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\fft_IQ.hex" 
    Could Not Find C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\fft_IQ.out
    DEL /F "fft_IQ_d.pp" "bmrksrc\FFTComplex_IQ.pp" "bmrksrc\FFTComplex_IQ_init.pp" "bmrksrc\FFTComplex_float.pp" "bmrksrc\FFTComplex_float_init.pp" "bmrksrc\MAGComplex_IQ.pp" "bmrksrc\MAGComplex_float.pp" "bmrksrc\PHASEComplex_IQ.pp" "bmrksrc\PHASEComplex_float.pp" 
    Could Not Find C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\fft_IQ\Debug\fft_IQ_d.pp
    Could Not Find C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\fft_IQ\Debug\bmrksrc\FFTComplex_IQ.pp
    DEL /F "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\fft_IQ_d.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\tsc_h.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\FFTComplex_IQ.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\FFTComplex_IQ_init.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\FFTComplex_float.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\FFTComplex_float_init.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\MAGComplex_IQ.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\MAGComplex_float.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\PHASEComplex_IQ.obj" "C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\PHASEComplex_float.obj" 
    Could Not Find C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\Debug\fft_IQ_d.obj
    DEL /F "tsc_h.pp" 
    Could Not Find C:\ti\c64xplus-iqmath_2_01_04_00\example\FFT\fft_IQ\Debug\tsc_h.pp
    'Finished clean'
    ' '
    
    **** Build Finished ****
    
    **** Build of configuration Debug for project fft_IQ ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="fft_IQ_d.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c"
    "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c", line 121: warning #225-D: function declared implicitly
    "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c", line 171: warning #225-D: function declared implicitly
    "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c", line 172: warning #225-D: function declared implicitly
    "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c", line 174: warning #225-D: function declared implicitly
    "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c", line 175: warning #225-D: function declared implicitly
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ_d.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/tsc_h.asm'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="tsc_h.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/tsc_h.asm"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/tsc_h.asm'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_IQ.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/FFTComplex_IQ.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_IQ.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_IQ.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_IQ_init.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/FFTComplex_IQ_init.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_IQ_init.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_IQ_init.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_float.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/FFTComplex_float.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_float.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_float.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_float_init.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/FFTComplex_float_init.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_float_init.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/FFTComplex_float_init.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/MAGComplex_IQ.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/MAGComplex_IQ.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/MAGComplex_IQ.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/MAGComplex_IQ.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/MAGComplex_float.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/MAGComplex_float.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/MAGComplex_float.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/MAGComplex_float.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/PHASEComplex_IQ.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/PHASEComplex_IQ.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/PHASEComplex_IQ.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/PHASEComplex_IQ.c'
    ' '
    'Building file: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/PHASEComplex_float.c'
    'Invoking: C6000 Compiler'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --include_path="C:/ti/xdais_7_24_00_04/packages/ti/xdais" --include_path="/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/include" --include_path="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc" --include_path="C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --preproc_with_compile --preproc_dependency="bmrksrc/PHASEComplex_float.pp"  "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/PHASEComplex_float.c"
    'Finished building: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/bmrksrc/PHASEComplex_float.c'
    ' '
    'Building target: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ/../../../example/FFT/Debug/fft_IQ.out'
    'Invoking: C6000 Linker'
    "C:/ti/ccsv5/tools/compiler/c6000_7.4.4/bin/cl6x" -mv6400+ --abi=coffabi -g --define="GLOBAL_Q=21" --define="MATH_TYPE=IQ_MATH" --define="DEBUG" --display_error_number --diag_wrap=off --debug_software_pipeline -k --temp_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --obj_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" --asm_directory="C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug" -z -m"C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/fft_IQ.map" -i"C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ" -i"C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT" -i"/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/lib" -i"C:/ti/ccsv5/tools/compiler/c6000_7.4.4/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="fft_IQ_linkInfo.xml" --rom_model -o "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ/../../../example/FFT/Debug/fft_IQ.out" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/fft_IQ_d.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/tsc_h.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/FFTComplex_IQ.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/FFTComplex_IQ_init.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/FFTComplex_float.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/FFTComplex_float_init.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/MAGComplex_IQ.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/MAGComplex_float.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/PHASEComplex_IQ.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/Debug/PHASEComplex_float.obj" "C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ.cmd" "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib" "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_RAM_c64x+.lib"  
    <Linking>
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<FtoIQ.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<IQNabs.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<IQNatan2.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<IQNcos.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<IQNmpy.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<IQNsin.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_c64x+.lib<IQNsqrt.obj>": compatibility cannot be determined
    warning #16002-D: build attribute vendor section TI missing in "C:/ti/c64xplus-iqmath_2_01_04_00/lib/IQmath_RAM_c64x+.lib<IQmathTables.obj>": compatibility cannot be determined
    'Finished building target: C:/ti/c64xplus-iqmath_2_01_04_00/example/FFT/fft_IQ/../../../example/FFT/Debug/fft_IQ.out'
    ' '
    
    **** Build Finished ****
    

  • Hi Shankari,
    Thank you for your fast response , Yes I built the FFT example successfully and even use the iqmath in my own project with no any compilation and linking errors , the FFT and my project used iqmath_c64x+.lib which run under CCS which run successfully . The problem came when i tried to test some sections of my project which used IQmath ( running successfully in DSP under CCS )in C++ builder specifically the Borland Builder 6.0 , in this case i should replace the iqmath_c64x+.lib with IQmath_pc.lib so i added it to the pc simulation project (under Borland Builder 6.0 ) and it gave a linking error(.. \IQMATH_PC.LIB' contains invalid OMF record, type 0x21 (possibly COFF)) .
    In my opinion i should convert the IQmath_pc.lib to other format
  • Hi Abdalla,

    I believe, You are trying something new which the community members may not be able to follow.
    It is not clear to us. And more over, the Borland builder is not under the TI control and I doubt whether any community members would have used the way that you were into.

    As I have no idea on the Borland builder, can't comment on what could be the cause and how to solve etc. You may have to try by your own.
  • Hi,

    I think, this shouldn't work by just replacing the TI compiler of CCS build library "iqmath_c64x+.lib" with "IQmath_pc.lib" of Borland compiler. I do think, there should be compiler based dependencies when you build the IQ math library which I mean, generating libraries from compiler to compiler, it would have specific dependencies. So, the IQ math lib. which you directly replace from TI CGT compiler based with C++ Borland compiler wouldn't suit good. The linking mechanism would also differ as per my understanding and I think, you have to create a new IQ math library project with required source files and header dependencies to build independently with C++ Borland compiler and to generate a new IQ math library which should be C++ Borland compiler based. Later then, you should try compiling the PC based simulation project with C++ Borland compiler using the newly generated IQ math library with Borland C++ based.

    Kindly try with the above strategy and also ensure whether the " iqmath_c64x+.lib" is EABI(ELF) or COFF ABI based file format library version, by the way, you should also use the same image format (ELF,COFF) when you try generating new IQ math library with C++ Borland compiler, thereby, interpret the same object file format  to compile with PC simulation project in Borland C++.

    Probably, if you have conflict with object file formats (ELF, COFF) used to generate IQ math library with TI CGT compiler and Borland C++ compiler, you would get usually linking error. Kindly validate the appropriate ELF/COFF version of IQ math library which should align with both TI CGT and Borland C++ compilers. Please check & try it.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------

  • Hi Shankari ,

    I'll try to import the C files of the library instead of directly import the library ( I requested it and need iq_math approval )

    I used the Borland Builder to simulate some functions that will be run under C64+ processors . after the simulation completed successfully I'll directly import it to my EVM board.

  • Thanks a lot Sivaraj
    I'll try to directly import the source code of the library ( waiting for Ti approval )

    Thanks & regards