Sign in to follow this  
Followers 0
r0man

[Support] Can't compile

37 posts in this topic

Thanks, i'm comparc with your, and make my complete new. Like this :

vc01ik9.jpg vc02sj2.jpg vc03wa1.jpg

Ok, compiling StrongDC++ 2.03 -> no errors !

compliling ApexDC++ 0.4.0 -> same 9 errors as below !

@Zlobomir,

in your Dir DDRAW are only one File like ddraw.h ? Isn't it ?

Your entry \PlatformSDK\common . I don't have this. What is it ? I need it ?

I can't believe that only one User can, or will helping !

Share this post


Link to post
Share on other sites

How about compiling in release mode (as i forgot to change a property for the .h file on debug mode) :)

Now i compiled in Release.

The first error about iTunes is no more again, but the errors 2-9 (see code first side) comes again.

Wants to move to pity itself then in fact none me help ? :thumbsup: :P :P

Share this post


Link to post
Share on other sites

Sorry, I can't do nothing more. :thumbsup: I had similar errors with misplaced files/dirs order, but fixed them in 2-3 hours.

Share this post


Link to post
Share on other sites

I understand you.

I can not understand that your ddraw.h in my include dir like y:\tools\ddraw is not found.

I can not also understand that nobody others gives any tip or see a mistake in my pictures and post anything.

Share this post


Link to post
Share on other sites

Sorry, not all of us are free 24/7 or can help in all cases.

So, about your problem - if you have included Zlobomir's ddraw.h there's no need to include dxsdk. (Or atleast I think so,I don't have it installed and I can compile).Trunk is the folder in which apex src is.(After extracting)

And some minor stuff I dont think that will help but anyway - My WMPSDK10\include is above ddraw in includes.Also ddraw.h must be in the folder ddraw,not f.e DDRAW/ddraw/.

Please,post your latest errors here,maybe i/or somebody else/ will think of something.

Share this post


Link to post
Share on other sites

May be, i'm no working 24/7 on this project, too. :P

In use the STLPort 5.2 of Zlobomir up this side. Always WTL 8.0 and the ddraw.h of Zlobomir. wmp.h from installed WMP10SDK.

Dirs and include see picture :

vc01ik9.jpgvc02sj2.jpgvc03wa1.jpg

Compiling in debug-mode :

------ Erstellen gestartet: Projekt: StrongDC, Konfiguration: Debug Win32 ------

Kompilieren...

iTunesCOMInterface_i.c

y:\apexdc040\windows\itunescominterface_i.c(141) : fatal error C1010: Unerwartetes Dateiende während der Suche nach dem vorkompilierten Header. Haben Sie möglicherweise vergessen, im Quellcode "#include "stdafx.h"" einzufügen?

Code wird generiert...

Kompilieren...

WinUtil.cpp

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26287) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26290) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26294) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26297) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26421) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26433) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26446) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

d:\programme\microsoft visual studio\vc\platformsdk\include\strmif.h(26458) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

Code wird generiert...

Das Buildprotokoll wurde unter "file://Y:\ApexDC040\vc7\Debug\StrongDC\BuildLog.htm" gespeichert.

StrongDC - 9 Fehler, 0 Warnung(en)

========== Erstellen: 0 erfolgreich, Fehler bei 1, 7 aktuell, 0 übersprungen ==========
Compiling in Release-mode :
------ Erstellen gestartet: Projekt: StrongDC, Konfiguration: Release Win32 ------

Kompilieren...

WinUtil.cpp

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26287) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26290) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26294) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26297) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26421) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26433) : error C2061: Syntaxfehler: Bezeichner 'IDirectDraw'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26446) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

D:\Programme\Microsoft Visual Studio\VC\PlatformSDK\include\strmif.h(26458) : error C2061: Syntaxfehler: Bezeichner 'IDirectDrawSurface'

Das Buildprotokoll wurde unter "file://Y:\ApexDC040\vc7\Release\StrongDC\BuildLog.htm" gespeichert.

StrongDC - 8 Fehler, 0 Warnung(en)

========== Erstellen: 0 erfolgreich, Fehler bei 1, 7 aktuell, 0 übersprungen ==========

Thanks for help or any idea. :D

P.S : I'm not installed SDK SP2. VS is version 2005 professional. The ApexDC-Source is 0.4.0 with no changes by myself.

Share this post


Link to post
Share on other sites

I cant think of anything else but to remove DirectXSDK both from include and library files. (You get errors IDirectDraw and this is in ddraw.h,so maybe this will help)

Share this post


Link to post
Share on other sites

I cant think of anything else but to remove DirectXSDK both from include and library files. (You get errors IDirectDraw and this is in ddraw.h,so maybe this will help)

I've removed it in include and library. Same 8 errors in release-mode compiling. :wacko:

Share this post


Link to post
Share on other sites

Lordy

For fixing 1-st error in Debug-mode with itunescominterface_i.c you need to disable use of precompiled headers for it. And about other errors, may be you have corrupted strmif.h? For example, you may delete/comment there "#include <ddraw.h>" (It sounds silly but it may be). Here is original strmif.h from VS2005.

strmif.zip

Share this post


Link to post
Share on other sites

Yes ! Yes ! YES ! :)

Nobody by the programmers or offical here from the forum.

A Newbie has the Nuts !!

------ Erstellen gestartet: Projekt: StrongDC, Konfiguration: Release Win32 ------

Kompilieren...

WinUtil.cpp

Kompilieren...

iTunesCOMInterface_i.c

Ressourcen werden kompiliert...

Deleting old pdb file...

Y:\ApexDC040\compiled\ApexDC.pdb konnte nicht gefunden werden

Verknüpfen...

Code wird generiert.

Codegenerierung ist abgeschlossen.

Das Manifest wird eingebettet...

Das Buildprotokoll wurde unter "file://Y:\ApexDC040\vc7\Release\StrongDC\BuildLog.htm" gespeichert.

StrongDC - 0 Fehler, 0 Warnung(en)

========== Erstellen: 1 erfolgreich, Fehler bei 0, 7 aktuell, 0 übersprungen ==========

BugMaster you are my winner ! :wacko:

But thanks Zlobomir too ! At least you helping. ;)

P.S. : Why my "strmif.h" was corrupt ? No idea .... :)

Share this post


Link to post
Share on other sites

Hi everyone ! When I try to compile apex I get the following errors:

Could Not Find D:\My Documents Xp\DC\working\trunk\compiled\ApexDC.pdb

Linking...

WinUtil.obj : error LNK2001: unresolved external symbol "unsigned char __stdcall SetSuspendState(unsigned char,unsigned char,unsigned char)" (?SetSuspendState@@YGEEEE@Z)

D:\My Documents Xp\DC\working\trunk\compiled/ApexDC.exe : fatal error LNK1120: 1 unresolved externals

Build log was saved at "file://D:\My Documents Xp\DC\working\trunk\vc7\Release\StrongDC\BuildLog.htm"

StrongDC - 2 error(s), 15 warning(s)

I have installed WMPSDK10 , Microsoft DirectX SDK (April 2007) & Microsoft Platform SDK for Windows XP SP2 , all files included in MSVS2005.

Does anyone know how can I fix these errors ?

Share this post


Link to post
Share on other sites

Sorry for bringing up this old thread. I've been having the same problems until I installed WMP and DX SDKs.

But, now I get two errors (and three warnings) when I try to compile the code:

Error	1	fatal error LNK1257: code generation failed	MakeDefs	

Warning	2	warning C4512: 'WTL::CPrintDialogImpl<T>' : assignment operator could not be generated	C:\Program Files\Microsoft Visual Studio 8\WTL\atldlgs.h	2385	

Warning	3	warning C4512: 'WTL::CPrintDialog' : assignment operator could not be generated	C:\Program Files\Microsoft Visual Studio 8\WTL\atldlgs.h	2398	

Warning	4	warning C4505: 'WTL::_AtlCreateDC' : unreferenced local function has been removed	C:\Program Files\Microsoft Visual Studio 8\WTL\atldlgs.h	2173	

Error	5	error PRJ0019: A tool returned an error code from "Deleting old pdb file..."	StrongDC

Share this post


Link to post
Share on other sites
Sign in to follow this  
Followers 0