cancel
Showing results for 
Search instead for 
Did you mean: 

portability of the project to another computer

gevmar
Associate III

hello everyone, I have absolutely identical versions  TouchGFX 4.22.1 ; CubeIDE 1.13.1 ; CubeMX 6.9.1  on two computers win10.
I’m creating a project in  TouchGFX  on the first computer, which takes up about 800MB, which I think is very strange, I don’t think this is normal. but everything compiles and works. but when I make copy - paste project folder on second computer, I get this errors in  during compilation 

 

1)   ./Application/User/main.o: in function `main': STM32F429I-DISCO C/C++ Problem

2)  make: *** [makefile:93: STM32F429I-DISCO.elf] Error 1 STM32F429I-DISCO C/C++ Problem

3)  undefined reference to `MX_TouchGFX_Init' main.c /STM32F429I-DISCO/Application/User line 295 C/C++ Problem

4)   undefined reference to `MX_TouchGFX_PreOSInit' STM32F429I-DISCO line 297, external location: C:\ST\STM32CubeIDE_1.13.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.1.202309131626\tools\arm-none-eabi\bin\ld.exe: D:\PORCER_STM32\my_pcm_at_1\Core\Src\main.c C/C++ Problem

5)   undefined reference to `TouchGFX_Task' STM32F429I-DISCO line 421, external location: C:\ST\STM32CubeIDE_1.13.2\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.11.3.rel1.win32_1.1.1.202309131626\tools\arm-none-eabi\bin\ld.exe: D:\PORCER_STM32\my_pcm_at_1\Core\Src\main.c C/C++ Problem

 

how can these problems be solved? in    Project -> Properties -> C/C++ Build -> Settings ->MCU GCC Compiler ->Include Paths    .... links seems to be present . .

I also noticed that , for example in file

"app_touchgfx.h" present only comments is this how it should be?

 

thanks in advance .

 

2 REPLIES 2
Pavel A.
Evangelist III

Create a new eclipse workspace and open (import) your project in that workspace. Refresh, build.

If this won't help then either the copy is not good or the machines are not identical.

 

MM..1
Chief II

ld.exe is linker then your issue isnt include or compile. 

You write project created in TGFX no IDE. This projects isnt perfect for migrate.

But my tip on new PC you place project on other folder and this corrupt library config...

MM1_0-1703420742235.png