Author Topic: (Beginner)Installing code::blocks+platformSDk+SDKDirectX9.0  (Read 7160 times)

Anonymous

  • Guest
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

  • Guest
(Beginner)Installing code::blocks+platformSDk+SDKDirectX9.0
« Reply #1 on: June 24, 2005, 04:20:42 pm »
By the way, how to edit the compiler output to past and copy it?
Thanks.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
(Beginner)Installing code::blocks+platformSDk+SDKDirectX9.0
« Reply #2 on: June 24, 2005, 05:47:50 pm »
Quote from: Anonymous
By the way, how to edit the compiler output to past and copy it?
Thanks.

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

Yiannis.
Be patient!
This bug will be fixed soon...

Anonymous

  • Guest
(Beginner)Installing code::blocks+platformSDk+SDKDirectX9.0
« Reply #3 on: June 24, 2005, 05:55:26 pm »
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)