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

Can't compile project using CImg under visual studio windows 11 anymore #380

Closed
ghost opened this issue Mar 6, 2023 · 3 comments
Closed

Comments

@ghost
Copy link

ghost commented Mar 6, 2023

Hi

Since commit 6483922
I can't compiile my project under Windows anymore. Before I had no problems.

Build Log:

CImg.h(3156,57): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,char>' has already been defined
CImg.h(3147,50): message : see previous definition of 'superset<unsigned __int64,char>'
CImg.h(3157,64): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,signed char>' has already been defined
CImg.h(3148,57): message : see previous definition of 'superset<unsigned __int64,signed char>'
CImg.h(3158,58): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,short>' has already been defined
CImg.h(3149,51): message : see previous definition of 'superset<unsigned __int64,short>'
CImg.h(3159,56): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,int>' has already been defined
CImg.h(3150,49): message : see previous definition of 'superset<unsigned __int64,int>'
CImg.h(3160,63): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,__int64>' has already been defined
CImg.h(3151,56): message : see previous definition of 'superset<unsigned __int64,__int64>'
CImg.h(3161,58): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,float>' has already been defined
CImg.h(3152,51): message : see previous definition of 'superset<unsigned __int64,float>'
CImg.h(3162,59): error C2766: explicit specialization; 'cimg_library::cimg::superset<unsigned __int64,double>' has already been defined
CImg.h(3153,52): message : see previous definition of 'superset<unsigned __int64,double>'
CImg.h(3163,49): error C2766: explicit specialization; 'cimg_library::cimg::superset<__int64,float>' has already been defined
CImg.h(3154,50): message : see previous definition of 'superset<__int64,float>'
CImg.h(3164,50): error C2766: explicit specialization; 'cimg_library::cimg::superset<__int64,double>' has already been defined
CImg.h(3155,51): message : see previous definition of 'superset<__int64,double>'

Thanks

@dtschump
Copy link
Collaborator

dtschump commented Mar 6, 2023

Thanks for reporting.
Does this commit 722646c fix the issue?
Thanks for your help!

@ghost
Copy link
Author

ghost commented Mar 6, 2023

Hi,

Yes, 722646c fixed the issue I encountered.

Thanks!

@dtschump
Copy link
Collaborator

dtschump commented Mar 6, 2023

OK. I've released a new .zip archive on the website, with these changes.
Thanks again for your report!

@dtschump dtschump closed this as completed Mar 6, 2023
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