Jump to content
  • Advertisement
Sign in to follow this  

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

This topic is 1500 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


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.

Share this post

Link to post
Share on other sites

BMFont is doesn't do anything differently with regards to the include directories. Perhaps the problem is because the project files from the SVN are for MSVC 2012, and not MSVC 2010.


Try creating a new project on your own and include the source files in it.


Or try upgrading MSVC. There is even a version 2013 now. 

Share this post

Link to post
Share on other sites

I have set "bmfont Property Pages" - "VC++ Directories" - "Platform Toolset" to v100, as in my other projects, instead of v110. I hope it's OK.

It seems that solved the problem.

Edited by zendo

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!