Thread: Direct3D Programming In Dev-C++

  1. #1
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644

    Direct3D Programming In Dev-C++

    I'm programming in Direct3D 8.1 using Dev-C++ and have all of the lib files and everything working correctly, except for one thing. I have the book "Game Programming All In One", and I got the Mirus library from the CD, and got almost everything to work correctly......except I get this error:
    Code:
    C:\DEV-C_~1\MIRUS\PROJECTS\1\LIB\\libmingw32.a(main.o)(.text+0x8e): undefined reference to `WinMain@16'
    What do I do to fix this?

    P.S. If you have the answer, e-mail me at: [email protected]

  2. #2
    Has a Masters in B.S.
    Join Date
    Aug 2001
    Posts
    2,263
    your using a console app(or not defining winmain), use a windows or win32 or wingui(ect.) app...

    Winmain is the main for win32 programs.
    ADVISORY: This users posts are rated CP-MA, for Mature Audiences only.

  3. #3
    I am the worst best coder Quantrizi's Avatar
    Join Date
    Mar 2002
    Posts
    644
    Actually, I am. I have #include <windows.h> and #include "mrWindow.h" (mrWindow.h is part of the Mirus library I'm required to use for these tutorials in the book)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Why use Direct3D?
    By m3rk in forum Tech Board
    Replies: 42
    Last Post: 05-22-2009, 09:08 AM
  2. Need help with getting DirectX 9.0 initilization
    By DarkMortar in forum Windows Programming
    Replies: 7
    Last Post: 05-09-2006, 08:58 PM
  3. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  4. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  5. Direct3D vs. OpenGL
    By PorkyChop in forum Game Programming
    Replies: 22
    Last Post: 12-08-2002, 12:41 AM