www.digitalmars.com         C & C++   DMDScript  

c++.windows.32-bits - DX and DMC++

reply "Daniel L. C." <danielc dlcmultimedia.f2s.com> writes:
All right, as the title mentions, I'm trying to compile a DX project with
DMC++. I've made sure to use the compiler options -I..\..\mssdk6.1\include
and all the necessary options but it didn't work. If anybody managed to be
able to compile DX projects with DMC++, let me know how.

Thanks.

cyberdrek
Aug 21 2001
parent reply Jan Knepper <jan smartsoft.cc> writes:
As far as I know... Yes there have been other that compiled DirectX projects
with DMC++.
You just state you have a problem though... Not wat the problem is.
Compiler messages?
Linker messages?

Thanks
Jan
Aug 21 2001
parent reply Mark Essers <webmaster pythonschlangen.de> writes:
Jan Knepper schrieb:

 As far as I know... Yes there have been other that compiled DirectX projects
 with DMC++.
 You just state you have a problem though... Not wat the problem is.
 Compiler messages?
 Linker messages?

 Thanks
 Jan

Hi, back to that problem... I'll get messages like this : link /CO /M /NOI /BYO /DE /NOPACKF /XN /NT /IMPD /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 exi1.LNK Error: E:\dm\projekte\00direktx\ueben\DX8TUTOR\dxtest.OBJ(dxtest) (8206588): Symbol Undefined ?InitDirect3D YAJPAUHWND__ Z (long cdecl InitDirect3D(HWND__ *)) Error: E:\dm\projekte\00direktx\ueben\DX8TUTOR\d3d1.OBJ(d3d1) (32345292): Symbol Undefined _Direct3DCreate8 4 Lines Processed: 242161 Errors: 2 Warnings: 0 Build failed with best regards Mark
Sep 07 2001
next sibling parent "Walter" <walter digitalmars.com> writes:
It means you need to be linking with the direct 3d .lib file, which is
d3drm.lib. But that symbol isn't in that library - which dll is it
in? -Walter

Mark Essers wrote in message <3B996687.69FA2703 pythonschlangen.de>...
Jan Knepper schrieb:

 As far as I know... Yes there have been other that compiled DirectX


 with DMC++.
 You just state you have a problem though... Not wat the problem is.
 Compiler messages?
 Linker messages?

 Thanks
 Jan

Hi, back to that problem... I'll get messages like this : link /CO /M /NOI /BYO /DE /NOPACKF /XN /NT /IMPD /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 exi1.LNK Error: E:\dm\projekte\00direktx\ueben\DX8TUTOR\dxtest.OBJ(dxtest)

Symbol Undefined ?InitDirect3D  YAJPAUHWND__   Z (long cdecl

*))
Error: E:\dm\projekte\00direktx\ueben\DX8TUTOR\d3d1.OBJ(d3d1)  (32345292):
Symbol Undefined _Direct3DCreate8 4
Lines Processed: 242161  Errors: 2  Warnings: 0
Build failed


with best regards
Mark

Sep 07 2001
prev sibling parent Jan Knepper <jan smartsoft.cc> writes:
Hi Mark!

I've looked everywhere for the two functions you mentioned. I.e. InitDirect3D
and
Direct3DCreate. The only reference I can find to the second is in MSDN's Visual
Basic section. They are not defined in any of the header files (VC-- 98,
Microsoft
SDK, Microsoft Platform SDK)...
Are you sure these 2 functions are not implemented in a source file that you
need to
include in your project???

In the past (1999) I have had some requests for people using DirectDraw which is
part of DirectX which has the functions in DDRAW.LIB. I bugged Walter Oney (not
Walter Bright!) a long time and he patched COFF2OMF to be able to convert this
M$
library.

Jan



Mark Essers wrote:

 Jan Knepper schrieb:

 As far as I know... Yes there have been other that compiled DirectX projects
 with DMC++.
 You just state you have a problem though... Not wat the problem is.
 Compiler messages?
 Linker messages?

 Thanks
 Jan

Hi, back to that problem... I'll get messages like this : link /CO /M /NOI /BYO /DE /NOPACKF /XN /NT /IMPD /ENTRY:WinMainCRTStartup /BAS:4194304 /A:512 exi1.LNK Error: E:\dm\projekte\00direktx\ueben\DX8TUTOR\dxtest.OBJ(dxtest) (8206588): Symbol Undefined ?InitDirect3D YAJPAUHWND__ Z (long cdecl InitDirect3D(HWND__ *)) Error: E:\dm\projekte\00direktx\ueben\DX8TUTOR\d3d1.OBJ(d3d1) (32345292): Symbol Undefined _Direct3DCreate8 4 Lines Processed: 242161 Errors: 2 Warnings: 0 Build failed with best regards Mark

Sep 10 2001