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

Fix for Visual Studio color and bgcolor unresolved symbols #896

Open
HDuft opened this issue Jul 6, 2024 · 1 comment
Open

Fix for Visual Studio color and bgcolor unresolved symbols #896

HDuft opened this issue Jul 6, 2024 · 1 comment

Comments

@HDuft
Copy link

HDuft commented Jul 6, 2024

I've been having an issue with compiling with Visual Studio rather than Cmake (funnily enough I'm porting my project to Cmake soon) and I've noticed a few others have the same issue with color and bgcolor unresolved symbols.

I found renaming one of the color.cpp files to color2.cpp fixed the issue so I think VS doesn't like the name collision.

Just thought i'd note it for anyone with the same issue and if you want to make the project buildable from source in VS.

@ArthurSonzogni
Copy link
Owner

Hello! Thanks for reporting this!

How does it work in Visual Studio? I was expecting Visual Studio to "understand" cmake and use it under the hood when provided. At least, this is what I do when I do test on Windows from time to time.

Searching online, the issue your are reporting seems real:

I am happy to merge a PR renaming color.cpp to color_.cpp if this helps to overcome Visual Studio problems.

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

2 participants