cancel
Showing results for 
Search instead for 
Did you mean: 

Linker errors and "Run target" fails

idrissmc
Associate III

hi everyone,

i wanted to create a project with touchGFX but there are errors, i just create the graphic interface, i didn't add any code!

even though when i tried to upload to my card an example it said error too!

how can i resolve this?

 0690X00000BwBSfQAN.png

0690X00000BwBRIQA3.png0690X00000BwBRDQA3.png0690X00000BwBR8QAN.png

43 REPLIES 43

@Martin KJELDSEN​  I thought about that too, but I tried I can't find this file or folder. I opened .map with vs 2019, I tried to find something but I can't find the mistake, here a copy of what i found in .map:

Archive member included to satisfy reference by file (symbol)

c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(pure.o)

               Middlewares/ST/TouchGFX/touchgfx/framework/source/platform/driver/touch/ST1232TouchController.o (__cxa_pure_virtual)

c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(del_ops.o)

               Middlewares/ST/TouchGFX/touchgfx/framework/source/platform/driver/touch/ST1232TouchController.o (operator delete(void*, unsigned int))

c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(del_op.o)

               c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(del_ops.o) (operator delete(void*))

c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(eh_terminate.o)

               c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(pure.o) (std::terminate())

c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(eh_unex_handler.o)

               c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(eh_terminate.o) (__cxxabiv1::__unexpected_handler)

c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(eh_term_handler.o)

               c:/st/stm32cubeide_1.0.2/stm32cubeide/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.7-2018-q2-update.win32_1.0.0.201904181610/tools/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard\libstdc++_nano.a(eh_terminate.o) (__cxxabiv1::__terminate_handler)

0690X00000BwHkzQAF.png

I didn't add it i think, you can verify with this:

0690X00000BwHlJQAV.png

how & where I can find it to fix the error?

thank you

idrissmc
Associate III

0690X00000BwHr2QAF.png

I found it i add it but it still the same error

0690X00000BwHvxQAF.png@Martin KJELDSEN​ ,

I found the path and i added it, but still not working

Martin KJELDSEN
Chief III

Just created a project that links fine (CubeIDE 1.2.0)

* CubeMX Project Generator - Toolchain: CubeIDE

* Generate code

* Open part-file in TouchGFX Designer - Generate code

* Refresh project in CubeIDE and build

0690X00000BwIwSQAV.png

Hi @Martin KJELDSEN​ , the problem i’ve installed cubeIDE 1.2.0 but in middleware there’s no graphics any more, so can you tell me how to open touchgfx directly from CubeMX (execute : as the previous version), I have to select additional software then activate graphics touchgfx & then how to open touchgfx?

thank you

Please read the sticky on installing and using X-CUBE-TOUCHGFX 4.13.0. TouchGFX Graphics middleware is no more as of CubeMX 5.5.0 (it had too many restrictions on required hardware).

I read it @Martin KJELDSEN​  and did same, but no touchgfx folder is generated

0690X00000BwJoKQAV.png

0690X00000BwJoPQAV.png

and here I generated the code but no folder appears:

0690X00000BwJojQAF.png

But I can't understand how to handle with those functions, it's very abstract

0690X00000BwJpSQAV.png

It will be very kind if you could guide me a more little bit

thank you

So you added TouchGFX Generator through additional software but you're not getting any options to configure? As far as i can tell from your screenshot. There should be!

/Martin

Which MCU is this for? For me, choosing STM32F746 i can add Generator in CubeIDE 1.2.0 and get the configuration window.

0690X00000BwKWWQA3.png

I use the same board f746G but why I can’t get the configuration window? I use cudeIDE 1.2.0 too! :thinking_face: did you add something in Cortex_M7 in system core @Martin KJELDSEN​ ? And in GPIO in system core too?

maybe I have to install something? No?