Search found 5 matches

by jmadom
Wed Dec 09, 2015 11:25 am
Forum: Compiler / Linking / IDE Related
Topic: Cygwin error (undefined reference to `_IID_IPersistFile')
Replies: 6
Views: 5562

Re: Cygwin error (undefined reference to `_IID_IPersistFile')

on following post i put a path to solve compile probles with wxWidgets on cygwin https://forums.wxwidgets.org/viewtopic.php?f=19&t=36040&p=168576#p168576 Basically problem is libuuid-devel is installed on cygwin environment and put new libraries and header files to uuid development. When gcc...
by jmadom
Wed Dec 09, 2015 11:20 am
Forum: Compiler / Linking / IDE Related
Topic: Problem compiling wxMSW 2.8.12
Replies: 7
Views: 4410

Re: Problem compiling wxMSW 2.8.12

I update LDFLAGS on previous patch with a complete configure.cygwin to get wxwidgets compile sucessfully and avoid undefined references for _IID_IPersistFile on linking with uuid library $ cat configure.cygwin export CPPFLAGS='-w -fpermissive -D__USE_W32_SOCKETS'; export LDFLAGS='-L /lib/w32api/'; ....
by jmadom
Wed Dec 09, 2015 11:04 am
Forum: Compiler / Linking / IDE Related
Topic: Problem compiling wxMSW 2.8.12
Replies: 7
Views: 4410

Re: Problem compiling wxMSW 2.8.12

I attach patch to make wxWidgets 2.8.10 compile on latest version of cygwin 2.2.0 This patch fixes two bugs: * Avoid includes of direct.h * Fix a bug on GetCommandLine Implementation of cygwin (1.7.22 or above) and parse cmdLine form WinMain params * Fix a issue on treectrl.cpp (i think is a wrong d...
by jmadom
Mon Sep 30, 2013 8:24 am
Forum: Compiler / Linking / IDE Related
Topic: Problem compiling wxMSW 2.8.12
Replies: 7
Views: 4410

Re: Problem compiling wxMSW 2.8.12

I attach patch to make wxWidgets 2.8.10 compile on latest version of cygwin 1.7.25

This patch fixes two bugs:

* Avoid includes of direct.h
* Fix a bug on GetCommandLine Implementation of cygwin (1.7.22 or above) and parse cmdLine form WinMain params

I expect patch works for 2.8.12 and above
by jmadom
Thu Sep 26, 2013 7:29 am
Forum: Compiler / Linking / IDE Related
Topic: Problem compiling wxMSW 2.8.12
Replies: 7
Views: 4410

Re: Problem compiling wxMSW 2.8.12

problem is wrong defines on code change defined(__MINGW32_MAJOR_VERSION) && __MINGW32_MAJOR_VERSION >= 1) for defined(__MINGW32_MAJOR_VERSION) && __MINGW32_MAJOR_VERSION >= 1 Please note that direct.h not exists on cygwin environment, is a mingw include. please apply patch from 2.8.0...