google / google/draco

FileReaderFactory not reading files

Open
#1,037 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
7.5k
Forks
1.1k
Avg merge
47m
Merged PRs (30d)
1

Description

Hello

I'm trying to get Draco working as a library for my C++ project, but have bad experiences with manually linking libraries - as such am trying to get it to work via VCPKG (which I also have limited experience with, but it worked easy enough for certain other libraries like CGAL).

There are two primary issues I've run into:

1. Draco by default wants Multi-threaded DLL to be the preset for code generation, but this conflicts with certain other libraries I have - can I force it to instead use Multi-threaded? (This is the more minor of the two issues, as I can just create a separate project for draco if all else fails).
2. I've seen this mentioned earlier, but FileReaderFactory seems to be unable to read any files I feed it. I saw a solution earlier related to -Wl,--whole-archive or /WHOLEARCHIVE but when I tried to set up a sample cmake project, it could not recognize either command. Is there a way to get it to work just through VCPKG?

Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.