Webmaster Forum Logo Part 1 Webmaster Forum Logo Part 2
Webmaster Forum Logo Part 3
     
 
  :: Anmeldung

Benutzername:

Registrierung...

Passwort:

Passwort vergessen?

angemeldet bleiben


  
  :: Umfrage
Welche sozialen Netzwerke benutzt du regelmäßig?

 Facebook
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 73%
 keines
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 22%
 Google+
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 19%
 Twitter
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 11%
 Xing
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 6%
 schülerVZ
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 6%
 meinVZ
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 4%
 studiVZ
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 4%
 MySpace
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 2%
 LinkedIn
 Webmaster - WebspaceWebmaster - WebspaceWebmaster - Webspace 2%

 ges. 393 Stimmen
 
  :: Buttons

Valid XHTML 1.0 Transitional

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

1 Zum Seitenanfang

Donnerstag, 23. September 2010, 16:17

Modbus TCP Compiling Problem

Hallo kennt sich jemand hier mit Modbus TCP aus?
Ich habe eine Fedora 10 VM auf dem Eclipse (neu: Helios) installiert ist und muss die Modbus Software zum laufen bringen. Das Problem ist dass die Software von Beginn an ueber 130 compiler Fehler bringt welche groesstenteils auf fehlende includes hinweisen.
Die includes sind natuerlich alle eingebunden ;)
Es ist wohl eher etwas wie dass eine komplette library fuer einen existenten oder nicht existenten Compiler fehlt. ?(

typische Fehlermeldungen sind:
‘fopen’ was not declared in this scope xml.cpp /Utilities/source line 1391 C/C++ Probl
‘sprintf’ was not declared in this scope xml.cpp /Utilities/source line 1314 C/C++ Probl
‘strcat’ was not declared in this scope xml.cpp /Utilities/source line 285 C/C++ Probl
‘strcmp’ was not declared in this scope xml.cpp /Utilities/source line 1566 C/C++ Probl
‘strcpy’ was not declared in this scope xml.cpp /Utilities/source line 162 C/C++ Probl

usw. usf...

Hat jemand eine Idee? Bzw kann meine Annahme widerlegen?
Auf jegmoegliche sowie rasche Antworten freue ich mich.

Matte
 

ivanhoe

Eroberer

Dabei seit: 09.06.2009

Beiträge: 69

 

2 Zum Seitenanfang

Donnerstag, 23. September 2010, 20:25

Würdest du bitte mal den kompletten output zur Verfügung stellen? Ich weiß zwar nicht ob ich dir helfen kann, würde es aber gern versuchen.
 

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

3 Zum Seitenanfang

Donnerstag, 23. September 2010, 21:23

den kompletten? is ein ganzes stueck ;)

  Spoiler Spoiler

Description Resource Path Location Type
make: *** [src/CommandLineClient.o] Error 1 CommandLineClient C/C++ Problem
make: *** [source/CleanUpMaps.o] Error 1 DataDictionary C/C++ Problem
string: No such file or directory Hash.h /ApplicationIncludes line 11 C/C++ Problem
vector: No such file or directory Hash.h /ApplicationIncludes line 12 C/C++ Problem
‘class RealTimeClockUtils’ has no member named ‘PrintTime’ LogDiagnostics.cpp /Utilities/source line 24 C/C++ Problem
‘LOG_USER’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 29 C/C++ Problem
‘strlen’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 28 C/C++ Problem
‘strncat’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 25 C/C++ Problem
‘strncpy’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 24 C/C++ Problem
‘syslog’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 29 C/C++ Problem
‘va_list’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 22 C/C++ Problem
‘va_start’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 27 C/C++ Problem
‘vargList’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 27 C/C++ Problem
‘vsnprintf’ was not declared in this scope LogDiagnostics.cpp /Utilities/source line 28 C/C++ Problem
errno.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 13 C/C++ Problem
expected `;' before ‘vargList’ LogDiagnostics.cpp /Utilities/source line 22 C/C++ Problem
fcntl.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 12 C/C++ Problem
stdarg.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 10 C/C++ Problem
stdio.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 8 C/C++ Problem
stdlib.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 9 C/C++ Problem
sys/time.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 11 C/C++ Problem
syslog.h: No such file or directory LogDiagnostics.cpp /Utilities/source line 14 C/C++ Problem
syslog.h: No such file or directory LogDiagnostics.h /ApplicationIncludes line 11 C/C++ Problem
‘iterator’ in class ‘ModbusFunctionRanges’ does not name a type ModbusFunctionRanges.h /ApplicationIncludes line 24 C/C++ Problem
expected `{' before ‘<’ token ModbusFunctionRanges.h /ApplicationIncludes line 11 C/C++ Problem
expected template-name before ‘<’ token ModbusFunctionRanges.h /ApplicationIncludes line 11 C/C++ Problem
expected unqualified-id before ‘<’ token ModbusFunctionRanges.h /ApplicationIncludes line 11 C/C++ Problem
forward declaration of ‘class ModbusFunctionRanges’ ModbusFunctionRanges.h /ApplicationIncludes line 11 C/C++ Problem
‘ModbusMaster’ has not been declared ModbusMaster.cpp /ModbusMasterServer/source line 6 C/C++ Problem
expected constructor, destructor, or type conversion before ‘(’ token ModbusMaster.cpp /ModbusMasterServer/source line 6 C/C++ Problem
ModbusMaster.h: No such file or directory ModbusMaster.cpp /ModbusMasterServer/source line 2 C/C++ Problem
stdafx.h: No such file or directory ModbusMaster.cpp /ModbusMasterServer/source line 1 C/C++ Problem
make: *** [source/ModbusMaster.o] Error 1 ModbusMasterServer C/C++ Problem
‘iterator’ in class ‘ModbusRanges’ does not name a type ModbusRanges.h /ApplicationIncludes line 19 C/C++ Problem
expected `{' before ‘<’ token ModbusRanges.h /ApplicationIncludes line 11 C/C++ Problem
expected template-name before ‘<’ token ModbusRanges.h /ApplicationIncludes line 11 C/C++ Problem
expected unqualified-id before ‘<’ token ModbusRanges.h /ApplicationIncludes line 11 C/C++ Problem
forward declaration of ‘class ModbusRanges’ ModbusRanges.h /ApplicationIncludes line 11 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 88 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 90 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 92 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 93 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 94 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 95 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 108 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 110 C/C++ Problem
‘size_t’ does not name a type PACComplexData.h /ApplicationIncludes line 112 C/C++ Problem
‘size_t’ has not been declared PACComplexData.h /ApplicationIncludes line 102 C/C++ Problem


die aufgabe ist es das ganze erst mal auf der linux maschine zum laufen zu bringen. Ich hab versucht die makefiles die mir eclipse so zu modifizieren dass er mit den lx compilern arbeitet und nich den cross compilern. Er hat mir dann das Teilprojekt in die oberste Ordnerebene reingeschmissen, was also auch keine Loesung war.
es sollte an fehlenden einstellungen im eclipse liegen.
achja ich hab versucht ein bisschen mit den includes rum zu spielen dass ergebnis war mal mehr mal weniger errors...
 

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

4 Zum Seitenanfang

Donnerstag, 23. September 2010, 21:25

da die nachricht mit dem kompletten output zu lang gwesen waere, hier der rest davon:


  Spoiler Spoiler


ISO C++ forbids declaration of ‘vector’ with no type PACComplexElement.h /ApplicationIncludes line 55 C/C++ Problem
ISO C++ forbids declaration of ‘vector’ with no type PACComplexElement.h /ApplicationIncludes line 77 C/C++ Problem
‘size_t’ does not name a type PACDDElement.h /ApplicationIncludes line 150 C/C++ Problem
‘string’ declared as a ‘virtual’ field PACDDElement.h /ApplicationIncludes line 142 C/C++ Problem
‘string’ has not been declared PACDDElement.h /ApplicationIncludes line 145 C/C++ Problem
‘string’ has not been declared PACDDElement.h /ApplicationIncludes line 146 C/C++ Problem
‘tData’ was not declared in this scope PACDDElement.h /ApplicationIncludes line 61 C/C++ Problem
‘vector’ declared as a ‘virtual’ field PACDDElement.h /ApplicationIncludes line 136 C/C++ Problem
‘vector’ declared as a ‘virtual’ field PACDDElement.h /ApplicationIncludes line 137 C/C++ Problem
‘vector’ declared as a ‘virtual’ field PACDDElement.h /ApplicationIncludes line 138 C/C++ Problem
‘vector’ declared as a ‘virtual’ field PACDDElement.h /ApplicationIncludes line 140 C/C++ Problem
‘vector’ declared as a ‘virtual’ field PACDDElement.h /ApplicationIncludes line 141 C/C++ Problem
expected ‘;’ before ‘&’ token PACDDElement.h /ApplicationIncludes line 142 C/C++ Problem
expected ‘;’ before ‘<’ token PACDDElement.h /ApplicationIncludes line 136 C/C++ Problem
expected ‘;’ before ‘<’ token PACDDElement.h /ApplicationIncludes line 137 C/C++ Problem
expected ‘;’ before ‘<’ token PACDDElement.h /ApplicationIncludes line 138 C/C++ Problem
expected ‘;’ before ‘<’ token PACDDElement.h /ApplicationIncludes line 140 C/C++ Problem
expected ‘;’ before ‘<’ token PACDDElement.h /ApplicationIncludes line 141 C/C++ Problem
expected type-specifier before ‘string’ PACDDElement.h /ApplicationIncludes line 120 C/C++ Problem
expected type-specifier before ‘vector’ PACDDElement.h /ApplicationIncludes line 115 C/C++ Problem
expected type-specifier before ‘vector’ PACDDElement.h /ApplicationIncludes line 116 C/C++ Problem
expected type-specifier before ‘vector’ PACDDElement.h /ApplicationIncludes line 117 C/C++ Problem
expected type-specifier before ‘vector’ PACDDElement.h /ApplicationIncludes line 118 C/C++ Problem
expected type-specifier before ‘vector’ PACDDElement.h /ApplicationIncludes line 119 C/C++ Problem
field ‘tData’ has incomplete type PACDDElement.h /ApplicationIncludes line 40 C/C++ Problem
field ‘time’ has incomplete type PACDDElement.h /ApplicationIncludes line 83 C/C++ Problem
ISO C++ forbids declaration of ‘string’ with no type PACDDElement.h /ApplicationIncludes line 142 C/C++ Problem
ISO C++ forbids declaration of ‘vector’ with no type PACDDElement.h /ApplicationIncludes line 136 C/C++ Problem
ISO C++ forbids declaration of ‘vector’ with no type PACDDElement.h /ApplicationIncludes line 137 C/C++ Problem
ISO C++ forbids declaration of ‘vector’ with no type PACDDElement.h /ApplicationIncludes line 138 C/C++ Problem
ISO C++ forbids declaration of ‘vector’ with no type PACDDElement.h /ApplicationIncludes line 140 C/C++ Problem
ISO C++ forbids declaration of ‘vector’ with no type PACDDElement.h /ApplicationIncludes line 141 C/C++ Problem
map: No such file or directory PACDDElement.h /ApplicationIncludes line 20 C/C++ Problem
list: No such file or directory PACDataDictionaryDef.h /ApplicationIncludes line 41 C/C++ Problem
vector: No such file or directory PACDataDictionaryDef.h /ApplicationIncludes line 42 C/C++ Problem
errno.h: No such file or directory PACException.h /ApplicationIncludes line 30 C/C++ Problem
expected ‘;’ before ‘*’ token PACException.h /ApplicationIncludes line 35 C/C++ Problem
expected ‘;’ before ‘&’ token PACException.h /ApplicationIncludes line 43 C/C++ Problem
invalid use of ‘::’ PACException.h /ApplicationIncludes line 35 C/C++ Problem
invalid use of ‘::’ PACException.h /ApplicationIncludes line 43 C/C++ Problem
Invalid project path: Include path not found (/opt/openWRT/include). CommandLineClient pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/lib/gcc/powerpc-linux-uclibc/4.2.4/include). CommandLineClient pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/powerpc-linux-uclibc/include/c++/4.2.4). CommandLineClient pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/powerpc-linux-uclibc/include/c++/4.2.4/powerpc-linux-uclibc). CommandLineClient pathentry Path Entry Problem
iostream: No such file or directory CommandLineClient.cpp /CommandLineClient/src line 10 C/C++ Problem
stdlib.h: No such file or directory CommandLineClient.cpp /CommandLineClient/src line 9 C/C++ Problem
Invalid project path: Include path not found (/opt/boost_1_37_0). DataDictionary pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/google/include). DataDictionary pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/include). DataDictionary pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/lib/gcc/powerpc-linux-uclibc/4.2.4/include). DataDictionary pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/powerpc-linux-uclibc/include/c++/4.2.4). DataDictionary pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/powerpc-linux-uclibc/include/c++/4.2.4/powerpc-linux-uclibc). DataDictionary pathentry Path Entry Problem
google/dense_hash_map: No such file or directory DictionaryMap.h /ApplicationIncludes line 8 C/C++ Problem
string: No such file or directory Hash.h /ApplicationIncludes line 11 C/C++ Problem
algorithm: No such file or directory MeterContainerIndexMap.h /ApplicationIncludes line 9 C/C++ Problem
stdlib.h: No such file or directory MeterContainerIndexMap.h /ApplicationIncludes line 8 C/C++ Problem
vector: No such file or directory MeterContainerIndexMap.h /ApplicationIncludes line 10 C/C++ Problem
Invalid project path: Include path not found (/opt/openWRT/include). ModbusMasterServer pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/lib/gcc/powerpc-linux-uclibc/4.2.4/include). ModbusMasterServer pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/powerpc-linux-uclibc/include/c++/4.2.4). ModbusMasterServer pathentry Path Entry Problem
Invalid project path: Include path not found (/opt/openWRT/powerpc-linux-uclibc/include/c++/4.2.4/powerpc-linux-uclibc). ModbusMasterServer pathentry Path Entry Problem
Invalid project path: Include path not found (ModbusMaster/include). ModbusMasterServer pathentry Path Entry Problem
map: No such file or directory PACDDElement.h /ApplicationIncludes line 20 C/C++ Problem
list: No such file or directory PACDataDictionaryDef.h /ApplicationIncludes line 41 C/C++ Problem
vector: No such file or directory PACDataDictionaryDef.h /ApplicationIncludes line 42 C/C++ Problem
errno.h: No such file or directory PACException.h /ApplicationIncludes line 30 C/C++ Problem
string: No such file or directory PACException.h /ApplicationIncludes line 29 C/C++ Problem
algorithm: No such file or directory PACRequestClient.h /ApplicationIncludes line 24 C/C++ Problem
arpa/inet.h: No such file or directory PACRequestClient.h /ApplicationIncludes line 26 C/C++ Problem
netinet/in.h: No such file or directory PACRequestClient.h /ApplicationIncludes line 25 C/C++ Problem
sys/socket.h: No such file or directory PACRequestClient.h /ApplicationIncludes line 28 C/C++ Problem
sys/types.h: No such file or directory PACRequestClient.h /ApplicationIncludes line 27 C/C++ Problem
time.h: No such file or directory RealTimeClockUtils.h /ApplicationIncludes line 3 C/C++ Problem
Error launching external scanner info generator (${CROSS_COMPILE}g++ -E -P -v -dD /opt/modbus-tcp_recent/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) Utilities Unknown C/C++ Problem
Error launching external scanner info generator (${CROSS_COMPILE}g++ -E -P -v -dD /opt/modbus-tcp_recent/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) Utilities Unknown C/C++ Problem
 

gen4ik

Doppel-As

Dabei seit: 08.09.2010

Beiträge: 126

 

5 Zum Seitenanfang

Donnerstag, 23. September 2010, 23:46

ist include verzeichnes in makefile richtig eingetragen
oder fehlt was im system
denke ich aber kann mich auch ihren

edit:

auf denn ersten blick siet protokoll nicht kompliziert aus
beschreibungen giebs dafür im inet
http://www.modbus.org/docs/Modbus_Applic…tocol_V1_1b.pdf
В нас часто проявляется плебейство.Ну, что ж, один - атлет, другой - Атлант.Несовместимы Гений и Злодейство,Но совместимы зависть и талант.

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »gen4ik« (23. September 2010, 23:46)

 

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

6 Zum Seitenanfang

Donnerstag, 23. September 2010, 23:51

das makefile wird generiert, also eher im system. Aber ich will eigentlich nur dass er die standard c/c++ compiler nimmt. also den g++ oder den gcc. es soll einfach kompiliert werden :)
 

gen4ik

Doppel-As

Dabei seit: 08.09.2010

Beiträge: 126

 

7 Zum Seitenanfang

Donnerstag, 23. September 2010, 23:58

was für toolchain oder wie geht das bei dir ?

also c++ compiler auswälen muss auch option sein
ich benuze schon fertige eclipse von Atmel mit avr32 toolchain da muss ich nichts umstellen

wenn du das runtergeladen hast und das entpakt hast
gieb make menuconfig dann kanst du archetektur wählen
meistens

so gut kenne ich mich nicht aus

guk mal da nach

В нас часто проявляется плебейство.Ну, что ж, один - атлет, другой - Атлант.Несовместимы Гений и Злодейство,Но совместимы зависть и талант.

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »gen4ik« (24. September 2010, 11:29)

 

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

8 Zum Seitenanfang

Freitag, 24. September 2010, 00:08


fuer mich nichts ausergewoehnliches, vielleicht faellt dir was auf
 

gen4ik

Doppel-As

Dabei seit: 08.09.2010

Beiträge: 126

 

9 Zum Seitenanfang

Freitag, 24. September 2010, 00:14

so wie das aussiet brauchst du openwrt für powerpc

aber du wilst das für dein system compiliren x86 denke ich

wenn du das runtergeladen hast und enpakt ist da redme datei
oder so was wie make x86

und wie gesagt kanst du einfach versuchen make menuconfig oder ..... xconfig

kanst du, das was du zum laufen bringen wilst
schiken wenn das geht
В нас часто проявляется плебейство.Ну, что ж, один - атлет, другой - Атлант.Несовместимы Гений и Злодейство,Но совместимы зависть и талант.
 

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

10 Zum Seitenanfang

Montag, 27. September 2010, 06:01

Danke Gen4ik,
also ich hab zwar nix installiert aber ich hab nach endlosen Suchen im Web und durch fragen von ein paar Kollegen endlich heraus gefunden wo bei Fedora die Standard C/C++ Libraries sind :)
Diese hab ich in dem Fenster in von dem die Screenshots sind dann eben eingefügt und es waren einige Fehler behoben.
Der Rest scheinen Kompilierfehler zu sein, die dadurch zu erklären waren, dass die Software in Visual Studio geschrieben wurde und somit die Datenbanken von Eclipse nicht erkannt wurden...
 

gen4ik

Doppel-As

Dabei seit: 08.09.2010

Beiträge: 126

 

11 Zum Seitenanfang

Montag, 27. September 2010, 12:41

ja bisschen zu wenig information
und zwar
was für paket /lib
von wo und wo für ?
am besten einfach bild von verzeichniss machen
da manche software nicht an drite person gereicht werden darf

wenn das nicht der fall ist kanst du einfach den paket posten

und wie gesagt das protokoll ist nicht kompliziert , selber währe glaube schneller zu machen
aber ich glaube nur. wissen nicht

unterschiede von fedora , debian ,ubuntu-kubuntu gibs keine
wo die standart biblioteken sind
das problem bei dir ist uclibc

poste das programm da kann ich dir viel besser helfen
und ich lerne dazu :)
В нас часто проявляется плебейство.Ну, что ж, один - атлет, другой - Атлант.Несовместимы Гений и Злодейство,Но совместимы зависть и талант.
 

Matte

Tripel-As

Dabei seit: 01.01.2009

Beiträge: 154

 

12 Zum Seitenanfang

Mittwoch, 29. September 2010, 18:01

Also ich hab die ganz normale aktuelle Modbus Version genommen und sie in dem Eclipse geoeffnet. Ich kanns jetz kompilieren.
Probleme waren:
  • In 2 Projekten musste der Artefakt Typ in Static Library umgestellt werden.
  • Includes wurden nicht gefunden, hinzufuegen von manchen std-library und von lokalen include verzeichnissen
  • Praeprozessor symbol musste hinzugefuegt werden.
  • Der linker hat eine falsche Pfadangabe fuer die objekt dateien gehabt.

ich glaub des wars so ziemlich.
Achja ein paar visual studio spezifische eigenheiten noch wie includes haben in headers gefehlt, da ms manche std libraries automatisch einfuegt und komischerweise gabs ein henne/ei problem. so dass eine instanz einer klasse in einer anderen klasse genutzt wurde ohne dass die klasse vorher definiert war.. o.O

lauter so sachen eben.

jetz bin ich einfach drueber den netzwerk verkehr mitzuschneiden. der command line client will aber noch eine mir unbekannte referenz zu einem datenspeicher. ich denke auf dem device.
 

gen4ik

Doppel-As

Dabei seit: 08.09.2010

Beiträge: 126

 

13 Zum Seitenanfang

Donnerstag, 30. September 2010, 02:18

ich benutze leider linux nicht da linux zu schwer für mich ist
aber so weit ich weiß gibs so was wie "apt-get" glaube ich
damit kann man gcc downloaden und installieren
geht von alleine
damit kann man glaube ich c Programme kompilieren und linken
aber man muss schon c/c++ können ohne das wird schwer

gcc ist ein gutes Werkzeug damit kann man für mehrher cpu sogar für Mikrocontroller programmieren
um das zu machen gibts so was wie toolchain
http://de.wikipedia.org/wiki/GNU_Toolchain

und ehrlich gesagt man kann sehr viel schreiben
aber wenn ich sehe das einer versucht
"Ach Ja ein paar visual studio spezifische Eigenheiten noch wie includes haben in headers gefehlt"
visual studio Projekt in linux zu portieren ????????
und in make path steht was von openwrt ???????

http://wiki.openwrt.org/toh/start

da fragt man sich
router mit modbus ? könnte sein

ok falsch doch x86

visual studio hat auch so was wie "cross" glaube ich und das heisst SDK

in eclipse visual studio Projekt aufGemach
der hat übersetzt "geht von alleine man muss nur weiter drücken" in linux Projekt für eclipse
leider ist ein Fehler passiert und der hat das für
cpu: powerpc
OS: Openwrt
denke mal ist ein router oder nas kein Bock zu suchen
gemacht ok
wie ich drauf komme einfach aus dem Bild da steht es dein include path

was macht man da
ändert erst mal die path Eintrag ok
geht immer noch nicht was macht man da???


Der linker hat eine falsche Pfadangabe für die Objekt Dateien gehabt.

das wahr bestimmt Static Library was man natürlich woher " Artefakt Typ in Static Library umstellen" gemacht hat
kp was das ist noch nie gemacht
ok geht immer noch nicht was macht man da?
"Praeprozessor symbol musste hinzugefegt werden."
das ist das hier
http://de.wikipedia.org/wiki/Pr%C3%A4prozessor
ok jetzt bin ich am ende und frage mal in forum nach..........

aber ich hab Gehör das ein Betriebsystem existiert die linux heißt oder so und da kann man alles machen
und damit machen viele Leute was zb modbus Programme

Modbus ist ein auf einer Master-Salve-Architektur basierendes Kommunikationsprotokoll

was willst du endlich haben ? master oder slave?
weist du noch nicht bestimmt beides oder? ich hätte master gemacht der kann bestimmt alles
es wurde sogar am meinem Geburtsjahr entwickelt 1979 von Modicon für speicherprogrammierbare Steuerungen

speicherprogrammierbare Steuerungen was könte das sein
Mikrocontroller mit lan Karte ?
ein router mit openwrt ?
eine allarm anlage?
ein text display über modbus mit 1gbit glassfaser leitung ?
gefällt mir mein nächstes Projekt zum lernen wie c++ geht
aber erst mal "einfach drueber den netzwerk verkehr mitzuschneiden"
mit programm was ich selber gemacht habe aber da leider auch ein Fehler ist "unbekannte referenz zu einem datenspeicher"
"ich denke auf dem device. "
also auf dem display der wider rum an ein MC angeschlossen ist und der mc 1gbit lan
oder ist das eine Waschmaschine mit 1 bit speicher 2ghz cpu
ja das klingt gut man kann wie gesagt viel schreiben aber ob das was bringt?
В нас часто проявляется плебейство.Ну, что ж, один - атлет, другой - Атлант.Несовместимы Гений и Злодейство,Но совместимы зависть и талант.