Build on Windows (MinGW/Msys) not linking with needed libraries.

Create issue
Issue #183 resolved
Former user created an issue

Automatic migration. Original reporter: "simpletoon"

On MSW when using configure/make to build with MinGW/MSys, the build goes perfectly fine except at the very beginning when building base. The code uses 'timeGetTime()', but does not link with 'winmm'. I manually change this in the generated 'src/Makefile' and changed:



LIBS = -lwinmm

Then the rest of CEGUI compiled successfully (except examples but that is another report)

Additionally the produced .pc file does not include winmm. This means that a user of the library will have to know that winmm is needed an manually add it. Instead of:

`pkg-config --cflags --libs blah`

he/she will have to do:

`pkg-config --cflags --libs blah` -lwinmm

On Windows platforms

Reproducibility: always

Comments (1)

  1. Log in to comment