Thread overview
DX and DMC++
Aug 22, 2001
Daniel L. C.
Aug 22, 2001
Jan Knepper
Sep 08, 2001
Mark Essers
Sep 08, 2001
Walter
Sep 10, 2001
Jan Knepper
August 22, 2001
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



August 22, 2001
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


September 08, 2001

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

September 08, 2001
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
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
>


September 10, 2001
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