2010-08-18, 17:57
Hello,
I am trying to build DVDInputStream and some derived classes (in xbmc/cores/dvdplayer/DVDInputStream) as a standalone console application either on Windows or Linux. Normally something like this is pretty trivial but due to large number of dependencies, I have not been successful at it after 3 days of effort.
1. Windows build has "WinMain" and I am not sure how do I modify it to use main().
2. On linux, there are a large number of Makefiles to sort through.
3. Trying to pull out selected files and trying to build causes
even though main() is clearly defined.
Any suggestions? Thanks in advance.
Regards,
Vinay Agarwal
I am trying to build DVDInputStream and some derived classes (in xbmc/cores/dvdplayer/DVDInputStream) as a standalone console application either on Windows or Linux. Normally something like this is pretty trivial but due to large number of dependencies, I have not been successful at it after 3 days of effort.
1. Windows build has "WinMain" and I am not sure how do I modify it to use main().
2. On linux, there are a large number of Makefiles to sort through.
3. Trying to pull out selected files and trying to build causes
PHP Code:
LINK : fatal error LNK1561: entry point must be defined
Any suggestions? Thanks in advance.
Regards,
Vinay Agarwal