Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

ftd2xx compile problem with C++ Borland

Status
Not open for further replies.

jleschi

Newbie level 2
Joined
Jul 11, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
ftd2xx borland

Hallo,

i try to compile the (C++ Builder) example 1 (**broken link removed**) with CodeGear C++, but i get followed error message:

[ILINK32 Fehler] Error: 'D:\MASTER_181206\SONSTIGE PROJEKTE\STUDIENPROJEKT\2007\EXAMPLE\C++\D2XXAPP\FTD2XX.LIB' enthõlt einen ung³ltigen OMF-Record, Typ 0x21 (m÷glicherweise COFF)


Can somebody help me, what i make wrong.

With best regards Josef
 

btbass

Advanced Member level 5
Joined
Jul 20, 2001
Messages
1,897
Helped
438
Reputation
880
Reaction score
287
Trophy points
1,363
Location
Oberon
Activity points
12,863
problem coff2omf

I think it might be with the way that the libraries are compiled. Borland uses a different format for dll's than Microsoft. One uses a coff format and one an omf format. Borland supplies a program, coff2omf.exe that converts one to the other. If you are not using the Borland compiler, a free download by the way, then try using the Microsoft example with CodeGear.
 

jleschi

Newbie level 2
Joined
Jul 11, 2007
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
ftd2xx c++ builder

Hallo,

now i convert the library in the new format and now i recieve a new error message

[ILINK32 Fehler] Error: Nicht aufl÷sbares externes 'FT_GetStatus' referenziert von D:\D2XXAPP\DEBUG_BUILD\CHILDWIN.OBJ

Can somebody help me?
 

boardlanguage

Full Member level 1
Joined
Apr 6, 2007
Messages
96
Helped
7
Reputation
14
Reaction score
1
Trophy points
1,288
Activity points
2,083
ilink32 omf-record

I think the FTDI *.DLL sample application requires MFC (Microsoft Foundation Classes.) I haven't used Borland compiler for very long time -- does Borland include MFC?

You need Visual Studio 6 (or later) to compile FTDI example code.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top