Jump to content

  • Log In with Google      Sign In   
  • Create Account


- - - - -

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

  • You cannot reply to this topic
4 replies to this topic

#1 zendo   Members   -  Reputation: 105

Like
0Likes
Like

Posted 12 June 2014 - 05:46 PM

Hi,

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.



Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3226

Like
1Likes
Like

Posted 12 June 2014 - 06:14 PM

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. 


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

#3 zendo   Members   -  Reputation: 105

Like
0Likes
Like

Posted 12 June 2014 - 06:17 PM

I'll try. Thank you.


Edited by zendo, 12 June 2014 - 06:18 PM.


#4 zendo   Members   -  Reputation: 105

Like
0Likes
Like

Posted 12 June 2014 - 06:23 PM

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, 12 June 2014 - 06:23 PM.


#5 Andreas Jonsson   Moderators   -  Reputation: 3226

Like
0Likes
Like

Posted 12 June 2014 - 06:24 PM

Great :)


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game





PARTNERS