compilation for linux - problem

Paweł pjoleksik at gmail.com
Sat Jul 30 05:15:06 EDT 2016


On 29.07.2016 22:49, Benjamin Gilbert via openslide-users wrote:
> On Thu, Jul 28, 2016 at 06:44:22PM +0200, Paweł via openslide-users wrote:
>> /bin/sh ./libtool    --tag=RC --mode=compile windres -DHAVE_CONFIG_H -I.
>> -i "src/openslide-dll.rc" -o "src/openslide-dll.lo"
>> libtool: compile:  windres -DHAVE_CONFIG_H -I. -i src/openslide-dll.rc -o
>> src/.libs/openslide-dll.o
>> src/openslide-dll.rc:1:21: fatal error: winuser.h: No such file or directory
>>
>> Configuration seemed to go well (logs at the bottom) and system
>> (linux-gnu) has been guessed right.
>> Do I need any header from Windows?
>
> Hi Paweł,
>
> It seems the configure script arranges to build the Windows resources
> whenever windres is found in the PATH.  As a workaround, you can temporarily
> move or rename the windres binary before configuring.  Fix forthcoming.
>
> --Benjamin Gilbert

Hello Benjamin,
thank you for the answer. Indeed the project now complies with no other 
problems. IMHO the files can be removed completely since they are 
useless in linux.

Best regards
Paweł





More information about the openslide-users mailing list