Menu

#175 Building problems under windows

open
nobody
5
2012-11-20
2004-02-25
No

I try to build the library and samples under windows
(my case - winXP and MSVC++ 6.0).

I have found some mistakes in the projects properties.

1. SampleSocketPort (release) has broken link libraries
list. Need to be changed 'ws2_32' to 'ws2_32.lib'

2. All Releases are linked to 'Debug Multithread DLL'
instead of 'Multithread DLL'

3. include directories in the sample projects bind to
..\..\win32, however, in 1.1.0 version this directory
is named as 'w32'.

4. in 1.1.0 netdevices sample do not build.
...
netdevices.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) bool __cdecl
ost::enumNetworkDevices(class std::vector<class
ost::NetworkDeviceInfo,class std::allocator<class
ost::NetworkDeviceInfo> > &)" (__imp_?enumNetworkDevices
@ost@@YA_NAAV?$vector@VNetworkDeviceInfo@ost@@V?$allocator@VNetworkDeviceInfo@ost@@@std@@@std@@@Z)
netdevices.obj : error LNK2001: unresolved external
symbol "__declspec(dllimport) public: __thiscall
ost::NetworkDeviceInfo::~NetworkDeviceInfo(void)"
(__imp_??1NetworkDeviceInfo@ost@@QAE@XZ)
..\Debug/netdevices.exe : fatal error LNK1120: 2
unresolved externals

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.