Jump to content


* * * * * 2 votes

Compiling ApexDC++


  • Please log in to reply
180 replies to this topic

#41 Peetboy

Peetboy

    Member

  • Member
  • PipPip
  • 35 posts

Posted 20 January 2007 - 08:24 PM

View PostCrise, on Jan 20 2007, 07:52 PM, said:

You are compiling with visual studio 2005 (8.0) right?
Yes.

#42 Crise

Crise

    Developer

  • Management
  • 2,854 posts

Posted 20 January 2007 - 09:01 PM

View PostPeetboy, on Jan 20 2007, 08:24 PM, said:

Yes.

And using patched wtl and stlport (stlport must be compiled), as well as have wmp.h and ddraw.h?
Crise
ApexDC++ - Lead Developer

Proud Affiliates of: TechGeeks Online, PeerWeb

#43 adrian_007

adrian_007

    Advanced

  • Member
  • PipPipPip
  • 87 posts

Posted 20 January 2007 - 10:39 PM

Quote

and installed with install.bat
update stlport, cause probably u use stlport with installer by pothead, and this stlport is too old for apex :whistling:

#44 Serj

Serj

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 23 January 2007 - 10:42 PM

View PostPeetboy, on Jan 20 2007, 06:12 PM, said:

Yes i do everything like in ifmn guide. I have StrongDC source files in E:\CVS\StrongDC\Source
If you wish to compile ApexDC, the ApexDC source code is needed (not StrongDC). You can take it in "download" section on this site.

#45 Peetboy

Peetboy

    Member

  • Member
  • PipPip
  • 35 posts

Posted 24 January 2007 - 02:31 PM

View PostSerj, on Jan 23 2007, 11:42 PM, said:

If you wish to compile ApexDC, the ApexDC source code is needed (not StrongDC). You can take it in "download" section on this site.
Yes that's right. I'm so stupid. I downloaded source from berlios ftp automatically with WTL and STLPort and I didn't realise that it's not ApexDC source but StrongDC.
2 Crisis: thank you for your help. I think i misleaded you. I apologize, my mistake.  :)
Now it looks like i have only 2 errors and 3 warnings after build (failed) so i try to find, what's wrong. Bye now.

#46 ifmn

ifmn

    Not Banned

  • Member
  • PipPipPipPipPip
  • 524 posts

Posted 24 January 2007 - 03:08 PM

read this for more info http://forums.apexdc...?showtopic=1114

#47 Alfio8788

Alfio8788

    Newbie

  • Member
  • Pip
  • 3 posts

Posted 25 January 2007 - 12:50 AM

Trying to compile but  :o

Quote

error C2244: 'TaoCrypt::AlignedAllocator<T>::allocate' : unable to match function definition to an existing declaration D:\src\yassl\taocrypt\src\integer.cpp 122

warning C4512: 'WTL::CPrintDialogImpl<T>' : assignment operator could not be generated D:\WTL\atldlgs.h 1376

warning C4512: 'WTL::CPrintDialog' : assignment operator could not be generated D:\WTL\atldlgs.h 1389

warning C4505: 'WTL::_AtlCreateDC' : unreferenced local function has been removed D:\WTL\atldlgs.h 1156

fatal error LNK1181: cannot open input file '.\vc7\release\taocrypt\taocrypt.lib' StrongDC

I'm using VS8 Pro upgraded to SP1 (errors due to SP1?  :) )

#48 Obelisk

Obelisk

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 14 March 2007 - 09:53 PM

View Postifmn, on Nov 15 2006, 09:57 PM, said:

--------------------------------------------------------------------
Get the missing natupnp files from: Here and put them to:
C:\ Program Files\Microsoft Visual Studio 8\VC\include\
--------------------------------------------------------------------
The link doesn't work :)

#49 Crise

Crise

    Developer

  • Management
  • 2,854 posts

Posted 14 March 2007 - 10:19 PM

the server is just down for now, the same files are available from Microsoft though (don't ask where exactly, since I don't remember)
Crise
ApexDC++ - Lead Developer

Proud Affiliates of: TechGeeks Online, PeerWeb

#50 Obelisk

Obelisk

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 14 March 2007 - 10:55 PM

View PostCrise, on Mar 15 2007, 01:19 AM, said:

the server is just down for now, the same files are available from Microsoft though (don't ask where exactly, since I don't remember)
Not good. I'd better wait for the server to be up. I don't like the idea of searching for something on Microsoft's site :)
Anyway thank you for the reply!

#51 ifmn

ifmn

    Not Banned

  • Member
  • PipPipPipPipPip
  • 524 posts

Posted 15 March 2007 - 11:35 AM

I think these are the files:Attached File  natupnp.zip   7.17K   145 downloads

#52 Obelisk

Obelisk

    Newbie

  • Member
  • Pip
  • 4 posts

Posted 15 March 2007 - 04:47 PM

Although I've already downloaded the files, ifmn, thanks for the post! from all others who haven't :)

So far I have only 1 error. "ddraw.h" missing. But after installing Dx9SDK and adding "include", "lib" dirs to "VC++ Directories" I have this
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(222) : error C2146: syntax error : missing ';' before identifier 'PVOID64'
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(222) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(5940) : error C2146: syntax error : missing ';' before identifier 'Buffer'
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
C:\Program Files\Microsoft Visual Studio 8\VC\PlatformSDK\include\winnt.h(5940) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
as a result... These errors haven't appeared before Dx9SDK installing as I remember

Sorry for annoying posts... but can you people help me once again? :)

#53 xiongguoy

xiongguoy

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 18 March 2007 - 10:56 AM

Hi, i tried the link to download natupnp.zip and i get this:
"IPB WARNING [2] readfile() has been disabled for security reasons (Line: 309 of /sources/classes/attach/class_attach.php)"
Is there any other link to get this file, other then downloading the huge windows sdk just for this?
Thanks

#54 ifmn

ifmn

    Not Banned

  • Member
  • PipPipPipPipPip
  • 524 posts

Posted 18 March 2007 - 11:13 AM

Uploaded it here - http://www.pirateshare.net/?id=1705077 :unsure:

Edit:
@Obelisk - Why have you pasted the directories there ? Just include C:\Program Files\WMSDK\WMPSDK10\include or whatever in you include directories in VC++ :blink:.

BTW, have you overwrited some files ?

Edited by ifmn, 18 March 2007 - 11:19 AM.


#55 Leon

Leon

    Newbie

  • Member
  • Pip
  • 16 posts

Posted 26 March 2007 - 08:39 PM

Hi all.
First of all, sorry for my bad english.
Please dudes, now I have these questions:

1) I did the same from the both above tutorials but I'm still getting this first error message: LINK : fatal error LNK1104: cannot open file 'stlport_static.5.2.lib' What I'm doing wrong?

2) Is it necessary to install PSDK and Python to compile ApexDC?

#56 ifmn

ifmn

    Not Banned

  • Member
  • PipPipPipPipPip
  • 524 posts

Posted 27 March 2007 - 11:22 AM

Hi

1 - I am not an expert, but try following only the second guide, make sure you download the right STL, extract it, install it and have the right directories included in VC++.

2 - No.

#57 Zlobomir

Zlobomir

    Master of Puppets & Soldier of Fortune

  • Support
  • 2,456 posts

Posted 27 March 2007 - 02:12 PM

Actually why users write support posts in the guide section? IMO it is better to lock the guides, and send all updates, if any, via PM to Staff.
Apex DC++ Guides

My Portal

#58 ifmn

ifmn

    Not Banned

  • Member
  • PipPipPipPipPip
  • 524 posts

Posted 27 March 2007 - 02:28 PM

It can be an example for common errors and solutions for such to new users so IMHO this place is good...

#59 Leon

Leon

    Newbie

  • Member
  • Pip
  • 16 posts

Posted 27 March 2007 - 03:17 PM

View Postifmn, on Mar 27 2007, 08:22 AM, said:

Hi

1 - I am not an expert, but try following only the second guide, make sure you download the right STL, extract it, install it and have the right directories included in VC++.

Thanks for reply!
But I did in the exact way from the second tutorial...  :) When I double click in the stl.exe (or something like that), the prompt DOS opens and closes very fast, is this normal? Btw, how must I compile stlport??  :(

The tutorial is not difficult, but after 1,000 times compiling and getting errors, I decided to enter here, I thank very much any answer.

// Leon

#60 ifmn

ifmn

    Not Banned

  • Member
  • PipPipPipPipPip
  • 524 posts

Posted 27 March 2007 - 03:29 PM

It shouldn't blink fast, it must extract itself.So do all the steps again, do not rename anything, run install.bat and wait for it to finish.In the end, the whole STL folder must be 50MB+ at least.


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users