Attempt to run a program with dll
I'm running this from vscode. The full error is:
And the console project Main file:
Naquadic
is a reference to another project which exposes miniaudio structs, funcs, etc.
I look up this error and it seems that the project and the dll is compiled in different architectures? Though I have no idea how to fix it since when I run it by clicking the little play icon at the top right, the command it uses to build always include /p:Platform="AnyCPU"
and i don't know how to configure that.
Any help is obv very much appreciated7 Replies
you can look at the build architecture of said dll (you can use ilspy, exe explorer, whatever)
if it's just 32 bit you can use build->configuration manager and create a build for just that
to be extra sure i put -m64 into gcc when building so it should be x64. and i kinda not want anything to do with 32 bit
also im running on vscode so afaik theres no config man
in the project there are sections for the build
one for just x64 should have the element
<PlatformTarget>x64</PlatformTarget>
but i don't know how to do it with vscode
maybe you can search that PropertyGroup somewhere and copy itill try tgat thanks
nothing works... interesting to see the var still gets assigned tho
Unknown User•2mo ago
Message Not Public
Sign In & Join Server To View
well here it is https://github.com/RKevo/naquadic
GitHub
GitHub - RKevo/naquadic
Contribute to RKevo/naquadic development by creating an account on GitHub.