Ok, so it must be something specific to my build configuration, when I have time I'll look into it deeper.

But I don't think it's unreasonable for files to include the headers that define the symbols they use so maybe worth adding stdlib.h to the files that need it?

Robert.

On 03/12/2015 03:32 PM, Deanna Earley wrote:

I briefly tried with gnu make and had all sorts of issues.

Using nmake (with some bodging of my makefile for specific paths) worked fine.

This is my build.bat:

set lib=c:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\;c:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\lib\

call genWindowsMakefiles

cd liveMedia

nmake /B -f liveMedia.mak

cd ..\groupsock

nmake /B -f groupsock.mak

cd ..\UsageEnvironment

nmake /B -f UsageEnvironment.mak

cd ..\BasicUsageEnvironment

nmake /B -f BasicUsageEnvironment.mak

cd ..\testProgs

nmake /B -f testProgs.mak

cd ..\mediaServer

nmake /B -f mediaServer.mak

cd ..

--

*Deanna Earley |* Lead developer *| **icatcher**cctv*

**

w: _www.icode.co.uk/icatcher <http://www.icode.co.uk/icatcher>_| t: 01329 835335 | f: 01329 835338

Registered Office : 71 The Hundred, Romsey, SO51 8BZ. Company Number : 03428325

*From:*live-devel [mailto:[email protected]] *On Behalf Of *Robert Smith
*Sent:* 12 March 2015 13:29
*To:* LIVE555 Streaming Media - development & use
*Subject:* Re: [Live-devel] Windows build - undefined symbols

Ok it's probably my and issue with my build configuration. I am using gnu make so created a 'config.windows' and generate the make files with './genMakefiles windows'

(Actual error message is 'identifier not found')
symbols are:

RTSPCommon.cpp: strtol
UsageEnvironment.cpp: abort
testMP3Streamer.cpp: exit

The only points in the library source where I can find stdlib.h included is groupsock/include/NetCommon.h and liveMedia/rtcp_from_spec.h.

NetCommon.h doesn't include stdlib.h for non unix platforms.

So presumably these files are depending on <stdlib.h> or <cstdlib> being included by other VC++ headers.

On 03/12/2015 11:29 AM, Ross Finlayson wrote:

        On Mar 12, 2015, at 11:22 PM, Robert Smith <[email protected]
        <mailto:[email protected]>> wrote:

        The following files need to include the <stdlib.h> or
        <cstdlib> header:

        UsageEnvironment/UsageEnvironment.cpp
        liveMedia/RTSPCommon.cpp
        testProgs/testMP3Streamer.cpp

        Otherwise building with VC++ complains about undefined symbols.

    Nobody else has complained about this.

    What specific symbols does your VC++ think are undefined?

    Ross Finlayson
    Live Networks, Inc.
    http://www.live555.com/





    _______________________________________________

    live-devel mailing list

    [email protected]  <mailto:[email protected]>

    http://lists.live555.com/mailman/listinfo/live-devel



_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

_______________________________________________
live-devel mailing list
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel

Reply via email to