User forums > Help
CC3250MT.DLL missing
niblettr:
Hi, Im trying to build a standalone win32 gui program using the Borland 5.5 compler and C:B 10.05 rev 6283
Every time I run the .exe I get System error CC3250MT.DLL missing.
The project compiles and runs fine under C:B
I've googled this and found that I should do the following:-
Packages - turn off 'Build with Runtime Packages'
Linker - turn off 'Use Dynamic RTL'
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)
So I tried cw32.lib and then cw32i.lib (I suspects its cw32i.lib that need)
Built the project in release mode and still cant get the .exe located in \bin\release\ to run without that dll???
here is the Build log:-
-------------- Clean: Release in test ---------------
Cleaned "test - Release"
-------------- Build: Release in test ---------------
bcc32.exe -q -w -O2 -w -IC:\Borland\BCC55\include -oobj\Release\main.obj -c main.cpp
main.cpp:
Warning W8057 main.cpp 69: Parameter 'hPrevInstance' is never used in function __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
Warning W8057 main.cpp 69: Parameter 'lpszArgument' is never used in function __stdcall WinMain(HINSTANCE__ *,HINSTANCE__ *,char *,int)
ilink32.exe -q -aa -LC:\Borland\BCC55\lib -LC:\Borland\BCC55\lib\psdk c0w32 obj\Release\main.obj ,bin\Release\test.exe,,gdi32.lib user32.lib kernel32.lib cw32mti.lib cw32i.lib comdlg32.lib cw32i.lib ,,
Output size is 7.50 KB
Process terminated with status 0 (0 minutes, 0 seconds)
0 errors, 2 warnings
One thing,(Packages - turn off 'Build with Runtime Packages') where is this pachages option? I can't find it anywhere?????
MortenMacFly:
--- Quote from: niblettr on August 09, 2012, 12:06:37 pm ---ilink32.exe -q -aa -LC:\Borland\BCC55\lib -LC:\Borland\BCC55\lib\psdk c0w32 obj\Release\main.obj ,bin\Release\test.exe,,gdi32.lib user32.lib kernel32.lib cw32mti.lib cw32.lib comdlg32.lib cw32.lib ,,
--- End quote ---
Well maybe yo should read your logs more carefully. The highlighted lib in red is the first the linker picks up and is the DYNAMIC version.
Also, you link 3 times against a version of cw32XXX (all bold) why? Clean up your project / compiler settings!
And also, please don't let us do your homework. >:(
niblettr:
WOW, friendly bunch here GOODBYE!
Jenna:
--- Quote from: niblettr on August 09, 2012, 12:55:38 pm ---WOW, friendly bunch here GOODBYE!
--- End quote ---
Your post violates our forum rules in many ways.
One is, that syou show, you did not even read them or you do not care.
See for example this:
--- Quote from: the rules on January 24, 2009, 09:14:54 pm ---2. Compiler/Linker errors are NOT Code::Blocks errors. Usually, C++ newcomers tend to confuse the Editor/IDE (Code::Blocks) with the Compiler (MINGW / GCC). You may see some errors in the compiler output because you missed to do something right in your code. But that's not Code::Blocks troubleshooting, that's C++ troubleshooting and does not belong in here. If your program doesn't compile, READ THE C++ MANUAL.
3. Is your problem library, framework specific? There are appropriate forums for it, not the Code::Blocks forum.
--- End quote ---
And MortenMacFly gave you some hints in his answers instead of just silently removing or locking your thread.
He was neither unfriendly nor insulting.
What do you expect more ?
niblettr:
No, I didn't expect anymore apart from the condecending manner in which he finished off the post.
Thank you MortenMcFly.
I am a complete novice at i386 programming so bear with me.
I suspected that my problems are related to the settings I have selected within C:B which is why I feel I have posted in the correct place. Help?
Anyway, I've cleaned up some of the options with C:B and I get :-
ilink32.exe -q -aa -LC:\Borland\BCC55\lib -LC:\Borland\BCC55\lib\psdk c0w32 obj\Release\HexMain.obj obj\Release\HexNobbler.obj obj\Release\HexMain.auto.obj ,bin\Release\Hex_project.exe,,gdi32.lib user32.lib kernel32.lib cw32.lib comdlg32.lib cw32i.lib ,,obj\Release\HexMain.res
where is cw32i.lib comming from? I have only added cw32.lib in the link libraries section.
Navigation
[0] Message Index
[#] Next page
Go to full version