• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

SOLVED DLL on different machines

Hi I've created a small C++ noise dll that works on my dev machine perfectly with gamemaker studio 2 when testing or using the executable. Whenever I try to use it on a different machine it won't load. I have it defined as an extension and also put it in included files as a test but I can't get it to load on different machines. Any ideas on what could be going wrong?
 

FrostyCat

Redemption Seeker
Did you clear your compile cache before building? Did the extension have the functions added and defined? Did you reference any machine-specific paths in your extension (e.g. your desktop path) that other people might not identically have?
 
I cleared the cache, the functions were added and defined in gamemaker. It doesn't reference any paths its just a simplex noise extension. Is it possible that not having visual studio installed on the other machines could affect it from working? Maybe I made some sort of mistake compiling the dll? I followed a tutorial from these forums using c++ and visual studio (I'd link it but I don't have enough posts yet for links).
 
Solved! I was accidentally using the debug build of the dll which won't work on other machines. Compiling a release version and replacing it fixed my issue.
 
Top