User forums > Help

BCC32 support broke?

<< < (2/4) > >>

rickg22:
it seems then that we have to add the specific libraries, so we need 4 options on the templates. Or actually, 4 different projects  :-/ with one same template.

No, wait - I think this belongs to "compiler options", not templates. Yiannis, is there a way we can choose from 4 libraries in the compiler er linker options for a certain compiler?

mandrav:

--- Quote from: rickg22 ---Yiannis, is there a way we can choose from 4 libraries in the compiler er linker options for a certain compiler?
--- End quote ---

Currently, no.

Yiannis.

rickg22:
Well, Then I'm sure you could add the Single Threaded / Static Link library by default. Those who know what they're doing might remove it :)

duncanka:

--- Quote ---You have to link with one of BCC's cw32*.lib runtime library files :

cw32.lib = Single Threaded / Static Link
cw32i.lib = Single Threaded / Dynamic Link (cc3250.dll)
cw32mt.lib = Multi Threaded / Static Link
cw32mti.lib = Multi Threaded / Dynamic Link (cc3250mt.dll)
--- End quote ---

I tried this, since I had the same problem as whoever started this thread, and I still got a whole slew of errors:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external 'GetModuleHandleA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|xxv
Error: Unresolved external 'GetProcAddress' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|xxv
Error: Unresolved external 'LoadLibraryA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|hrdir_b
Error: Unresolved external 'GetVersion' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'GetCurrentThreadId' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'EnumThreadWindows' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'GetModuleFileNameA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'GetOEMCP' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|mbctype
Error: Unresolved external 'GetCPInfo' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|mbctype
Error: Unresolved external 'GetACP' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|mbctype
Error: Unresolved external 'MessageBoxA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'GetStdHandle' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'WriteFile' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|errormsg
Error: Unresolved external 'GetLocalTime' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|ermsghlp
Error: Unresolved external '_wsprintfA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|ermsghlp
Error: Unresolved external 'CreateFileA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|ermsghlp
Error: Unresolved external 'CloseHandle' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|ermsghlp
Error: Unresolved external 'ExitProcess' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|initexit
Error: Unresolved external 'GetVersionExA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|platform
Error: Unresolved external 'VirtualAlloc' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|virtmem
Error: Unresolved external 'VirtualFree' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|virtmem
Error: Unresolved external 'GlobalMemoryStatus' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|heap
Error: Unresolved external 'RtlUnwind' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|ta
Error: Unresolved external 'SetHandleCount' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|handles
Error: Unresolved external 'GetStartupInfoA' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|handles
Error: Unresolved external 'GetFileType' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|__isatty
Error: Unresolved external 'GetLastError' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|ioerror
Error: Unresolved external 'SetFilePointer' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|__lseek
Error: Unresolved external 'UnhandledExceptionFilter' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|except
Error: Unresolved external 'SetConsoleCtrlHandler' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|signal
Error: Unresolved external 'RaiseException' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|xx
Error: Unresolved external 'GetEnvironmentStrings' referenced from C:\PROGRAM FILES\CPP TOOLS\BORLAND\BCC55\LIB\CW32.LIB|startup
Error: Unresolved external 'GetCommandLineA' referenced from C:\PROGRAM FILES\CPP
[cut]


--- Quote ---The default linker options I use :

cw32mt (in left pane of BCC32/linker tab) [~to link w/ static/multithreaded lib~]
-x -Gn (in right pane of linker tab) so that no map file is generated [~cosmetic~]
--- End quote ---

I also tried this, but it had absolutely no effect.
Anyone have any suggestions?

rickg22:
It seems those are Microsoft dependencies. Try adding kernel32 and user32 to the libraries.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version