Infinitime Build problem
#1
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/InfiniT...Program.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
  Reply
#2
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 ../
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 563 08-20-2023, 05:17 AM
Last Post: Luno
  Datetimecontroller problem when accessing on other cpp file Vishalnaik 0 678 02-27-2023, 04:05 AM
Last Post: Vishalnaik
  Can't build InfiniTime Anonymous1 1 1,456 01-25-2023, 01:49 AM
Last Post: matthewfelgate
  error when try to build infinitime 1.10 gy145 2 2,160 07-08-2022, 08:23 PM
Last Post: gy145
  Daemon and go library to interact with InfiniTime on Linux Arsen6331 0 1,888 08-21-2021, 10:32 AM
Last Post: Arsen6331
  Build Infinitime Sources aemkai 4 4,976 08-01-2021, 01:41 PM
Last Post: JF002
Information InfiniTime Default Face USA Mod - No longer supported The3DmaN 1 3,235 02-25-2021, 03:51 PM
Last Post: The3DmaN
  InfiniTime Avamander 4 7,038 02-24-2021, 02:38 PM
Last Post: Avamander
  Build PineTime Firmware in the Cloud lupyuen 3 5,954 07-27-2020, 04:54 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)