getting an error when compiling.... - General Discussion and Assistance - CHDK Forum supplierdeeply

getting an error when compiling....

  • 2 Replies
  • 2509 Views
getting an error when compiling....
« on: 07 / October / 2011, 00:19:44 »
Advertisements
========== C:\CHDKSHELL\TRUNK\TRUNK1352\BIN\LOGS\ERR-SX20-102D.TXT ==========

In file included from rbf_font.c:4:0:
../../core/gui_draw.h:730:26: error: #if with no expression
C:\chdkshell\gcc451\bin\gmake.exe[2]: *** [rbf_font.o] Error 1
C:\chdkshell\gcc451\bin\gmake.exe[1]: *** [all-recursive] Error 1
gmake: *** [all-recursive] Error 1

whats this mean and how to fix it?

compiling with chdkshell for the sx20 d
sx20is 1.02d

*

Offline philmoz

  • *****
  • 3450
    • Photos
Re: getting an error when compiling....
« Reply #1 on: 07 / October / 2011, 01:24:31 »
Strange, I can't reproduce this in CHDK-Shell on my system.

Try changing the line:
     #if CAM_USE_COLORED_ICONS
to
     #if defined(CAM_USE_COLORED_ICONS)

and see if that helps. If it does, I'll submit an update.

Phil.
CHDK ports:
  sx30is (1.00c, 1.00h, 1.00l, 1.00n & 1.00p)
  g12 (1.00c, 1.00e, 1.00f & 1.00g)
  sx130is (1.01d & 1.01f)
  ixus310hs (1.00a & 1.01a)
  sx40hs (1.00d, 1.00g & 1.00i)
  g1x (1.00e, 1.00f & 1.00g)
  g5x (1.00c, 1.01a, 1.01b)
  g7x2 (1.01a, 1.01b, 1.10b)

Re: getting an error when compiling....
« Reply #2 on: 07 / October / 2011, 09:42:21 »
wierd....changed that, but then got another error for something else...
going to re download and install chdk shell....
sx20is 1.02d

 

Related Topics


SimplePortal 2.3.6 © 2008-2014, SimplePortal