I have to create a Max external, and since I’m used to develop on linux and use tools such as gcc and ld, I’ve downloaded MinGW for Windows, both in x86 and x64.
When I compile for max 6.0 (in x86), everything works, I can use my external. But if I compile in x64 (from the Max SDK 6.1.4, with the x64 library) and then try to import the object in Max, the program freezes and I have no choice but to quit. I get the Windows exception code c0000005, which is basically a segmentation fault. I’ve tried with the examples given in the SDK to make sure I have no code error but it also didn’t work.
Does anybody know why this happens? It’s really annoying to waste time on this kind of problem.