physbam_public icon indicating copy to clipboard operation
physbam_public copied to clipboard

Support for Windows (VS 2013)

Open dkit opened this issue 11 years ago • 1 comments

Hi,

I realize it might not be a priority, but I would like to get this compiled on windows with Visual Studio 2013. I have made a number of tries to do so, but it appears I need to have a better understanding of the code and structure.

Many of the errors appear to be related to not having forward declarations included in the header file. I was able to fix these, until I tried compiling LAPLACE_RLE.cpp, which eventually includes TIMER.h (via LOG.h), after which I got an error that stated that ARRAY is undefined. I was unable to figure out why this was, but the error went away when I moved the include for LAPLACE_RLE.h in the LAPLACE_RLE.cpp to the top, but then I get errors about the operator '<=' not being defined for the class VECTOR.

This seems like another instance of not the right headers being included.

All in all, it seems like some versions of compilers (on linux and mac) are less touchy about forward declarations. And my main concern is that once I fix these declaration problems, I will still be stuck with something that doesn't compile for other reasons. Do you know the reasons for why it is a problem to get this compiled with Visual Studio?

Thank you.

dkit avatar Nov 11 '14 16:11 dkit

maybe no one try to compiler it on Windows. I tried and failed.

Jeremy-x-man avatar Apr 01 '19 01:04 Jeremy-x-man