Win32 build doesn't build because of stddef.h

EI
Eagle I Martin Baranski
Mon, Nov 5, 2007 10:28 AM

Hi there,

I'm quite new to PJSIP, but I hope, that I can build a small, useful
and fast SIP-software with this great library.
So, I did a checkout from the trunk-branch, loaded all projects within
Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths
and finally wanted to build the package. But then, it said:

-------------- Build: Win32 Release in pjsua ---------------
[ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c
In file included from ../../pjlib/include/pj/config.h:259,
from ../../pjsip/include/pjsip/sip_config.h:26,
from ../../pjsip/include/pjsip/sip_types.h:33,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory
In file included from ../../pjsip/include/pjsip/sip_types.h:34,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t"
../../pjlib/include/pj/types.h:60: warning: type defaults to int' in declaration of pj_size_t'
../../pjlib/include/pj/types.h:60: warning: data definition has no
type or storage class

(...)

There are many further errors, but except two of them, all refer to
the "pj_size_t" which seems to be declared within the stddef.h - but
that file isn't anywhere inside PJSIP's folders! :(

So, I'd be glad, if someone can tell me what I'm doing wrong and how
to do it better.. :)

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843

Hi there, I'm quite new to PJSIP, but I hope, that I can build a small, useful and fast SIP-software with this great library. So, I did a checkout from the trunk-branch, loaded all projects within Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths and finally wanted to build the package. But then, it said: -------------- Build: Win32 Release in pjsua --------------- [ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c In file included from ../../pjlib/include/pj/config.h:259, from ../../pjsip/include/pjsip/sip_config.h:26, from ../../pjsip/include/pjsip/sip_types.h:33, from ../../pjsip/include/pjsip.h:23, from ../../pjsip/include/pjsua-lib/pjsua.h:29, from M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file or directory In file included from ../../pjsip/include/pjsip/sip_types.h:34, from ../../pjsip/include/pjsip.h:23, from ../../pjsip/include/pjsua-lib/pjsua.h:29, from M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: ../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t" ../../pjlib/include/pj/types.h:60: warning: type defaults to `int' in declaration of `pj_size_t' ../../pjlib/include/pj/types.h:60: warning: data definition has no type or storage class (...) There are many further errors, but except two of them, all refer to the "pj_size_t" which seems to be declared within the stddef.h - but that file isn't anywhere inside PJSIP's folders! :( So, I'd be glad, if someone can tell me what I'm doing wrong and how to do it better.. :) -- ===================== = ~ Code is poetry ~ ===================== = Martin Baranski = Eagle | Eagle3386 = www.troublezone.net = eagle3386@gmail.com = +49 (0)160 93317843 =====================
RK
Roland Klabunde
Mon, Nov 5, 2007 12:05 PM

../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory

You don't have a path to stddef.h, it seems.

----- Original Message -----
From: "Eagle I Martin Baranski" eagle3386@googlemail.com
To: pjsip@lists.pjsip.org
Sent: Monday, November 05, 2007 11:28 AM
Subject: [pjsip] Win32 build doesn't build because of stddef.h

Hi there,

I'm quite new to PJSIP, but I hope, that I can build a small, useful
and fast SIP-software with this great library.
So, I did a checkout from the trunk-branch, loaded all projects within
Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths
and finally wanted to build the package. But then, it said:

-------------- Build: Win32 Release in pjsua ---------------
[ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c
In file included from ../../pjlib/include/pj/config.h:259,
from ../../pjsip/include/pjsip/sip_config.h:26,
from ../../pjsip/include/pjsip/sip_types.h:33,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory
In file included from ../../pjsip/include/pjsip/sip_types.h:34,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t"
../../pjlib/include/pj/types.h:60: warning: type defaults to int' in declaration of pj_size_t'
../../pjlib/include/pj/types.h:60: warning: data definition has no
type or storage class

(...)

There are many further errors, but except two of them, all refer to
the "pj_size_t" which seems to be declared within the stddef.h - but
that file isn't anywhere inside PJSIP's folders! :(

So, I'd be glad, if someone can tell me what I'm doing wrong and how
to do it better.. :)

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file or directory You don't have a path to stddef.h, it seems. ----- Original Message ----- From: "Eagle I Martin Baranski" <eagle3386@googlemail.com> To: <pjsip@lists.pjsip.org> Sent: Monday, November 05, 2007 11:28 AM Subject: [pjsip] Win32 build doesn't build because of stddef.h > Hi there, > > I'm quite new to PJSIP, but I hope, that I can build a small, useful > and fast SIP-software with this great library. > So, I did a checkout from the trunk-branch, loaded all projects within > Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths > and finally wanted to build the package. But then, it said: > > -------------- Build: Win32 Release in pjsua --------------- > [ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c > In file included from ../../pjlib/include/pj/config.h:259, > from ../../pjsip/include/pjsip/sip_config.h:26, > from ../../pjsip/include/pjsip/sip_types.h:33, > from ../../pjsip/include/pjsip.h:23, > from ../../pjsip/include/pjsua-lib/pjsua.h:29, > from > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file > or directory > In file included from ../../pjsip/include/pjsip/sip_types.h:34, > from ../../pjsip/include/pjsip.h:23, > from ../../pjsip/include/pjsua-lib/pjsua.h:29, > from > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > ../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t" > ../../pjlib/include/pj/types.h:60: warning: type defaults to `int' in > declaration of `pj_size_t' > ../../pjlib/include/pj/types.h:60: warning: data definition has no > type or storage class > > (...) > > There are many further errors, but except two of them, all refer to > the "pj_size_t" which seems to be declared within the stddef.h - but > that file isn't anywhere inside PJSIP's folders! :( > > So, I'd be glad, if someone can tell me what I'm doing wrong and how > to do it better.. :) > > -- > ===================== > = ~ Code is poetry ~ > ===================== > = Martin Baranski > = Eagle | Eagle3386 > = www.troublezone.net > = eagle3386@gmail.com > = +49 (0)160 93317843 > ===================== > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
EI
Eagle I Martin Baranski
Mon, Nov 5, 2007 4:56 PM

2007/11/5, Roland Klabunde roland.klabunde@freenet.de:

../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory

You don't have a path to stddef.h, it seems.

That might be true, but that file doesn't even exist within that
folder.. What to do now? :(

----- Original Message -----
From: "Eagle I Martin Baranski" eagle3386@googlemail.com
To: pjsip@lists.pjsip.org
Sent: Monday, November 05, 2007 11:28 AM
Subject: [pjsip] Win32 build doesn't build because of stddef.h

Hi there,

I'm quite new to PJSIP, but I hope, that I can build a small, useful
and fast SIP-software with this great library.
So, I did a checkout from the trunk-branch, loaded all projects within
Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths
and finally wanted to build the package. But then, it said:

-------------- Build: Win32 Release in pjsua ---------------
[ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c
In file included from ../../pjlib/include/pj/config.h:259,
from ../../pjsip/include/pjsip/sip_config.h:26,
from ../../pjsip/include/pjsip/sip_types.h:33,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory
In file included from ../../pjsip/include/pjsip/sip_types.h:34,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t"
../../pjlib/include/pj/types.h:60: warning: type defaults to int' in declaration of pj_size_t'
../../pjlib/include/pj/types.h:60: warning: data definition has no
type or storage class

(...)

There are many further errors, but except two of them, all refer to
the "pj_size_t" which seems to be declared within the stddef.h - but
that file isn't anywhere inside PJSIP's folders! :(

So, I'd be glad, if someone can tell me what I'm doing wrong and how
to do it better.. :)

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843

2007/11/5, Roland Klabunde <roland.klabunde@freenet.de>: > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file > or directory > > You don't have a path to stddef.h, it seems. That might be true, but that file doesn't even exist within that folder.. What to do now? :( > ----- Original Message ----- > From: "Eagle I Martin Baranski" <eagle3386@googlemail.com> > To: <pjsip@lists.pjsip.org> > Sent: Monday, November 05, 2007 11:28 AM > Subject: [pjsip] Win32 build doesn't build because of stddef.h > > > > Hi there, > > > > I'm quite new to PJSIP, but I hope, that I can build a small, useful > > and fast SIP-software with this great library. > > So, I did a checkout from the trunk-branch, loaded all projects within > > Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths > > and finally wanted to build the package. But then, it said: > > > > -------------- Build: Win32 Release in pjsua --------------- > > [ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c > > In file included from ../../pjlib/include/pj/config.h:259, > > from ../../pjsip/include/pjsip/sip_config.h:26, > > from ../../pjsip/include/pjsip/sip_types.h:33, > > from ../../pjsip/include/pjsip.h:23, > > from ../../pjsip/include/pjsua-lib/pjsua.h:29, > > from > > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file > > or directory > > In file included from ../../pjsip/include/pjsip/sip_types.h:34, > > from ../../pjsip/include/pjsip.h:23, > > from ../../pjsip/include/pjsua-lib/pjsua.h:29, > > from > > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > > ../../pjlib/include/pj/types.h:60: error: syntax error before "pj_size_t" > > ../../pjlib/include/pj/types.h:60: warning: type defaults to `int' in > > declaration of `pj_size_t' > > ../../pjlib/include/pj/types.h:60: warning: data definition has no > > type or storage class > > > > (...) > > > > There are many further errors, but except two of them, all refer to > > the "pj_size_t" which seems to be declared within the stddef.h - but > > that file isn't anywhere inside PJSIP's folders! :( > > > > So, I'd be glad, if someone can tell me what I'm doing wrong and how > > to do it better.. :) > > > > -- > > ===================== > > = ~ Code is poetry ~ > > ===================== > > = Martin Baranski > > = Eagle | Eagle3386 > > = www.troublezone.net > > = eagle3386@gmail.com > > = +49 (0)160 93317843 > > ===================== > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- ===================== = ~ Code is poetry ~ ===================== = Martin Baranski = Eagle | Eagle3386 = www.troublezone.net = eagle3386@gmail.com = +49 (0)160 93317843 =====================
A
atik
Mon, Nov 5, 2007 5:46 PM

looks like WIN32 Macro not define. Check in the project settings for this
Macro.

atik

On 11/5/07, Roland Klabunde roland.klabunde@freenet.de wrote:

../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory

You don't have a path to stddef.h, it seems.

----- Original Message -----
From: "Eagle I Martin Baranski" eagle3386@googlemail.com
To: pjsip@lists.pjsip.org
Sent: Monday, November 05, 2007 11:28 AM
Subject: [pjsip] Win32 build doesn't build because of stddef.h

Hi there,

I'm quite new to PJSIP, but I hope, that I can build a small, useful
and fast SIP-software with this great library.
So, I did a checkout from the trunk-branch, loaded all projects within
Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths
and finally wanted to build the package. But then, it said:

-------------- Build: Win32 Release in pjsua ---------------
[ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c
In file included from ../../pjlib/include/pj/config.h:259,
from ../../pjsip/include/pjsip/sip_config.h:26,
from ../../pjsip/include/pjsip/sip_types.h:33,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file
or directory
In file included from ../../pjsip/include/pjsip/sip_types.h:34,
from ../../pjsip/include/pjsip.h:23,
from ../../pjsip/include/pjsua-lib/pjsua.h:29,
from
M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:
../../pjlib/include/pj/types.h:60: error: syntax error before

"pj_size_t"

../../pjlib/include/pj/types.h:60: warning: type defaults to int' in declaration of pj_size_t'
../../pjlib/include/pj/types.h:60: warning: data definition has no
type or storage class

(...)

There are many further errors, but except two of them, all refer to
the "pj_size_t" which seems to be declared within the stddef.h - but
that file isn't anywhere inside PJSIP's folders! :(

So, I'd be glad, if someone can tell me what I'm doing wrong and how
to do it better.. :)

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

looks like WIN32 Macro not define. Check in the project settings for this Macro. atik On 11/5/07, Roland Klabunde <roland.klabunde@freenet.de> wrote: > > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file > or directory > > You don't have a path to stddef.h, it seems. > > ----- Original Message ----- > From: "Eagle I Martin Baranski" <eagle3386@googlemail.com> > To: <pjsip@lists.pjsip.org> > Sent: Monday, November 05, 2007 11:28 AM > Subject: [pjsip] Win32 build doesn't build because of stddef.h > > > > Hi there, > > > > I'm quite new to PJSIP, but I hope, that I can build a small, useful > > and fast SIP-software with this great library. > > So, I did a checkout from the trunk-branch, loaded all projects within > > Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths > > and finally wanted to build the package. But then, it said: > > > > -------------- Build: Win32 Release in pjsua --------------- > > [ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c > > In file included from ../../pjlib/include/pj/config.h:259, > > from ../../pjsip/include/pjsip/sip_config.h:26, > > from ../../pjsip/include/pjsip/sip_types.h:33, > > from ../../pjsip/include/pjsip.h:23, > > from ../../pjsip/include/pjsua-lib/pjsua.h:29, > > from > > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: No such file > > or directory > > In file included from ../../pjsip/include/pjsip/sip_types.h:34, > > from ../../pjsip/include/pjsip.h:23, > > from ../../pjsip/include/pjsua-lib/pjsua.h:29, > > from > > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > > ../../pjlib/include/pj/types.h:60: error: syntax error before > "pj_size_t" > > ../../pjlib/include/pj/types.h:60: warning: type defaults to `int' in > > declaration of `pj_size_t' > > ../../pjlib/include/pj/types.h:60: warning: data definition has no > > type or storage class > > > > (...) > > > > There are many further errors, but except two of them, all refer to > > the "pj_size_t" which seems to be declared within the stddef.h - but > > that file isn't anywhere inside PJSIP's folders! :( > > > > So, I'd be glad, if someone can tell me what I'm doing wrong and how > > to do it better.. :) > > > > -- > > ===================== > > = ~ Code is poetry ~ > > ===================== > > = Martin Baranski > > = Eagle | Eagle3386 > > = www.troublezone.net > > = eagle3386@gmail.com > > = +49 (0)160 93317843 > > ===================== > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >
EI
Eagle I Martin Baranski
Mon, Nov 5, 2007 6:30 PM

2007/11/5, atik atik.khan@gmail.com:

looks like WIN32 Macro not define. Check in the project settings for this
Macro.

atik

I apologize myself for asking this - but what is the "Win32 Macro"? Or
do you mean those #defines?
If so, this is what I got:

NDEBUG
PJ_WIN32=1
PJ_M_I386=1
WIN32
_CONSOLE

Thanks in advance,
Martin..

On 11/5/07, Roland Klabunde < roland.klabunde@freenet.de> wrote:

../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h:

No such file

or directory

You don't have a path to stddef.h, it seems.

----- Original Message -----
From: "Eagle I Martin Baranski" < eagle3386@googlemail.com>
To: pjsip@lists.pjsip.org
Sent: Monday, November 05, 2007 11:28 AM
Subject: [pjsip] Win32 build doesn't build because of stddef.h

Hi there,

I'm quite new to PJSIP, but I hope, that I can build a small, useful
and fast SIP-software with this great library.
So, I did a checkout from the trunk-branch, loaded all projects within
Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths
and finally wanted to build the package. But then, it said:

-------------- Build: Win32 Release in pjsua ---------------
[ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c
In file included from

../../pjlib/include/pj/config.h:259,

           from

../../pjsip/include/pjsip/sip_config.h:26,

           from

../../pjsip/include/pjsip/sip_types.h:33,

           from ../../pjsip/include/pjsip.h:23,
           from

../../pjsip/include/pjsua-lib/pjsua.h:29,

           from

M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:

../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h:

No such file

or directory
In file included from

../../pjsip/include/pjsip/sip_types.h:34,

           from ../../pjsip/include/pjsip.h:23,
           from

../../pjsip/include/pjsua-lib/pjsua.h:29,

           from

M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19:

../../pjlib/include/pj/types.h:60: error: syntax error

before "pj_size_t"

../../pjlib/include/pj/types.h:60: warning: type

defaults to `int' in

declaration of `pj_size_t'
../../pjlib/include/pj/types.h:60: warning: data

definition has no

type or storage class

(...)

There are many further errors, but except two of them, all refer to
the "pj_size_t" which seems to be declared within the stddef.h - but
that file isn't anywhere inside PJSIP's folders! :(

So, I'd be glad, if someone can tell me what I'm doing wrong and how
to do it better.. :)

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843

2007/11/5, atik <atik.khan@gmail.com>: > > looks like WIN32 Macro not define. Check in the project settings for this > Macro. > > atik I apologize myself for asking this - but what is the "Win32 Macro"? Or do you mean those #defines? If so, this is what I got: NDEBUG PJ_WIN32=1 PJ_M_I386=1 WIN32 _CONSOLE Thanks in advance, Martin.. > On 11/5/07, Roland Klabunde < roland.klabunde@freenet.de> wrote: > > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: > No such file > > or directory > > > > You don't have a path to stddef.h, it seems. > > > > ----- Original Message ----- > > From: "Eagle I Martin Baranski" < eagle3386@googlemail.com> > > To: <pjsip@lists.pjsip.org> > > Sent: Monday, November 05, 2007 11:28 AM > > Subject: [pjsip] Win32 build doesn't build because of stddef.h > > > > > > > Hi there, > > > > > > I'm quite new to PJSIP, but I hope, that I can build a small, useful > > > and fast SIP-software with this great library. > > > So, I did a checkout from the trunk-branch, loaded all projects within > > > Code::Blocks (I prefer this IDE over VS), set all lib- / include-paths > > > and finally wanted to build the package. But then, it said: > > > > > > -------------- Build: Win32 Release in pjsua --------------- > > > [ 33.3%] Compiling: ..\src\pjsua\pjsua_app.c > > > In file included from > ../../pjlib/include/pj/config.h:259, > > > from > ../../pjsip/include/pjsip/sip_config.h:26, > > > from > ../../pjsip/include/pjsip/sip_types.h:33, > > > from ../../pjsip/include/pjsip.h:23, > > > from > ../../pjsip/include/pjsua-lib/pjsua.h:29, > > > from > > > > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > > > ../../pjlib/include/pj/compat/size_t.h:27:20: stddef.h: > No such file > > > or directory > > > In file included from > ../../pjsip/include/pjsip/sip_types.h:34, > > > from ../../pjsip/include/pjsip.h:23, > > > from > ../../pjsip/include/pjsua-lib/pjsua.h:29, > > > from > > > > M:\Lancelot\Coding\Jasp\lib\pj-sip\pjsip-apps\src\pjsua\pjsua_app.c:19: > > > ../../pjlib/include/pj/types.h:60: error: syntax error > before "pj_size_t" > > > ../../pjlib/include/pj/types.h:60: warning: type > defaults to `int' in > > > declaration of `pj_size_t' > > > ../../pjlib/include/pj/types.h:60: warning: data > definition has no > > > type or storage class > > > > > > (...) > > > > > > There are many further errors, but except two of them, all refer to > > > the "pj_size_t" which seems to be declared within the stddef.h - but > > > that file isn't anywhere inside PJSIP's folders! :( > > > > > > So, I'd be glad, if someone can tell me what I'm doing wrong and how > > > to do it better.. :) > > > > > > -- > > > ===================== > > > = ~ Code is poetry ~ > > > ===================== > > > = Martin Baranski > > > = Eagle | Eagle3386 > > > = www.troublezone.net > > > = eagle3386@gmail.com > > > = +49 (0)160 93317843 > > > ===================== > > > > > > _______________________________________________ > > > Visit our blog: http://blog.pjsip.org > > > > > > pjsip mailing list > > > pjsip@lists.pjsip.org > > > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > > > _______________________________________________ > > Visit our blog: http://blog.pjsip.org > > > > pjsip mailing list > > pjsip@lists.pjsip.org > > > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > > > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > > -- ===================== = ~ Code is poetry ~ ===================== = Martin Baranski = Eagle | Eagle3386 = www.troublezone.net = eagle3386@gmail.com = +49 (0)160 93317843 =====================
A
atik
Tue, Nov 6, 2007 3:06 AM

On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski
eagle3386@googlemail.com wrote:

I apologize myself for asking this - but what is the "Win32 Macro"? Or

do you mean those #defines?
If so, this is what I got:

NDEBUG
PJ_WIN32=1
PJ_M_I386=1
WIN32
_CONSOLE

yes,

On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski <eagle3386@googlemail.com> wrote: > > I apologize myself for asking this - but what is the "Win32 Macro"? Or > do you mean those #defines? > If so, this is what I got: > > NDEBUG > PJ_WIN32=1 > PJ_M_I386=1 > WIN32 > _CONSOLE yes,
EI
Eagle I Martin Baranski
Tue, Nov 6, 2007 8:45 AM

2007/11/6, atik atik.khan@gmail.com:

On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski
eagle3386@googlemail.com wrote:

I apologize myself for asking this - but what is the "Win32 Macro"? Or

do you mean those #defines?
If so, this is what I got:

NDEBUG
PJ_WIN32=1
PJ_M_I386=1
WIN32
_CONSOLE

yes,

So, since I've done that already and because that file is just not
existing anywhere within PJSIP's folders, I don't know how to fix that

  • where can I get that file? An SVN checkout didn't gave me the file..
    :(

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843

2007/11/6, atik <atik.khan@gmail.com>: > On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski > <eagle3386@googlemail.com> wrote: > > > I apologize myself for asking this - but what is the "Win32 Macro"? Or > > do you mean those #defines? > > If so, this is what I got: > > > > NDEBUG > > PJ_WIN32=1 > > PJ_M_I386=1 > > WIN32 > > _CONSOLE > > yes, So, since I've done that already and because that file is just not existing anywhere within PJSIP's folders, I don't know how to fix that - where can I get that file? An SVN checkout didn't gave me the file.. :( > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- ===================== = ~ Code is poetry ~ ===================== = Martin Baranski = Eagle | Eagle3386 = www.troublezone.net = eagle3386@gmail.com = +49 (0)160 93317843 =====================
AT
Alain Totouom
Tue, Nov 6, 2007 9:08 AM

Hi,

include the path to the file "stddef.h" to your compiler include directory.
That will fix your problem!
That file is part of "Microsoft Visual Studio" or the "Platform SDK".
Just do a search on it and you are done ;o)

Alain

Eagle I Martin Baranski wrote:

2007/11/6, atik atik.khan@gmail.com:

On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski
eagle3386@googlemail.com wrote:

I apologize myself for asking this - but what is the "Win32 Macro"? Or

do you mean those #defines?
If so, this is what I got:

NDEBUG
PJ_WIN32=1
PJ_M_I386=1
WIN32
_CONSOLE

yes,

So, since I've done that already and because that file is just not
existing anywhere within PJSIP's folders, I don't know how to fix that

  • where can I get that file? An SVN checkout didn't gave me the file..
    :(

--
""
(o)(o)
o00o()o00o__
1024D/A9F85A52 2000-01-18 Dipl.-Ing. Alain Totouom totouom@gmx.de
PGP Fingerprint  DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52

Hi, include the path to the file "stddef.h" to your compiler include directory. That will fix your problem! That file is part of "Microsoft Visual Studio" or the "Platform SDK". Just do a search on it and you are done ;o) Alain Eagle I Martin Baranski wrote: > 2007/11/6, atik <atik.khan@gmail.com>: >> On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski >> <eagle3386@googlemail.com> wrote: >>>> I apologize myself for asking this - but what is the "Win32 Macro"? Or >>> do you mean those #defines? >>> If so, this is what I got: >>> >>> NDEBUG >>> PJ_WIN32=1 >>> PJ_M_I386=1 >>> WIN32 >>> _CONSOLE >> yes, > > So, since I've done that already and because that file is just not > existing anywhere within PJSIP's folders, I don't know how to fix that > - where can I get that file? An SVN checkout didn't gave me the file.. > :( > >> _______________________________________________ >> Visit our blog: http://blog.pjsip.org >> >> pjsip mailing list >> pjsip@lists.pjsip.org >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org >> > > -- "" (o)(o) ___o00o__(__)__o00o_____ 1024D/A9F85A52 2000-01-18 Dipl.-Ing. Alain Totouom <totouom@gmx.de> PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52
EI
Eagle I Martin Baranski
Tue, Nov 6, 2007 12:38 PM

2007/11/6, Alain Totouom alain.totouom@gmx.de:

Hi,

include the path to the file "stddef.h" to your compiler include directory.
That will fix your problem!
That file is part of "Microsoft Visual Studio" or the "Platform SDK".
Just do a search on it and you are done ;o)

Alain

Hi, thanks for that hint.

Though, since I neither installed Visual Studio nor the Platform SDK,
is this the only step I need to do or do I have to install Visual
Studio and/or the Platform SDK, too?

Thanks in advance,

Eagle I Martin Baranski wrote:

2007/11/6, atik atik.khan@gmail.com:

On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski
eagle3386@googlemail.com wrote:

I apologize myself for asking this - but what is the "Win32 Macro"? Or

do you mean those #defines?
If so, this is what I got:

NDEBUG
PJ_WIN32=1
PJ_M_I386=1
WIN32
_CONSOLE

yes,

So, since I've done that already and because that file is just not
existing anywhere within PJSIP's folders, I don't know how to fix that

  • where can I get that file? An SVN checkout didn't gave me the file..
    :(

--
""
(o)(o)
o00o()o00o__
1024D/A9F85A52 2000-01-18 Dipl.-Ing. Alain Totouom totouom@gmx.de
PGP Fingerprint  DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52


Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@lists.pjsip.org
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org

--

= ~ Code is poetry ~

= Martin Baranski
= Eagle | Eagle3386
= www.troublezone.net
= eagle3386@gmail.com
= +49 (0)160 93317843

2007/11/6, Alain Totouom <alain.totouom@gmx.de>: > Hi, > > include the path to the file "stddef.h" to your compiler include directory. > That will fix your problem! > That file is part of "Microsoft Visual Studio" or the "Platform SDK". > Just do a search on it and you are done ;o) > > Alain Hi, thanks for that hint. Though, since I neither installed Visual Studio nor the Platform SDK, is this the only step I need to do or do I have to install Visual Studio and/or the Platform SDK, too? Thanks in advance, > Eagle I Martin Baranski wrote: > > 2007/11/6, atik <atik.khan@gmail.com>: > >> On Nov 6, 2007 2:30 AM, Eagle I Martin Baranski > >> <eagle3386@googlemail.com> wrote: > >>>> I apologize myself for asking this - but what is the "Win32 Macro"? Or > >>> do you mean those #defines? > >>> If so, this is what I got: > >>> > >>> NDEBUG > >>> PJ_WIN32=1 > >>> PJ_M_I386=1 > >>> WIN32 > >>> _CONSOLE > >> yes, > > > > So, since I've done that already and because that file is just not > > existing anywhere within PJSIP's folders, I don't know how to fix that > > - where can I get that file? An SVN checkout didn't gave me the file.. > > :( > > > >> _______________________________________________ > >> Visit our blog: http://blog.pjsip.org > >> > >> pjsip mailing list > >> pjsip@lists.pjsip.org > >> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > >> > > > > > > -- > "" > (o)(o) > ___o00o__(__)__o00o_____ > 1024D/A9F85A52 2000-01-18 Dipl.-Ing. Alain Totouom <totouom@gmx.de> > PGP Fingerprint DA18 0DF2 FBD2 5F67 0656 452D E3A2 7531 A9F8 5A52 > > _______________________________________________ > Visit our blog: http://blog.pjsip.org > > pjsip mailing list > pjsip@lists.pjsip.org > http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org > -- ===================== = ~ Code is poetry ~ ===================== = Martin Baranski = Eagle | Eagle3386 = www.troublezone.net = eagle3386@gmail.com = +49 (0)160 93317843 =====================
PI
Perry Ismangil
Tue, Nov 6, 2007 1:57 PM

On 11/6/07, Eagle I Martin Baranski eagle3386@googlemail.com wrote:

Though, since I neither installed Visual Studio nor the Platform SDK,
is this the only step I need to do or do I have to install Visual
Studio and/or the Platform SDK, too?

Although you are not using Visual Studio, you will still need all the
SDK mentioned on the building pjsip docs.

Hope this helps.

--
Perry Ismangil
Mobile: +44 7761 179 575
http://www.pjsip.org

PJSIP LLP
23 Langdon Street, Sheffield S11 8BH, United Kingdom
T +44 114 299 8883 F +44 7092 216 3097
Registered in England no. OC323977

On 11/6/07, Eagle I Martin Baranski <eagle3386@googlemail.com> wrote: > > Though, since I neither installed Visual Studio nor the Platform SDK, > is this the only step I need to do or do I have to install Visual > Studio and/or the Platform SDK, too? > Although you are not using Visual Studio, you will still need all the SDK mentioned on the building pjsip docs. Hope this helps. -- Perry Ismangil Mobile: +44 7761 179 575 http://www.pjsip.org PJSIP LLP 23 Langdon Street, Sheffield S11 8BH, United Kingdom T +44 114 299 8883 F +44 7092 216 3097 Registered in England no. OC323977