[pcre-dev] [Bug 698] New: ncurses library not added when lin…

Inizio della pagina
Delete this message
Autore: Daniel Bergström
Data:  
To: pcre-dev
Nuovi argomenti: [pcre-dev] [Bug 698] ncurses library not added when linking pcretest
Oggetto: [pcre-dev] [Bug 698] New: ncurses library not added when linking pcretest
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=698
           Summary: ncurses library not added when linking pcretest
           Product: PCRE
           Version: N/A
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: bug
          Priority: medium
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: daniel@???
                CC: pcre-dev@???



Compiling PCRE 7.6 on a Windows XP SP2 with Microsoft Visual Studio 2008.

When linking the pcretest utility, and the ncurses library is specified, it is
not added to the list of libraries to link with. The library was added using
the NCURSES_LIBRARY:FILEPATH option to cmake. However, if replacing the line
below in CMakeList.txt:183:

SET(PCRETEST_LIBS ${READLINE_LIBRARY})

with

SET(PCRETEST_LIBS ${READLINE_LIBRARY} ${NCURSES_LIBRARY})

it links successfully.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email