Subj : BC++ 4.51 link error To : borland.public.cpp.borlandcpp From : "Kenny Wickstrom" Date : Fri Feb 13 2004 01:17 pm I am trying to use BC++ 4.51 to compile an example provided by OpenDWG (opendwg.org) that is suppose to read an AutoCAD DWG file. It requires compiling the source and then linking to 2 libraries that are provided. There isn't alot of documentation that says how the project should be configured. But the program is just suppose to open the DWG file, read the DWG attributes and print out some information. There is no attempt to create windows, so I don't think it needs a GUI. Also, I haven't used the BC++ compiler much and that was years ago. If I chose the target to be Windows 3.x and the Large model, then I get the following link error: Compiling ..\adexr\ADEXR.C: .... Linking adexr.exe: Linker Warning: No module definition file specified: using defaults Linker Fatal: 32-bit record encountered in library file ..\adb5n.lib in module adfonts If I chose the target to be Win32 and model of either GUI or Console, then I get the following link error: Compiling ..\ADEXR\ADEXR.C: .... Linking adexr.exe: Linker Fatal: 16 bit segments not supported in module d:\p\ad27\adfonts.c If someone can provide a little insight on what I should try next or options to configure, I would truly appreciate it. Thanks, Kenny .