I'm currently working on compiling some sample code that uses OpenGL. my setup:
AMD Athlon 64 Processor
gl.h
glu.h
glut.h
Microsoft Platform SDK
Visual C++ 2005 Express Edition
Whenever I try to build, I end up with this error:
.\Debug\i.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
I get the basic idea of the conflict of architectures, but I was wondering if there was a work around Since the Athlon 64 chips run normal 32-bit applications as normal, is there a way to just compile it as a 32-bit Application
Thanks in advance for any advice or solutions.

64-Bit OpenGL Application development.
Brandon Furtwangler
I have used the platform SDK for all my projects with no problems, mainly because my programs are carefully constructed to be able to compile for a range of processors with an eye to the future.
The Platform SDK can support x86 processors, including SSE/SSE2 processing.
It can also target AMD64 and Intel EM64T processors
And it can even support Itanium, so I am one of the few developers who will support the Itanium for specialized projects.
My idea of the best IDE, notepad! LOL.
rico75
VC2005 express doesn't support build 64bit applications.
Thanks, Ayman Shoukry VC++ TeamHaggerty
Sounds like your using the wrong settings, check that your target is for x64 and rebuild. If it still fails, the library paths mat not be proper or a library your using lacks x64 components.
I know the platform SDK can target x64, I dont use VC Express 2005 so I cannot comment on that tool.
cool_chandu
http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=156768&SiteID=1
kfkyle
The best way for 64bit developing is to use a larger edition where the new compiler tools for X64 are alread avilable. Any other way is not officially supported.
Thanks, Ayman Shoukry VC++ Team