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

converting std::string to Ptex::v2_3::String problems #6

Open
ArsKozlov opened this issue May 28, 2022 · 0 comments
Open

converting std::string to Ptex::v2_3::String problems #6

ArsKozlov opened this issue May 28, 2022 · 0 comments

Comments

@ArsKozlov
Copy link

Have troubles with compiling ptexutils for Windows, MSVC 2017
Compiled all dependencies with vcpkg. All project have the same errors in converting std::string to Ptex::v2_3::String

Error C2664 'Ptex::v2_3::PtexTexture *Ptex::v2_3::PtexTexture::open(const char *,Ptex::v2_3::String &,bool)': cannot convert argument 2 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 321 Error C2664 'Ptex::v2_3::PtexWriter *Ptex::v2_3::PtexWriter::open(const char *,Ptex::v2_3::MeshType,Ptex::v2_3::DataType,int,int,int,Ptex::v2_3::String &,bool)': cannot convert argument 7 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 349 Error C2664 'bool Ptex::v2_3::PtexWriter::close(Ptex::v2_3::String &)': cannot convert argument 1 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 375 Error C2664 'Ptex::v2_3::PtexTexture *Ptex::v2_3::PtexTexture::open(const char *,Ptex::v2_3::String &,bool)': cannot convert argument 2 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 391 Error C2664 'Ptex::v2_3::PtexWriter *Ptex::v2_3::PtexWriter::open(const char *,Ptex::v2_3::MeshType,Ptex::v2_3::DataType,int,int,int,Ptex::v2_3::String &,bool)': cannot convert argument 7 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 460 Error C2664 'bool Ptex::v2_3::PtexWriter::close(Ptex::v2_3::String &)': cannot convert argument 1 from 'std::string' to 'Ptex::v2_3::String &' ptxconvert C:\src\ptexutils\src\ptxconvert.cpp 470

Do somebody have any suggests, what it could be?

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

No branches or pull requests

1 participant