Author Topic: Missing AfxDlgs.h and afxwin.h  (Read 10204 times)

0 Members and 1 Guest are viewing this topic.

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Missing AfxDlgs.h and afxwin.h
I tried to get a test build up today (for the first time) and I got some errors, fred2 wasn't generated.

I'm running a Visual Express 2010 on a Win7 64bit machine and  apparently I'm missing these: AfxDlgs.h and afxwin.h, and the error doesn't seem to be related to anything I've touched in the code so far... here's the fred log:

Code: [Select]
Build started 21/05/2011 11:46:13 p.m..
     1>Project "C:\Rodo\FS2\projects\MSVC_2010\Fred2.vcxproj" on node 3 (build target(s)).
     1>InitializeBuildStatus:
         Creating "Debug\Fred2\Fred2.unsuccessfulbuild" because "AlwaysCreate" was specified.
       ClCompile:
         C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I../../code /I../../libjpeg /I../../libpng /I../../lua /I../../oggvorbis/include /I../../openal/include /I../../zlib /ZI /nologo /W4 /WX- /Od /Oy- /D _DEBUG /D WIN32 /D _WINDOWS /D FRED /D WINVER=0x410 /D _WIN32_WINNT=0x500 /D _SECURE_SCL=0 /D _HAS_ITERATOR_DEBUGGING=0 /Gm /EHsc /RTC1 /MTd /GS- /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Fo"Debug\Fred2\\" /Fd"Debug\Fred2\vc100.pdb" /Gd /TP /analyze- /errorReport:prompt ..\..\code\fred2\addvariabledlg.cpp ..\..\code\fred2\adjustgriddlg.cpp ..\..\code\fred2\AltShipClassDlg.cpp ..\..\code\fred2\asteroideditordlg.cpp ..\..\code\fred2\backgroundchooser.cpp ..\..\code\fred2\bgbitmapdlg.cpp ..\..\code\fred2\briefingeditordlg.cpp ..\..\code\fred2\campaigneditordlg.cpp ..\..\code\fred2\campaignfilelistbox.cpp ..\..\code\fred2\campaigntreeview.cpp ..\..\code\fred2\campaigntreewnd.cpp ..\..\code\fred2\cmdbrief.cpp ..\..\code\fred2\createwingdlg.cpp ..\..\code\fred2\customwingnames.cpp ..\..\code\fred2\debriefingeditordlg.cpp ..\..\code\fred2\dialog1.cpp ..\..\code\fred2\dumpstats.cpp ..\..\code\fred2\eventeditor.cpp ..\..\code\fred2\FictionViewerDlg.cpp ..\..\code\fred2\folderdlg.cpp ..\..\code\fred2\fred.cpp ..\..\code\fred2\freddoc.cpp ..\..\code\fred2\fredrender.cpp ..\..\code\fred2\fredstubs.cpp ..\..\code\fred2\fredview.cpp ..\..\code\fred2\grid.cpp ..\..\code\fred2\ignoreordersdlg.cpp ..\..\code\fred2\initialships.cpp ..\..\code\fred2\initialstatus.cpp ..\..\code\fred2\mainfrm.cpp ..\..\code\fred2\management.cpp ..\..\code\fred2\messageeditordlg.cpp ..\..\code\fred2\missiongoalsdlg.cpp ..\..\code\fred2\missionnotesdlg.cpp ..\..\code\fred2\missionsave.cpp ..\..\code\fred2\modifyvariabledlg.cpp ..\..\code\fred2\operatorargtypeselect.cpp ..\..\code\fred2\orienteditor.cpp ..\..\code\fred2\playerstarteditor.cpp ..\..\code\fred2\prefsdlg.cpp ..\..\code\fred2\reinforcementeditordlg.cpp ..\..\code\fred2\restrictpaths.cpp ..\..\code\fred2\setglobalshipflags.cpp ..\..\code\fred2\sexp_tree.cpp ..\..\code\fred2\shieldsysdlg.cpp ..\..\code\fred2\ship_select.cpp ..\..\code\fred2\shipchecklistbox.cpp ..\..\code\fred2\shipclasseditordlg.cpp ..\..\code\fred2\shipeditordlg.cpp ..\..\code\fred2\shipflagsdlg.cpp ..\..\code\fred2\shipgoalsdlg.cpp ..\..\code\fred2\shipspecialdamage.cpp ..\..\code\fred2\shipspecialhitpoints.cpp ..\..\code\fred2\shiptexturesdlg.cpp ..\..\code\fred2\soundenvironmentdlg.cpp ..\..\code\fred2\starfieldeditor.cpp ..\..\code\fred2\stdafx.cpp ..\..\code\fred2\textviewdlg.cpp ..\..\code\fred2\voiceactingmanager.cpp ..\..\code\fred2\waypointpathdlg.cpp ..\..\code\fred2\weaponeditordlg.cpp ..\..\code\fred2\wing.cpp ..\..\code\fred2\wing_editor.cpp
         wing_editor.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         wing.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         weaponeditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         waypointpathdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         voiceactingmanager.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         textviewdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         stdafx.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         starfieldeditor.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         soundenvironmentdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shiptexturesdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipspecialhitpoints.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipspecialdamage.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipgoalsdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipflagsdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipeditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipclasseditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shipchecklistbox.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         ship_select.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         shieldsysdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         sexp_tree.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         Generating Code...
         Compiling...
         setglobalshipflags.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         restrictpaths.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         reinforcementeditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         prefsdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         playerstarteditor.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         orienteditor.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         operatorargtypeselect.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         modifyvariabledlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         missionsave.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         missionnotesdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         missiongoalsdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         messageeditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         management.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         mainfrm.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         initialstatus.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         initialships.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         ignoreordersdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         grid.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         fredview.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         fredstubs.cpp
         Generating Code...
         Compiling...
         fredrender.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         freddoc.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         fred.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         folderdlg.cpp
     1>c:\rodo\fs2\code\fred2\folderdlg.h(33): fatal error C1083: Cannot open include file: 'AfxDlgs.h': No such file or directory
         FictionViewerDlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         eventeditor.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         dumpstats.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         dialog1.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         debriefingeditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         customwingnames.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         createwingdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         cmdbrief.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         campaigntreewnd.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         campaigntreeview.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         campaignfilelistbox.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         campaigneditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         briefingeditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         bgbitmapdlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         backgroundchooser.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         asteroideditordlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         Generating Code...
         Compiling...
         AltShipClassDlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         adjustgriddlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         addvariabledlg.cpp
     1>c:\rodo\fs2\code\fred2\stdafx.h(14): fatal error C1083: Cannot open include file: 'afxwin.h': No such file or directory
         Generating Code...
     1>Done Building Project "C:\Rodo\FS2\projects\MSVC_2010\Fred2.vcxproj" (build target(s)) -- FAILED.

Build FAILED.

Time Elapsed 00:00:02.59

Intellisence is also complaining about AtlConv.h, but I got no warning when the build finished about that one.

And here you got the error spew:
Code: [Select]

Warning 1 warning LNK4068: /MACHINE not specified; defaulting to X86 C:\Rodo\FS2\projects\MSVC_2010\LINK
Warning 2 warning C4702: unreachable code c:\rodo\fs2\code\graphics\gropenglpostprocessing.cpp 672
Warning 3 warning C4702: unreachable code c:\rodo\fs2\code\graphics\gropenglshader.cpp 379
Error 4 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 5 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 6 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 7 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 8 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 9 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 10 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 11 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 12 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 13 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 14 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 15 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 16 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 17 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 18 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 19 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 20 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 21 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 22 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 23 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 24 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 25 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 26 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 27 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 28 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 29 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 30 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 31 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 32 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 33 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 34 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 35 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 36 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 37 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 38 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 39 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 40 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 41 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 42 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 43 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 44 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 45 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 46 error C1083: Cannot open include file: 'AfxDlgs.h': No such file or directory c:\rodo\fs2\code\fred2\folderdlg.h 33
Error 47 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 48 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 49 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 50 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 51 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 52 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 53 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 54 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 55 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 56 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 57 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 58 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 59 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 60 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 61 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 62 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 63 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 64 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
Error 65 error C1083: Cannot open include file: 'afxwin.h': No such file or directory c:\rodo\fs2\code\fred2\stdafx.h 14
66 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 92
67 IntelliSense: not a class or struct name c:\rodo\fs2\code\fred2\sexp_tree.h 116
68 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 125
69 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 127
70 IntelliSense: identifier "LPCTSTR" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 127
71 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 127
72 IntelliSense: identifier "TVI_ROOT" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 127
73 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 127
74 IntelliSense: identifier "TVI_LAST" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 127
75 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 128
76 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 129
77 IntelliSense: identifier "CEdit" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 130
78 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 136
79 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 136
80 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 138
81 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 138
82 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 138
83 IntelliSense: identifier "TVI_ROOT" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 138
84 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 138
85 IntelliSense: identifier "TVI_LAST" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 138
86 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 139
87 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 139
88 IntelliSense: identifier "TVI_ROOT" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 139
89 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 139
90 IntelliSense: identifier "TVI_LAST" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 139
91 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 140
92 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 149
93 IntelliSense: identifier "TVITEMA" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 152
94 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 153
95 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 169
96 IntelliSense: identifier "TVI_ROOT" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 169
97 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 172
98 IntelliSense: identifier "BOOL" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 272
99 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 273
100 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 274
101 IntelliSense: identifier "CImageList" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 275
102 IntelliSense: identifier "CEdit" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 276
103 IntelliSense: identifier "CEdit" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 277
104 IntelliSense: identifier "CPoint" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 278
105 IntelliSense: identifier "BOOL" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 283
106 IntelliSense: identifier "WPARAM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 283
107 IntelliSense: identifier "LPARAM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 283
108 IntelliSense: this declaration has no storage class or type specifier c:\rodo\fs2\code\fred2\sexp_tree.h 289
109 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 289
110 IntelliSense: this declaration has no storage class or type specifier c:\rodo\fs2\code\fred2\sexp_tree.h 290
111 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 290
112 IntelliSense: this declaration has no storage class or type specifier c:\rodo\fs2\code\fred2\sexp_tree.h 291
113 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 291
114 IntelliSense: this declaration has no storage class or type specifier c:\rodo\fs2\code\fred2\sexp_tree.h 292
115 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 292
116 IntelliSense: this declaration has no storage class or type specifier c:\rodo\fs2\code\fred2\sexp_tree.h 293
117 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 293
118 IntelliSense: this declaration has no storage class or type specifier c:\rodo\fs2\code\fred2\sexp_tree.h 294
119 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 294
120 IntelliSense: identifier "HTREEITEM" is undefined c:\rodo\fs2\code\fred2\sexp_tree.h 307
121 IntelliSense: explicit type is missing ('int' assumed) c:\rodo\fs2\code\fred2\sexp_tree.h 317
122 IntelliSense: expected a ';' c:\rodo\fs2\code\fred2\sexp_tree.h 318
123 IntelliSense: cannot open source file "afxmt.h" c:\rodo\fs2\code\fred2\management.h 15
124 IntelliSense: identifier "CCriticalSection" is undefined c:\rodo\fs2\code\fred2\management.h 61
125 IntelliSense: identifier "CString" is undefined c:\rodo\fs2\code\fred2\management.h 63
126 IntelliSense: identifier "CString" is undefined c:\rodo\fs2\code\fred2\management.h 64
127 IntelliSense: identifier "CString" is undefined c:\rodo\fs2\code\fred2\management.h 65
128 IntelliSense: incomplete type is not allowed c:\rodo\fs2\code\fred2\management.h 92
129 IntelliSense: identifier "CMenu" is undefined c:\rodo\fs2\code\fred2\management.h 92
130 IntelliSense: identifier "ptr" is undefined c:\rodo\fs2\code\fred2\management.h 92
131 IntelliSense: incomplete type is not allowed c:\rodo\fs2\code\fred2\management.h 93
132 IntelliSense: identifier "CMenu" is undefined c:\rodo\fs2\code\fred2\management.h 93
133 IntelliSense: identifier "mptr" is undefined c:\rodo\fs2\code\fred2\management.h 93
134 IntelliSense: expected a ')' c:\rodo\fs2\code\fred2\management.h 93
135 IntelliSense: incomplete type is not allowed c:\rodo\fs2\code\fred2\management.h 94
136 IntelliSense: identifier "CMenu" is undefined c:\rodo\fs2\code\fred2\management.h 94
137 IntelliSense: identifier "mptr" is undefined c:\rodo\fs2\code\fred2\management.h 94
138 IntelliSense: expected a ')' c:\rodo\fs2\code\fred2\management.h 94
139 IntelliSense: identifier "CString" is undefined c:\rodo\fs2\code\fred2\management.h 95
140 IntelliSense: identifier "CMenu" is undefined c:\rodo\fs2\code\fred2\management.h 98
141 IntelliSense: identifier "base" is undefined c:\rodo\fs2\code\fred2\management.h 98
142 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\management.h 109
143 IntelliSense: identifier "CString" is undefined c:\rodo\fs2\code\fred2\management.h 125
144 IntelliSense: identifier "name" is undefined c:\rodo\fs2\code\fred2\management.h 125
145 IntelliSense: incomplete type is not allowed c:\rodo\fs2\code\fred2\management.h 132
146 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\management.h 132
147 IntelliSense: identifier "box" is undefined c:\rodo\fs2\code\fred2\management.h 132
148 IntelliSense: expected a ')' c:\rodo\fs2\code\fred2\management.h 132
149 IntelliSense: not a class or struct name c:\rodo\fs2\code\fred2\shipgoalsdlg.h 23
150 IntelliSense: identifier "CWnd" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 32
151 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 42
152 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 43
153 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 44
154 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 45
155 IntelliSense: identifier "CComboBox" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 46
156 IntelliSense: identifier "BOOL" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
157 IntelliSense: identifier "LPCTSTR" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
158 IntelliSense: identifier "LPCTSTR" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
159 IntelliSense: identifier "DWORD" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
160 IntelliSense: identifier "RECT" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
161 IntelliSense: identifier "CWnd" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
162 IntelliSense: identifier "UINT" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
163 IntelliSense: identifier "CCreateContext" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 57
164 IntelliSense: identifier "CDataExchange" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 59
165 IntelliSense: identifier "BOOL" is undefined c:\rodo\fs2\code\fred2\shipgoalsdlg.h 67

I tried building with the debug one and the inferno ss2 release, both presented the same issue so far.

Someone's got an idea about what could be causing this or how to fix it?
el hombre vicio...

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Missing AfxDlgs.h and afxwin.h
At a guess I'd say that like VC2008 Express, 2010 Express didn't include the Microsoft Foundation Classes required to build FRED. That would result in you being able to build FS2 but not FRED which is what appears to be happening to you.

Not certain if there is a way to get hold of MFC without getting hold of something other than Express though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Missing AfxDlgs.h and afxwin.h
I've got VC2008 in my laptop, will try there to see what happens then, thanks.
el hombre vicio...

 

Offline Tomo

  • 28
Re: Missing AfxDlgs.h and afxwin.h
MFC is not available for any Visual Studio "Express" editions, and so Express editions cannot build FRED - it's been true since the start of Express edition.

MFC is deprecated by MS, so they expect you to use their newer GUI frameworks with Express editions.
- It's only possible to get MFC with the 'full' editions or if you're a proper member of the MSDN.

I believe the wxFRED project will be the solution once it's ready.
I think wxFRED is really exciting, as that'll open FRED code to everybody, so once FRED's been ported to the wxWidgets I expect wxFRED to get much better really quickly.

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Missing AfxDlgs.h and afxwin.h
that's too bad for me.
Is there another app I can use to build fred?, I need to test a new sexp and this is not helping :C

el hombre vicio...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Missing AfxDlgs.h and afxwin.h
Nope. You need the MFC includes, which are only available from MS, and only usable with the non-Express versions of Visual Studio.

However, if you can send me a code patch, I could build FRED for you, as well as taking a look at the code itself.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Missing AfxDlgs.h and afxwin.h
Sure thing, I could use someone checking the sexp... I'm not even sure it will work the way it's meant to.
A small thing though, how can I build a patch?
el hombre vicio...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Missing AfxDlgs.h and afxwin.h
Assuming you have tortoisesvn installed, you can right-click on the code directory, and select "Create patch" from the SVN menu. Then you will have to select the files that you altered, and it will create a patch file for you, which you can then post here.

Before you do that, however, make sure your code checkout is up-to-date.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Missing AfxDlgs.h and afxwin.h
Here you go, all modifications in the code are coupled with comment lines //rodo so they can be found easier.
Don't even bother to build it if you see it's not gonna work.

[attachment deleted by ninja]
el hombre vicio...

 

Offline The E

  • He's Ebeneezer Goode
  • Moderator
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: Missing AfxDlgs.h and afxwin.h
Okay, I've made a few builds. Get them here.

I also made a few corrections to the code, instead of SEXP_NAN, it will now return SEXP_UNKNOWN and SEXP_KNOWN_FALSE. In addition, the timestamp usage was wrong (timestamps like the turret fire one are almost never 0, they're always missiontime + offset. So, try it out, please.

You also forgot to add a "break" statement to the eval_sexp switch, which would have fatal consequences.

EDIT: Builds reupped.
« Last Edit: May 22, 2011, 10:14:14 am by The E »
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns

  

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
I need some orientation, or probably a better brain..

If I want to know when a given turret is ready to fire (only if it's not recharging, or firing.. don't care about disabled/out of range stuff) how should I set the condition?

I got these, but neither seem to work the way I want them to:

if(timestamp() >= sub->turret_next_fire_stamp)

or

if(timestamp() >= sub->weapons.primary_bank_weapons[sub->weapons.current_primary_bank])


never mind, I think I just pulled it off.
« Last Edit: May 28, 2011, 07:03:44 am by Rodo »
el hombre vicio...