I am starting to write a cross-platform engine in C++ using the Visual Studio 2010 Express IDE. Currently at the early stage of trying to get the project hierarchy correct etc.
Starting with windows x86 for now I have hit a linker issue that has got me stumped. Linker issues normally are a case of a lib or include file not being present or up to date, so thats the first thing I checked and everything seems to be ok to me?
The solution to the demo can be found here and it requires the windows sdk 7.1 to have been installed:
http://www.sendspace.com/file/x82ils
From my own experience I can't see where I am going wrong and I am wondering if there is some weirdness going on with WinMain and/or VS Express that would prevent the WinMain call in the application from linking to the public function CoreInit in the Core static library.
On a seperate point I would Ideally like to drop the WinMain call into the Core library rather than have platform specific stuff in the Application project. From what I have read this is possible by defining the /Entry in the VS project settings although I am not sure what this should be set as, for the Core static lib or the Application or both.
Any advice or help anyone can provide would be greatly appreciated
MarkH.






