Compiling FreeType to DLL (as opposed to static library)

前端 未结 3 1062
终归单人心
终归单人心 2020-12-07 17:07

I want to use FreeType in a c# project. I found this binding, but I still need a freetype.dll. I usually use a static library in my c++ projects, so I never compiled one. Op

3条回答
  •  旧时难觅i
    2020-12-07 17:48

    I'm going to bet that the problem is that your DLL project does not export any symbols, so while all the code is in there the addresses of the symbols are not in the exports table so nobody can get to them from the outside.

    This question has a nice solution to export all the symbols in a .dll without having to manually list them.

提交回复
热议问题