0

I am using visual express c++.SDL_image runtime libraries for 64bit is not working on my 64bit computer. But 32bit runtime libraries are working. In 64bit version 'failed loading libpng16-16' error is show in IMG_GetError(), when trying to load png. But bmp files works fine. I have dll files in the same directory as the executable. I am using 64bit SDL_image.

Nithin Mohan
  • 192
  • 3
  • 13
  • 1
    Not enough information. What are you working with e.g. how are you compiling your code etc? Are all the libraries you are using 64bit (I assume you must at least be using SDL). Also are you sure you have libpng16-16.dll in the same directory as the executable and that it is the 64bit version? – Zammalad Sep 18 '14 at 09:10
  • edited the question :) – Nithin Mohan Sep 18 '14 at 09:58
  • Are you using 64 bit SDL libraries and dll's and you are sure the libpng16-16.dll is the 64bit version? Also, do you really need to build for 64bit? You should also check out this post as VS Express doesn't come with a 64bit compiler - http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express – Zammalad Sep 18 '14 at 11:57
  • I believe the link you posted is the answer for my question. I didn't used any specific compilation, just normal one. Will try that out. Thanks! – Nithin Mohan Sep 18 '14 at 15:39
  • If you find that is the solution, post it as an answer and mark it so others can easily benefit – Zammalad Sep 18 '14 at 21:55

0 Answers0