DaveGamble / cJSON

Ultralightweight JSON parser in ANSI C
MIT License
10.28k stars 3.15k forks source link

Can't Install it on PI #843

Closed Harzfear closed 2 months ago

Harzfear commented 3 months ago

Hey I tried your installation way but cmake.. doesn't work. Do you have a suggestion?

$ git clone https://github.com/DaveGamble/cJSON.git
$ cd cJSON
$ mkdir build
$cmake.. 
-bash: cmake: Kommando nicht gefunden.

i also tried $ cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_CJSON_TEST=Off -DCMAKE_INSTALL_PREFIX=/usr or this $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local

Im new to this sry :D

pyorokun7 commented 3 months ago

It seems " Kommando nicht gefunden" means "command not found"?

Apparently you don't have cmake installed. You should seek how to install it for your environment.

On Thu, Apr 4, 2024 at 11:35 AM Harzfear @.***> wrote:

Hey I tried your installation way but cmake.. doesn't work. Do you have a suggestion?

$ git clone https://github.com/DaveGamble/cJSON.git $ cd cJSON $ mkdir build $cmake.. -bash: cmake: Kommando nicht gefunden.

i also tried $ cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_CJSON_TEST=Off -DCMAKE_INSTALL_PREFIX=/usr or this $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local

I new to this sry :D

— Reply to this email directly, view it on GitHub https://github.com/DaveGamble/cJSON/issues/843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5SDCS4KMMHCJ5VS4YPJZTY3V6OBAVCNFSM6AAAAABFXTYWHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDMMBSGAYTSMQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Ckjkjh commented 3 months ago

Hello DaveGamble/cJSON

Who is this and what is it you are doing? You have made me mentally ill ??

null

On Fri, 5 Apr 2024 at 01:27, David Añez @.***> wrote:

It seems " Kommando nicht gefunden" means "command not found"?

Apparently you don't have cmake installed. You should seek how to install it for your environment.

On Thu, Apr 4, 2024 at 11:35 AM Harzfear @.***> wrote:

Hey I tried your installation way but cmake.. doesn't work. Do you have a suggestion?

$ git clone https://github.com/DaveGamble/cJSON.git $ cd cJSON $ mkdir build $cmake.. -bash: cmake: Kommando nicht gefunden.

i also tried $ cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_CJSON_TEST=Off -DCMAKE_INSTALL_PREFIX=/usr or this $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local

I new to this sry :D

— Reply to this email directly, view it on GitHub https://github.com/DaveGamble/cJSON/issues/843, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AB5SDCS4KMMHCJ5VS4YPJZTY3V6OBAVCNFSM6AAAAABFXTYWHGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGIZDMMBSGAYTSMQ>

. You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub https://github.com/DaveGamble/cJSON/issues/843#issuecomment-2038493908, or unsubscribe https://github.com/notifications/unsubscribe-auth/A7G5VVA7KX4ISE35XVLECNDY3XVYVAVCNFSM6AAAAABFXTYWHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZYGQ4TGOJQHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>