Freetype library Error

22 views
Skip to first unread message

ashwith chandra

unread,
Jun 19, 2024, 1:43:11 AM (9 days ago) Jun 19
to bazel-discuss
I have added freetype in Module.bazel and also in the build file. but it is giving me this error

lld-link: error: undefined symbol: t1_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: cff_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: t1cid_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: pfr_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: t42_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: winfnt_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: pcf_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: psaux_module_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: psnames_module_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: pshinter_module_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)

lld-link: error: undefined symbol: bdf_driver_class
>>> referenced by freetype.lib(ftinit.obj):(ft_default_modules)
Target //parser:parser failed to build  

ashwith chandra

unread,
Jun 19, 2024, 1:45:15 AM (9 days ago) Jun 19
to bazel-discuss

David Turner

unread,
Jun 24, 2024, 4:05:52 PM (4 days ago) Jun 24
to ashwith chandra, bazel-discuss
Drop your custom //third_party/freetype/ directory, it contains invalid definitions to point to the module/options headers.
Just keep the MODULE.bazel directive then link against @freetype//:freetype and you should be fine.

--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/35721ab7-bc16-47e4-9c2c-66c0d3d833a4n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages