Welcome, Guest. Please login or register.

Author Topic: Programming a Window in C to hold a picture/background  (Read 3136 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Programming a Window in C to hold a picture/background
« on: January 10, 2012, 06:41:13 AM »
First of all, you should compile the app with -noixemul.

Additionally the code depends on the library bases being opened automagically so you may need to add libauto (-lauto). Some systems don't have working libauto in which case you need to open the library bases manually as described earlier.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Programming a Window in C to hold a picture/background
« Reply #1 on: January 13, 2012, 06:43:51 AM »
Quote from: Morbane;675555
I was hoping it would compile and run so I can learn something. I tried it in 3 compilers GCC , DEVCC, Codeblocks - no luck with all three, though DEVCC had the least amount of errors but I cant decipherthem. Damn.

The example compiles just fine with gcc here if I specify -noixemul. I do have working libauto though. If I leave -noixemul out I get the same errors as you (as expected).