<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Wenn bei dir noch #include <json/json.h> steht nutzt du eine sehr alte Version (s.u. älter als 8.1.15). Bitte erst mal updaten.<div class=""><div class=""><br class=""></div><div class="">git blame include/Json.hpp</div><div class="">c09bde7c (Kai Krueger   2012-05-22 16:00:07 +0200  1) #ifndef _Json_hpp_</div><div class="">c09bde7c (Kai Krueger   2012-05-22 16:00:07 +0200  2) #define _Json_hpp_</div><div class="">c09bde7c (Kai Krueger   2012-05-22 16:00:07 +0200  3) </div><div class="">068d372e (Matthias Behr 2015-01-08 22:12:29 +0100  4) #include <json-c/json.h></div><div class="">c09bde7c (Kai Krueger   2012-05-22 16:00:07 +0200  5) #include <shared_ptr.hpp></div><div><blockquote type="cite" class=""><div class="">Am 14.12.2015 um 06:47 schrieb Rudolf Reuter <<a href="mailto:reuterru@arcor.de" class="">reuterru@arcor.de</a>>:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    <div class="moz-cite-prefix">@Udo1<br class="">
      Mit dem Image hatte ich ein Problem, es kann aber auch an <br class="">
      einer defekten SD-Karte gelegen haben. Deshalb habe ich den<br class="">
      Weg mit dem Compiler gewählt, was ja nach aktueller Anleitung<br class="">
      auch funktionieren sollte ;-)<br class="">
      <br class="">
      @Andreas<br class="">
      Ja, es gibt /usr/include/json-c/json.h, aber nicht die Environment<br class="">
      Variable JSON_HOME, wenn ich aufrufe:<br class="">
      $ env<br class="">
      <br class="">
      Ich habe dann in ~/.bashrc exportiert:<br class="">
      export JSON_HOME=/usr/include/json-c/json.h<br class="">
      und nach logout/login geprüft mit:<br class="">
      $ env<br class="">
      <br class="">
      Aber das hat leider den Compiler Fehler nicht behoben:<br class="">
      -- FindJson check<br class="">
      -- checking for module 'json>=0.9'<br class="">
      --   package 'json>=0.9' not found<br class="">
      -- JSON_HOME is not empty: "/usr/local/lib/"<br class="">
      -- Looking for json in /usr/local/lib/<br class="">
      Jsoon search:
'/usr/local/lib//include;/usr/local/lib//include;/usr/local/include;/usr/include'<br class="">
      CMake Error at CMakeLists.txt:74 (message):<br class="">
        libjson ist required.<br class="">
      <br class="">
        Install json or call cmake -DJSON_HOME=path_to_json_install<br class="">
      <br class="">
      Ich habe gesehen, im File vzlogger/include/json.hpp ist:<br class="">
      #include <json/json.h><br class="">
      <br class="">
      Das habe ich zum Versuch geändert in:<br class="">
      #include <json-c/json.h><br class="">
      Das hat den Compiler Fehler auch nicht behoben.<br class="">
      <br class="">
      Grüße, Rudolf<br class="">
      <br class="">
      Am 13.12.15 um 23:27 schrieb Matthias Behr:<br class="">
    </div>
    <blockquote cite="mid:4A35A441-6320-47BF-AB98-B9A49D5863D7@mcbehr.de" type="cite" class="">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
      Gibt es unter
      <div class=""><br class="">
      </div>
      <div class="">JSON_HOME /include/json-c/json.h ?</div>
      <div class=""><br class="">
      </div>
      <div class=""><br class="">
        <div class="">
          <blockquote type="cite" class="">
            <div class="">Am 13.12.2015 um 23:13 schrieb Rudolf Reuter
              <<a moz-do-not-send="true" href="mailto:reuterru@arcor.de" class="">reuterru@arcor.de</a>>:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta content="text/html; charset=utf-8" http-equiv="Content-Type" class="">
              <div bgcolor="#FFFFFF" text="#000000" class="">
                <div class="moz-cite-prefix">Vielen Dank für die
                  Hilfestellung.<br class="">
                  <br class="">
                  @Udo1<br class="">
                  Das Jessie ist von 2015-11-21, also denke ich, dass es
                  noch aktuell ist<br class="">
                  <br class="">
                  @Andreas<br class="">
                  $ make clean<br class="">
                  make: *** No rule to make target 'clean'.  Schluss.<br class="">
                  <br class="">
                  $ cmake clean<br class="">
                  CMake Error: The source directory
                  "/home/pi/Install/vzlogger/clean" does not exist.<br class="">
                  Specify --help for usage, or press the help button on
                  the CMake GUI.<br class="">
                  <br class="">
                  CMakeCache.txt 15989 bytes - gelöscht<br class="">
                  <br class="">
                  Leider hat alles nicht geholfen.<br class="">
                  <br class="">
                  Grüße, Rudolf<br class="">
                  <br class="">
                  Am 13.12.15 um 22:12 schrieb Andreas Götz:<br class="">
                </div>
                <blockquote cite="mid:ABE4A95A-417E-4E27-8258-3F82B1279653@gmail.com" type="cite" class="">
                  <pre class="" wrap="">Sicherheitshalber mal make clean versuchen oder cmakecache entfernen.

Viele Grüße, Andreas 

</pre>
                  <blockquote type="cite" class="">
                    <pre class="" wrap="">Am 13.12.2015 um 20:31 schrieb Udo1 <a moz-do-not-send="true" class="moz-txt-link-rfc2396E" href="mailto:udo1@gmx.net"><udo1@gmx.net></a>:

</pre>
                    <blockquote type="cite" class="">
                      <pre class="" wrap="">Am 13.12.2015 um 20:18 schrieb Rudolf Reuter:
libjson ist required.
</pre>
                    </blockquote>
                    <pre class="" wrap="">Hattest du vorher ein sudo apt get update gemacht und die dependencies entsprechend Wheezy oder Jessie installiert.
Ansonsten noch mal den Abschnitt 'Building libjson' komplett durchführen.

Gruß
Udo
</pre>
                  </blockquote>
                </blockquote>
                <br class="">
              </div>
            </div>
          </blockquote>
        </div>
        <br class="">
        <div class="">
          <span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; line-height: normal; border-spacing: 0px;">
            <div style="word-wrap: break-word; -webkit-nbsp-mode: space;
              -webkit-line-break: after-white-space;" class="">
              <div class="">Gruß</div>
              <div class=""><br class="">
              </div>
              <div class="">Matthias</div>
            </div>
          </span>
        </div>
        <br class="">
      </div>
    </blockquote>
    <br class="">
  </div>

</div></blockquote></div><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; border-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-stroke-width: 0px;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Gruß</div><div class=""><br class=""></div><div class="">Matthias</div></div></span>
</div>
<br class=""></div></body></html>