PINE64
Infinitime Build problem - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PineTime (https://forum.pine64.org/forumdisplay.php?fid=134)
+--- Forum: Development Discussion on PineTime (https://forum.pine64.org/forumdisplay.php?fid=136)
+--- Thread: Infinitime Build problem (/showthread.php?tid=18807)



Infinitime Build problem - BlackDev - 10-20-2023

Hi guys, 

I'm trying to build Infinitime project on my windows machine but with no success. I have been following the steps in:

https://github.com/InfiniTimeOrg/InfiniTime/blob/main/doc/buildAndProgram.md 

I'm stuck in the last step, the make command. 

Cmake command:
Code:
Cmake -DARM_NONE_EABI_TOOLCHAIN_PATH="C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10" -DNRF5_SDK_PATH="C:/Users/blackdev/pinetime/nRF5_SDK_15.3.0_59ac345" -DCMAKE_BUILD_TYPE=Debug -DBUILD_DFU=1 -DBUILD_RESOURCES=1 -DTARGET_DEVICE=PINETIME -S . -B build

Which results in adding the following files inside build folder

Code:
├───CMakeFiles
│   ├───3.28.0-rc2
│   │   ├───CompilerIdASM
│   │   ├───CompilerIdC
│   │   │   ├───Debug
│   │   │   │   └───CompilerIdC.tlog
│   │   │   └───tmp
│   │   ├───CompilerIdCXX
│   │   │   ├───Debug
│   │   │   │   └───CompilerIdCXX.tlog
│   │   │   └───tmp
│   │   └───x64
│   │       └───Debug
│   │           └───VCTargetsPath.tlog
│   ├───58e9d56eaa4cb413b76d7d838cbc8fb1
│   ├───74be971449aa6aebb611e3cfdd9dd126
│   ├───83f795d81ab7de042a55dc014fe330ec
│   ├───CMakeScratch
│   └───pkgRedirects
└───src
    ├───CMakeFiles
    └───displayapp
        └───fonts
            └───CMakeFiles


Then I enter the build folder and I try to use make command as described in the above link 
Code:
make -j4 pinetime-app

It doesn't work, it says:
"make: *** No rule to make target 'pinetime-app'.  Stop."

I also tried make -j4, but similar issue. 

Any hints and guidance would be greatly appreciated.

Thanks


RE: Infinitime Build problem - Luno - 12-23-2023

Hi,
I guess there's something wrong at cmake:

first enter the build-dir in your src-dir: cd build

then:
Cmake -DARM_NONE_EABI_TOOLCHAIN_PATH="C:/Program Files (x86)/GNU Arm Embedded Toolchain/10 2021.10" -DNRF5_SDK_PATH="C:/Users/blackdev/pinetime/nRF5_SDK_15.3.0_59ac345" -DCMAKE_BUILD_TYPE=Debug -DBUILD_DFU=1 -DBUILD_RESOURCES=1 -DTARGET_DEVICE=PINETIME ../