Compile Troubleshooting for Jupiter System Enterprise (SDK)

Troubleshooting for Jupiter System Enterprise

Lib_UI
cuivectorfont:
error: 1>c:\jupiter_ent\engine\runtime\ui\src\cuivectorfont.cpp(395): error C4430: missing type specifier – int assumed. Note: C++ does not support default-int
fix: const LONG kCharSpacing = 2;

Lib_RezMgr
rezutils.cpp:
1>c:\jupiter_ent\engine\libs\rezmgr\rezutils.cpp(419): error C2065: ‘i’ : undeclared identifier
fix: declare variable i before the for() loop

Lib_Info
outputredir_win32.cpp
1>c:\jupiter_ent\engine\runtime\info\src\sys\win32\outputredir_win32.cpp(86): error C3861: ‘_assert’: identifier not found
fix: remove “_” from begin of _assert() call!

Lib_DShow
ctlutil.h:
1>C:\Jupiter_Ent\Engine\libs\Lib_DShow\ctlutil.h(278): error C4430: missing type specifier – int assumed. Note: C++ does not support default-int
fix: add the type (LONG) before “operator=(LONG);”

streams.h:
1>C:\Jupiter_Ent\Engine\libs\Lib_DShow\streams.h(179): fatal error C1083: Cannot open include file: ‘atlbase.h’: No such file or directory
#define NO_SHLWAPI_STRFCNS
#include <atlbase.h>
fix: ???

LIB_D3DRender
precompile:
1>c:\jupiter_ent\engine\runtime\render_a\src\sys\d3d\precompile.h(28): fatal error C1083: Cannot open include file: ‘d3dx9.h’: No such file or directory
fix: add DirectX SDK include dir!

d3d_utils.h:
1>c:\jupiter_ent\engine\runtime\render_a\src\sys\d3d\d3d_utils.h(12): fatal error C1083: Cannot open include file: ‘dxerr9.h’: No such file or directory
fix: rename dxerr9.h to dxerr.h

1>c:\jupiter_ent\engine\runtime\render_a\src\sys\d3d\d3d_device.cpp(56): error C3861: ‘DXGetErrorString9’: identifier not found
1>c:\jupiter_ent\engine\runtime\render_a\src\sys\d3d\d3d_device.cpp(56): error C3861: ‘DXGetErrorDescription9’: identifier not found
fix: use DXGetErrorString(hr),DXGetErrorDescription(hr)

Still in LIB_D3DRender, some local vars were declared inside for() loops and are not recognized out. just declare them at the begining ofr each function.

butemgr.h compile error:
1>\sdk\libs\butemgr\butemgr.h(144): error C4430: missing type specifier – int assumed. Note: C++ does not support default-int
1>\sdk\libs\butemgr\butemgr.h(144): error C2143: syntax error : missing ‘,’ before ‘&’
1>\sdk\libs\butemgr\butemgr.h(144): error C2535: ‘void CButeMgr::CSymTabItem::Init(CButeMgr &,CButeMgr::SymTypes,int)’ : member function already defined or declared
FIX: Add Jupiter\MFCStub\mfcstub.h in case _NOMFC is set!

fxprop.h

warning C4482: nonstandard extension used: enum ‘FX_PROP::eDataType’ used in qualified name
FIX: remove the enum name (no need EnumName::VALUE)

Advertisements
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s