Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cmake Ninja backend support #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SeungheonOh
Copy link

$(Configuration)... to ${Configuration} for proper ninja backend support.

Currently ninja backend fails to build with following error message:
"ninja: error: build.ninja:1094: bad $-escape (literal $ must be written as $$)"

$(Configuration)... to ${Configuration} for proper ninja backend support.
Currently ninja backend fails to build with following error message:
	ninja: error: build.ninja:1094: bad $-escape (literal $ must be written as $$)
@rougier
Copy link
Owner

rougier commented Mar 15, 2021

It seem that it is still failing. Any idea?

@SeungheonOh
Copy link
Author

Before:
Screenshot from 2021-03-15 12-35-50
Now:
Screenshot from 2021-03-15 12-33-14
It fixed the problem for me.

@rougier
Copy link
Owner

rougier commented Mar 19, 2021

Report says:

C:\projects\freetype-gl\demos\texture.c(117): warning C4244: 'function' : conversion from 'int' to 'float', possible loss of data [C:\projects\freetype-gl\build\demos\texture.vcxproj]
LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\projects\freetype-gl\build\demos\texture.vcxproj]
  texture.vcxproj -> C:\projects\freetype-gl\build\demos\RelWithDebInfo\texture.exe

Any idea?

@SeungheonOh
Copy link
Author

SeungheonOh commented Mar 19, 2021

I think the error itself is

  '..\\makefont' is not recognized as an internal or external command,
  operable program or batch file.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(170,5): error MSB6006: "cmd.exe" exited with code 9009. [C:\projects\freetype-gl\build\demos\generate-embedded-font.vcxproj]

which unfortunately I have no clue of, but "..\makefont" looks like it's a some sort of path error.

@rougier
Copy link
Owner

rougier commented Mar 24, 2021

makefont is built by the library and I imagine it is lacking a .exe for windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants