User forums > Help

(Beginner)Installing code::blocks+platformSDk+SDKDirectX9.0

(1/1)

Anonymous:
Hello,

can anyone help me to put up the configuration?

I configurated the visual C++ compiler so that it points to the sdk platform and directx includes and lib, I added the sdk platform ->bin as a path variable.

Yet no luck . Cant get a project to compile: it is sending back linker errors

error lnk2019 unresolved external reference to .... in functionwinmain@16.

Thanks.

Anonymous:
By the way, how to edit the compiler output to past and copy it?
Thanks.

mandrav:

--- Quote from: Anonymous ---By the way, how to edit the compiler output to past and copy it?
Thanks.
--- End quote ---

There are two tabs with compiler output: "Compiler" and "Compiler messages".
You can copy the contents of "Compiler".

Yiannis.

Anonymous:
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DefWindowProcA@16 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ValidateRect@8 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__PostQuitMessage@4 referenced in function "long __stdcall MsgProc(struct HWND__ *,unsigned int,unsigned int,long)" (?MsgProc@@YGJPAUHWND__@@IIJ@Z)
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UnregisterClassA@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__DispatchMessageA@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__TranslateMessage@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__GetMessageA@16 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__UpdateWindow@4 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__ShowWindow@8 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__CreateWindowExA@48 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__GetDesktopWindow@0 referenced in function _WinMain@16
CreateDevice.obj : error LNK2019: unresolved external symbol __imp__RegisterClassExA@4 referenced in function _WinMain@16
Debug\CreateDevice.exe : fatal error LNK1120: 12 unresolved externals
Process terminated with status 1 (0 minutes, 0 seconds)

Navigation

[0] Message Index

Go to full version