Problems compiling? Don't understand the source code? Don't know how to code your feature? Post here.
Moderator: Moderators
-
Nomad_Soul
- Posts: 3
- Joined: 2006-09-26 07:13
Post
by Nomad_Soul » 2006-09-26 07:21
Ok,
i'm a n00b.
I'm trying to compile dc++ using vs2003 but keep getting the same error - i.e. namespace stl not defined.
I know this means that the path to stlport is not correctly set in vs. But i have tried just about anything i can think of - included it - set it in the lib path - the executables etc.
Can someone pls spell out for me what should be the configuration for vs for the build to work?
btw i did a command line compile of the stlport thingy, so i have the compiled files in the lib subdir - my first try was to include this in the library file locations for vs
Any help will be greatly appreciated.
NO INSPIRATION
-
Nomad_Soul
- Posts: 3
- Joined: 2006-09-26 07:13
Post
by Nomad_Soul » 2006-09-26 07:29
feck
can someone move this to programmer's help please?
NO INSPIRATION
-
adrian_007
- Posts: 32
- Joined: 2006-03-06 10:54
- Location: Poland
Post
by adrian_007 » 2006-09-26 08:04
how u install stlport? u have folder for it in source code directory
u have dirs like this?
source dir/stlport/stlport/files
-
GOLIATH
- Account Disabled Due to Policy
- Posts: 99
- Joined: 2006-09-18 16:12
- Location: Omnipresent
-
Contact:
Post
by GOLIATH » 2006-09-26 10:25
ok this is how I was explained on how to compile a client,
- Download the source
- Unzip the source
- Click on the file named "RunMe-then-DeleteMe.bat"
- Go into the folder marked Docs and Stuff/Bats
- Click on the file named "RunMe-then-DeleteMe.bat"
- Click on the file named "add-includes.bat"
- Click on the file named "build-beta.bat"
- Wait a while and you should have a new client all ready to start up in the folder named "app"
-
Guitarm
- Forum Moderator
- Posts: 385
- Joined: 2004-01-18 15:38
Post
by Guitarm » 2006-09-26 10:33
Nomad_Soul, you need to have the correct files at the correct place. Try downloading and unzipping DCPlusPlus-STLPort-4.6.2 from Sourceforge DC++ site. Then put this path in Options->Projects->VC++ Directories->Include files.
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."
-
Pothead
- Posts: 223
- Joined: 2005-01-15 06:55
Post
by Pothead » 2006-09-26 11:46
Golitath them batch files are only in dcdm (and derivatives).
You should really look at dc++ source (and settings), before commenting on something you know nothing about.
-
poy
- Posts: 83
- Joined: 2006-04-03 15:55
Post
by poy » 2006-09-26 13:26
GOLIATH, for these DCDM++ bat files to work, you already need WinRAR if i remember correctly. and i don't think this is a good way to explain someone how to compile, just making him clik bat files and waiting til the rars extract automagically...
IMHO, it's better he understands the prerequisites by himself.
-
GOLIATH
- Account Disabled Due to Policy
- Posts: 99
- Joined: 2006-09-18 16:12
- Location: Omnipresent
-
Contact:
Post
by GOLIATH » 2006-09-26 17:26
why dosent anybody ever read the first part of my comments? now I know for a act I said "
ok this is how I was explained on how to compile a client"....I said that just so people wouldnt say I was wrong, I mearly explained it as how it was told to me, if im wrong then Im wrong....and as it seems I am but there is no need to get smart about it, damm just say I am wrong, you hurt my feelings post when you say things like that about me

Last edited by
GOLIATH on 2006-09-27 11:13, edited 1 time in total.
-
Nomad_Soul
- Posts: 3
- Joined: 2006-09-26 07:13
Post
by Nomad_Soul » 2006-09-27 10:40
tx guitarm
appears i was using stlport 5.0.1 instead of 4.6.2
i dl'd the right one and behold - build works

NO INSPIRATION
-
Guitarm
- Forum Moderator
- Posts: 385
- Joined: 2004-01-18 15:38
Post
by Guitarm » 2006-09-27 16:03
You can use STLPort 5.0.x if you want to too. You just need to commen/uncomment #defines in stl_user_config.h. Do a diff between this file in these two versions and you will see what I mean.
"Nothing really happens fast. Everything happens at such a rate that by the time it happens, it all seems normal."