Errors on Building Solution
OS W2K Server SP4
Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200)
Installed Edition: Enterprise
Microsoft Visual C++ 2005 77642-113-3000004-41195
Installed STLport , boost_1_33_1
Boost-Jam 3.1.13
Folowed all steps as described in the tutorial http://dcpp.net/blog/?p=115 (ps a great help thx to the poster(s)) exept the modifs in config.h as i dont seem to have that file
Used to compile under VB6 so a complete noob on C++ under VS2005 but ... willing to learn lol
Build log:
1>------ Build started: Project: adchpp, Configuration: Release Win32 ------
1>Linking...
1>LINK : warning LNK4075: ignoring '/INCREMENTAL' due to '/OPT:ICF' specification
1> Creating library Release\adchpp.lib and object Release\adchpp.exp
1>LINK : warning LNK4199: /DELAYLOAD:OleAcc.dll ignored; no imports found from OleAcc.dll
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__DeleteService@4 referenced in function "void __cdecl removeService(char const *)" (?removeService@@YAXPBD@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__CloseServiceHandle@4 referenced in function "void __cdecl removeService(char const *)" (?removeService@@YAXPBD@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__OpenServiceA@12 referenced in function "void __cdecl removeService(char const *)" (?removeService@@YAXPBD@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__OpenSCManagerA@12 referenced in function "void __cdecl removeService(char const *)" (?removeService@@YAXPBD@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__CreateServiceA@52 referenced in function "void __cdecl installService(char const *)" (?installService@@YAXPBD@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__SetServiceStatus@8 referenced in function "void __stdcall handler(unsigned long)" (?handler@@YGXK@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__RegisterServiceCtrlHandlerA@8 referenced in function "void __stdcall serviceStart(unsigned long,char * * const)" (?serviceStart@@YGXKQAPAD@Z)
1>adchppdw.obj : error LNK2019: unresolved external symbol __imp__StartServiceCtrlDispatcherA@4 referenced in function "void __cdecl runService(char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?runService@@YAXPBDABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)
1>Release\adchpp.exe : fatal error LNK1120: 8 unresolved externals
1>Build log was saved at "file://c:\adchpp\Release\BuildLog.htm"
1>adchpp - 9 error(s), 2 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Any way to see what i messed up or ...
Thx in advance
ADCH++ Build on VS 2005 win32
Moderator: Moderators
I'll quickly write a new guide . . . .
1. Install svn, and get the adchpp as mentioned in the other post.
2. "Install" boost (it doesn't need compiling, just the contents of the include directory put in the correct place on your harddisk)
3. Install python
4. Install scons
5. Install swig ( 1.3.31 needed for python2.5 )
6. Ensure the python and swig paths are set in %PATH%
(do this in Control Panel \ System \ Advanced \ Enviromental Variables )
7. Load vs2005 command prompt
8. Navigate to the correct directory.
9. Type: scons tools=default
1. Install svn, and get the adchpp as mentioned in the other post.
2. "Install" boost (it doesn't need compiling, just the contents of the include directory put in the correct place on your harddisk)
3. Install python
4. Install scons
5. Install swig ( 1.3.31 needed for python2.5 )
6. Ensure the python and swig paths are set in %PATH%
(do this in Control Panel \ System \ Advanced \ Enviromental Variables )
7. Load vs2005 command prompt
8. Navigate to the correct directory.
9. Type: scons tools=default