Poco Libraries not building entirely

Please post support and help requests here.
Strejl
Posts: 1
Joined: 04 Apr 2013, 18:49

Poco Libraries not building entirely

Postby Strejl » 04 Apr 2013, 19:08

Attempting to use Poco Libraries for the first time with Visual Studio Express 2010. I extracted the libraries to a folder "C:\Poco" and then used the Visual Studio Command Prompt to execute "buildwin 100 build all both Win32 samples vcexpress"

I then went on to write a simple console application which just runs a main function, but at the beginning includes the "Poco/Net/DNS.h" header file. In the project properties page, I have the VC++ directories set to add the include directories of "C:\Poco\Net\include" and "C:\Poco\Foundation\include", and have the Library Directories set to add "C:\Poco\lib"

When running the program, it complained about not being able to open "PocoFoundationd.lib". This file was never built in the library directory. Instead there is "PocoFoundationmt.lib", "PocoFoundationmd.lib", "PocoFoundationmdd.lib", and "PocoFoundationmtd.lib", but no "PocoFoundationd.lib". Attempting to solve the problem by rebuilding, I've run buildwin in lots of different parameter combinations, as well as running the build_vcexpress201.bat, but nothing I seem to do makes it build the correct files. I assume there are other files like this as well that aren't getting built.

Anyone have an idea on how to solve this problem?

Thanks in advance.

alex
Posts: 1375
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Poco Libraries not building entirely

Postby alex » 05 Apr 2013, 02:04

Strejl wrote:Anyone have an idea on how to solve this problem?

yes, build dynamic libraries or link with the static ones that you have already built.

We only support regular VS, VCExpress is not officially supported; we've been looking for a maintainer thereof for long time, see this, this, this and this - many people complain about the problem but nobody seems to want to own it.

dbarzo
Posts: 40
Joined: 14 Jan 2013, 17:15
Location: Italy

Re: Poco Libraries not building entirely

Postby dbarzo » 08 Apr 2013, 10:21

Hi,

just to note that I try to build the 1.5.1 as shared debug with MSBuild (VS2010 Professional) using this command:

Code: Select all

buildwin 100 build shared debug Win32 nosamples notests

but I get the error:

Code: Select all

MSBUILD : error MSB1001: unknown option.
Option: /build

Instead, using the devenv toolkit is build successfully.
The release version is built with no problems using both toolkits.

Regards,
Daniele.

Virus721
Posts: 4
Joined: 02 Feb 2016, 13:36

Re: Poco Libraries not building entirely

Postby Virus721 » 02 Feb 2016, 13:45

alex wrote:
Strejl wrote:Anyone have an idea on how to solve this problem?

yes, build dynamic libraries or link with the static ones that you have already built.

We only support regular VS, VCExpress is not officially supported; we've been looking for a maintainer thereof for long time, see this, this, this and this - many people complain about the problem but nobody seems to want to own it.


I'm having the same problem, but in the other way, i. i have the PocoFoundation.lib and PocoFoundationd.lib, but I don't have PocoFoundationmit.lib and PocoFoundationmtd.lib.

You say the we should compile with the libs that were successfully built ? I.e compile my project (which is compiled using MTd) with non-MT libs ? Isn't that going to pose hard to debug problems at some point in the future ? I assume there is a good reason why there are MT and non-MT versions of the lib, so cimpiling two things that are not supposed to be compiled together isn't going to cause trouble, either at compile/link time or at run-time with hard to debug data races ?

Also what some libs don't compile in the first place ? I'm using a VS2008 professionnal edition.
Thank you.

SanJ
Posts: 2
Joined: 23 Mar 2016, 14:46

Need Poco Libraries not build config for Netcom Linux armv5tejl ntc_6200 3.6.11ntc

Postby SanJ » 23 Mar 2016, 15:42

Hi I tried cross compiling the POCO library for the "netcom gateway" of linux version "Linux armv5tejl" with the cross tool given but it is failing and giving the issue bellow

ERROR MESSAGE:
/home/user/sridhar/netcom/SDK/SDK_Bovine_ntc_6200_2.0.24.3/compiler/bin/../lib/gcc/arm-ntc-linux-gnueabi/4.8.3/../../../../arm-ntc-linux-gnueabi/bin/ld: cannot find -lstlport_arm-linux-gcc
collect2: error: ld returned 1 exit status
make[1]: *** [/home/user/sridhar/libs/poco-1.5.4-all/lib/Linux/ARM/libPocoFoundationd.so.24] Error 1
make[1]: Leaving directory `/home/user/sridhar/libs/poco-1.5.4-all/Foundation'
make: *** [Foundation-libexec] Error 2

So can any body please share me the build config file for this "Linux armv5tejl"


Return to “Support”

Who is online

Users browsing this forum: Bing [Bot] and 1 guest

cron