Announcement

Collapse
No announcement yet.

Fehler beim kompilieren

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fehler beim kompilieren

    Guten Tag,
    ich will mit einer WindowsFormAnwendung in Visual Studio 2008 auf eine Datenbank zugreifen die ich mit IBExpert erstellt hab (Dateityp: .fdb).
    Das ganze soll über Firebird laufen.
    Nur wie mach ich das?

    Ich hab es bereits mit IBPP 2.5.3.1 versucht (http://www.ibpp.org/).
    Wie in dem howtobuild Textdokument beschrieben wird, habe ich die cpp Datein (außer "all_in_one") in meine Source Files kopiert und die beiden Header Datein "_ibpp.h" und "ibb.h"in mein Header Files Ordner. Will ich aber jetzt mein Programm starten kommt folgende Fehlermeldung:

    Error 5 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\user.cpp 71
    Error 8 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\transaction.cpp 410
    Error 11 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\time.cpp 209
    Error 13 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\statement.cpp 1307
    Error 16 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\service.cpp 775
    Error 20 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\row.cpp 1581
    Error 24 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\exception.cpp 352
    Error 26 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\events.cpp 373
    Error 31 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\dbkey.cpp 121
    Error 34 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\date.cpp 210
    Error 37 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\database.cpp 482
    Error 39 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\blob.cpp 380
    Error 42 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\array.cpp 1047
    Error 44 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\_tpb.cpp 99
    Error 46 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\_spb.cpp 134
    Error 48 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\_rb.cpp 204
    Error 50 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\_ibs.cpp 108
    Error 54 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\_ibpp.cpp 368
    Error 56 fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source? c:\Datenprogramm\Rent_a_car\rent_a_car\rent_a_car\ ibpp\core\_dpb.cpp 119
    Die Header Datei "stdafx.h" existiert! Ich habe allerdings nichts dort eingetragen. Muss ich noch irgenteinen Quelltext einfügen? Wenn ja welchen?

    Oder kennt ihr eine bessere Methode um auf Firebird zuzugreifen?

    Mit freundlichen Grüßen,
    MarcoOoOo

  • #2
    Nun, wäre es nicht eine Maßnahme, die stdafx.h mit zu includieren
    Christian

    Comment

    Working...
    X