Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 12 Jun 2014
Offline Last Active Jun 13 2014 11:42 AM

Topics I've Started

BMFont solution can't find standard include files in VS 2010

12 June 2014 - 05:46 PM


I downloaded the source code of BMFont from http://svn.code.sf.net/p/bmfont/code/trunk and installed in standard folder for VS 2010 projects, My Documents\Visual Studio 2010\Projects\BMFont.


When I open main.cpp or other files of the solution, the errors are shown on all the standard includes:


"cannot open source file windows.h",

and so on.


Other my projects find all includes.

In "VC++ Directories" of "bmfont Property Pages" there are the settings for include paths:


C:\Progs\Sys\DirectX SDK\Include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;$(DXSDK_DIR)Include


It seems everything should work, but it doesn't.

Why? Does bmfont somehow rewrites standard variables such as $(VCInstallDir)?

How to check or correct that, I don't know. I'm rather new in all this.

Could you help?

Thank you.

BMFont Demo (exe and source) don't work

12 June 2014 - 03:40 PM


I tried to run demo and compile code downloaded from


Demo exe says "failed to initialize".



acgfx_font.cpp | 933|Unrecognized format for 'data/comic24.fnt'

application.cpp| 42|Failed to initialize font 'data/comic24.fnt' (-1)

acframe_applica| 160|Application specific init failed (-1)


Source code had an error (VS 2010) but it was easy to correct (by declaring int n outside of "for"). However, when built, application also failed to initialize.



acgfx_graphics.| 342|Available render target format: L16

acgfx_graphics.| 633|Effect file 'data/font.fx' failed to compile (0x88760B59)

acgfx_font.cpp | 135|Failed to load 'data/font.fx' (-1)

application.cpp| 40|Failed to initialize font 'data/arial24.fnt' (-1)

acframe_applica| 160|Application specific init failed (-1)