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

Diligent libraries compiled with Intel does not link when compile on AMD #323

Open
chelvisgit opened this issue Oct 29, 2024 · 3 comments
Open

Comments

@chelvisgit
Copy link

Trying to link our project with previously compiled Diligent lib/dlls (on Intel), we are receiving this message when we try to compile it with AMD 7950x:

Error C1047 The object or library file '....\lib\Release\Diligent-Win32Platform.lib' was created by a different version of the compiler than other objects like '....\lib\xxxxxx.lib'; rebuild all objects and libraries with the same compiler

Machine A:
OS: Windows 11 Pro 22H2
Build tools: Visual Studio 2022 14.41.34120
CPU: 13th Gen Intel(R) Core(TM) i7-13800H 2.50 GHz
GPU: NVIDIA GeForce RTX 4080 Laptop GPU
Driver: NVIDIA 565.90

Machine B:
Build tools: Visual Studio 2022 14.41.34120
CPU: AMD 7950x

@TheMostDiligent
Copy link
Contributor

I am not sure what the problem here is.
Maybe Visual Studio uses different compiler settings on these machines.

@chelvisgit
Copy link
Author

Trying to link the libraries with AMD (compiled with intel CPU) we also receive this error:
LINK : fatal error C1007: unrecognized flag '-archSSE2' in 'p2'

@TheMostDiligent
Copy link
Contributor

SSE2 should be fully supported by AMD

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