Autor Beitrag
Harry M.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Fr 15.07.05 21:59 
Guten Abend Jungs!

Kann mir mal jemand bitte ein in C geschriebens Prog compilieren - is nur nen kleines Tool, keine komerzielle Software oder sowas). Ich krieges es selber nicht hin. Bei einem Delphiprog würde ich sagen er findet bestimmt Units nicht. Keine Ahnung wie das in C heißt.

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Sa 16.07.05 11:21 
Einmal nach oben schieb :oops:

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Sa 16.07.05 11:37 
Was geht den beim Kompilieren nicht, welcher Fehler tritt auf - welchen C-Compiler benutzt du?

Gruß,
maxk

PS: Schiebepostings sind eigentlich unerwünscht :twisted:

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Sa 16.07.05 18:38 
Ich weiß das man das nicht gerne sieht.... is mir aber unheimlich wichtig.

Also ich nutze eine Standart-Edition und die Compilermeldung ist:

Compiling...
gooscan.c
c:\dokumente und einstellungen\administrator\desktop\google\src\gooscan.c(5) : fatal error C1083: Cannot open include file: 'getopt.h': No such file or directory
Error executing cl.exe.

gooscan.obj - 1 error(s), 0 warning(s)

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: Sa 16.07.05 19:14 
das heisst dass dir die headerdatei Suche bei Google GETOPT.H fehlt
kopier dir die getopt.h und .c von hier und tu sie in den includepath deines compilers
svn.xiph.org/branches/theora-mmx/examples/

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Sa 16.07.05 20:54 
user profile iconHarry M. hat folgendes geschrieben:
Ich weiß das man das nicht gerne sieht.... is mir aber unheimlich wichtig.
Das ist es den meisten, wenn sie schieben :roll:

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: Sa 16.07.05 23:01 
Jo Danke. Geht. Nun bringt erzwar den nächsten Fehler... aber das sollte ich jetzt alleine hinbekommen. Weiß ja jetzt was zu tun ist.

Danke nochmal

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: So 17.07.05 10:20 
Also das mit den Headern habe ich hinbekommen. Koders.com war da sehr hilfreich. Jetzt stehe ich aber vor dem nächsten Problem:

Compiling...
gooscan.c
C:\Dokumente und Einstellungen\Administrator\Desktop\Google\src\gooscan.c(427) : warning C4018: '<' : signed/unsigned mismatch
C:\Dokumente und Einstellungen\Administrator\Desktop\Google\src\gooscan.c(466) : warning C4018: '<' : signed/unsigned mismatch
C:\Dokumente und Einstellungen\Administrator\Desktop\Google\src\gooscan.c(558) : warning C4013: 'bzero' undefined; assuming extern returning int
C:\Dokumente und Einstellungen\Administrator\Desktop\Google\src\gooscan.c(562) : warning C4013: 'close' undefined; assuming extern returning int
C:\Dokumente und Einstellungen\Administrator\Desktop\Google\src\gooscan.c(568) : error C2065: 'MSG_WAITALL' : undeclared identifier
Error executing cl.exe.



Results
gooscan.exe - 1 error(s), 4 warning(s)


Oh brauner Haufen...

Und nu? Mit "undeclared identifier" kann ich ja noch was anfangen, weiß aber nich wie ich es beheben soll.
Wieseo bringt der soviele Fehler? Den Quellcode habe ich direkt von der "Herstellerseite".

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
AXMD
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 4006
Erhaltene Danke: 7

Windows 10 64 bit
C# (Visual Studio 2019 Express)
BeitragVerfasst: So 17.07.05 10:27 
Vielleicht fehlen dir weitere Libraries - sieht zumindest ganz danach aus.

AXMD
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 17.07.05 11:38 
user profile iconHarry M. hat folgendes geschrieben:
Und nu?

...wärs gar nicht mal so schlecht, wenn du ein bisschen Source rüberwachsen ließest - anhand der Fehlermeldung ist das zwar ziemlich klar, wenn man im MSDN einfach mal nach Suche im MSDN C2065 sucht, aber mit Source wäre es wesentlich einfacher zu helfen.

_________________
JSXGraph
Harry M. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 754

Win 2000, XP
D2005
BeitragVerfasst: So 17.07.05 11:45 
Nix leichter als das.

Moderiert von user profile iconraziel: Anhang entfernt. [url=www.delphi-forum.de/...3#273543]Grund[/url]

_________________
Gruß Harry
Et spes me per dies sine te ducat et amor me ferat, si dolor spem tollit.
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: So 17.07.05 15:52 
ne exe soll ne source sein ? erwarte nicht dass das jemand runterlädt.
übrigens ist gooscan ein UNIX-tool, drum wirds vermutlich nicht auf windows kompilieren user defined image

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
Floker
Hält's aus hier
Beiträge: 7

WIN 2000
D2005 Pers
BeitragVerfasst: So 17.07.05 16:34 
user profile iconretnyg hat folgendes geschrieben:
ne exe soll ne source sein ? erwarte nicht dass das jemand runterlädt.


:lol:

alda, selbstentpackendes archiv
retnyg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 2754

SNES, GB, GBA, CPC, A500, 486/66, P4/3.0HT: NintendOS, AmigaOS, DoS
Delphi 5, Delphi 7
BeitragVerfasst: So 17.07.05 16:39 
user profile iconFloker hat folgendes geschrieben:
user profile iconretnyg hat folgendes geschrieben:
ne exe soll ne source sein ? erwarte nicht dass das jemand runterlädt.

:lol:

alda, selbstentpackendes archiv

ich öffne keine exe-archive. wenn jemand ein archiv weitergeben will soll er zip oder so verwenden, wo man nicht in die gefahr läuft sich nen trojaner einzufangen

_________________
es gibt leute, die sind genetisch nicht zum programmieren geschaffen.
in der regel haben diese leute die regel...
raziel
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 2453

Arch Linux
JS (WebStorm), C#, C++/CLI, C++ (VS2013)
BeitragVerfasst: So 17.07.05 17:09 
Ich hab mal ebend nachgesehen, was Gooscan eigentlich ist: Ein Tool zum finden von Sicherheitslöchern über Google. Solche Scherze wurden und werden vom Delphi-Forum nicht unterstütz, weshalb ich hier jetzt vorerst schließen werde.

Gruß,
raziel

_________________
JSXGraph
Dieses Thema ist gesperrt, Du kannst keine Beiträge editieren oder beantworten.

Das Thema wurde von einem Team-Mitglied geschlossen. Wenn du mit der Schließung des Themas nicht einverstanden bist, kontaktiere bitte das Team.