XenonRecomp icon indicating copy to clipboard operation
XenonRecomp copied to clipboard

Visual Studio CPP Compilation

Open TheNotZen364 opened this issue 9 months ago • 5 comments

Image

Compiling cpp files with CLang and I get this. I don't know if its because the address's were wrong in the config.toml or if I have to change stuff within the cpp files

TheNotZen364 avatar Mar 05 '25 17:03 TheNotZen364

The compilation instructions overall would benefit from being better.

syberphunk avatar Mar 05 '25 21:03 syberphunk

Did you enable AVX support in your project? These are AVX intrinsics so it needs to be explicitly enabled in the compiler.

blueskythlikesclouds avatar Mar 05 '25 21:03 blueskythlikesclouds

I did not... I shall do that

TheNotZen364 avatar Mar 05 '25 22:03 TheNotZen364

ok so I did that and the only issue i have now is

Image

TheNotZen364 avatar Mar 05 '25 22:03 TheNotZen364

ok so I did that and the only issue i have now is

Image

if i remember correctly this error is due to not using clang which has access to said file, the way i fixed it was i (if you created a project and are building a solution) right clicked my solution > properties > and under configuration properties in the general section i changed the platform toolset to LLVM(clang-cl)

masterspike52 avatar Mar 08 '25 19:03 masterspike52