using consoleGDI

This is a discussion on using consoleGDI within the C++ Programming forums, part of the General Programming Boards category; trying to run demo program (drawshapes.cpp, draws a couple basic shapes in a GUI window). I'm getting an error that ...

  1. #1
    Registered User
    Join Date
    May 2004
    Posts
    11

    using consoleGDI

    trying to run demo program (drawshapes.cpp, draws a couple basic shapes in a GUI window). I'm getting an error that says:

    Resource Error | no resources.

    I've installed the clGDI devpack and have included the test file in a project. Is there something I'm forgetting? The GDI is working for some people in my class but not working for others. Any ideas?

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    In Windows, things like windows and buttons are designed and stored using things called resource files. My guess would be that these are missing and need to be linked in (you'd need a windows compiler. Dev-C++ can do it). If that's not it, it wouldn't hurt to post some source code.

  3. #3
    Registered User
    Join Date
    May 2004
    Posts
    11
    ya, with dev-c++ i get a linker error that says:
    "Undefined reference to __gl_personality_vxx"
    I have also tried the borland command line compiler (bcc5.5) but i get 14-16 errors when compiling it there. even just a main.cpp program for a Console GDI project gives me this error, so I know it's not code in any way.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21