BUILD LOG
********************************************************************
Project : SimpleSample
Compiler : Microsoft Visual C++ Toolkit 2003 (called directly)
Directory : C:\Documents and Settings\Aardvarkius\My Documents\Projects\SimpleSample\
--------------------------------------------------------------------------------
Switching to target: default
cl.exe /nologo /W2 /W1 /I"C:\Program Files\Microsoft DirectX 9.0 SDK (October 2005)\Include" /I"C:\Program Files\Microsoft Visual C++ Toolkit 2003\include" /I"C:\Program Files\Microsoft Platform SDK\Include" /c Common\DXUT.cpp /Fo.objs\Common\DXUT.obj
DXUT.cpp
cl : Command line warning D4025 : overriding '/W2' with '/W1'
c:\Documents and Settings\Aardvarkius\My Documents\Projects\SimpleSample\Common\DXUT.h(11) : fatal error C1189: #error : "DXUT requires a Unicode build. See the nearby comments for details"
Process terminated with status 1 (0 minutes, 2 seconds)
1 errors, 0 warnings
***************************************************************
Nearby comments:
***************************************************************
//
// If you are using Microsoft Visual C++ .NET, under the General tab of the project
// properties change the Character Set to 'Use Unicode Character Set'.
//
// Windows XP and later are native Unicode so Unicode applications will perform better.
// For Windows 98 and Windows Me support, consider using the Microsoft Layer for Unicode (MSLU).
//
// To use MSLU, link against a set of libraries similar to this
// /nod:kernel32.lib /nod:advapi32.lib /nod:user32.lib /nod:gdi32.lib /nod:shell32.lib /nod:comdlg32.lib /nod:version.lib /nod:mpr.lib /nod:rasapi32.lib /nod:winmm.lib /nod:winspool.lib /nod:vfw32.lib /nod:secur32.lib /nod:oleacc.lib /nod:oledlg.lib /nod:sensapi.lib UnicoWS.lib kernel32.lib advapi32.lib user32.lib gdi32.lib shell32.lib comdlg32.lib version.lib mpr.lib rasapi32.lib winmm.lib winspool.lib vfw32.lib secur32.lib oleacc.lib oledlg.lib sensapi.lib dxerr9.lib dxguid.lib d3dx9d.lib d3d9.lib comctl32.lib
// and put the unicows.dll (available for download from msdn.microsoft.com) in the exe's folder.
//
// For more details see the MSDN article titled:
// "MSLU: Develop Unicode Applications for Windows 9x Platforms with the Microsoft Layer for Unicode"
// at
http://msdn.microsoft.com/msdnmag/issues/01/10/MSLU/default.aspx**************************************************************************************
Alright....I used Microsoft Visual Studio Pro 2003 for quite awhile. I deleted it, and decided I would try the free tools in the meantime, while I await the 2005 edition.
I have stormed these forums for two days, trying to compile various sample projects.
My first one was compiling the source for a program created with the MSVS2003 AppWizard for a C++ Win32 Application. This just popped up a blank window with a blackbackground with the options to exit, and about.
My first try, I imported the solution. I could not get the thing to compile, even though I have installed MS C++ Toolkit and Platform SDK.
I worked with it forever yesterday, and was finally able to get it to compile by not importing the solution, but creating a new Win32 application and then adding all of the files from the original project. It now compiles wonderfully.
Task 2 was to get DirectX working. I downloaded DirectX SDK.
However, when I try to compile a simple sample application (found inside of the samples in the SDK), I get the above error. I am almost positive I already have the correct libs added in the compiler settings.
I saw a solution to this in one of the other forums, but the answer was not specific enough. Apparently I am slow.
Will I need to add some more library paths to get this to work?
Will someone throw me a bone, and lets see if we can get this sample to compile on my machine? I would very much appreciate the help. I didn't have to do any of that stuff with MSVS, but I am willing to work at getting this to work, if I can get some pointers in the right direction.
Thanks.