Monday, October 18, 2010

Problem solved

I solved the linker problem from yesterday (last post) with a strange workaround.

The following 3 lines were the key to success:


#ifdef main
#undef main
#endif


I will stay with this for a while, but if I have some free time I will try to fix it.
I'm not a big friend of such workarounds...There must be a way to run this main-stuff properly.

No comments:

Post a Comment