Displaying 20 results from an estimated 2000 matches similar to: "winelib and compiling MFC"
2001 Feb 22
2
afx.h... configure: error: Could not find the MFC includes
This is driving me nuts. I'm trying to compile an MFC application using
WINE. I can specify the location of the ATL includes and configure is
quite happy but it chokes when I give it the MFC includes in the same way:
./configure --with-atl-includes=/home/wade/VC98/atl/Include
--with-mfc-includes=/home/wade/VC98/mfc/Include
Wassup? I'm using
Winemaker 0.5.5
And wine
2001 Mar 12
1
winelib + MFC
I am trying to port an MFC app to Linux using winelib. Can someone please
give me a pointer or two??? I have looked at section 4 of the online
documentation and not much were mention there.
Thanks for help in advane.
-Carl
2001 Jul 10
1
winelib and no mfc
Hi,
I have assumed that if I want to use winelib for porting, I must compile MFC under Linux regardless if my app uses MFC or not. Is this true? It seems like if I have to compile MFC and yet I don't use it, I should choose another alternative to port my app since the process of getting MFC to compile is extensive.
Also, my app involves video compression for internet use. Should I expect a
2001 Jun 30
3
winelib runs but wine ok.... Why??
Hi all,
I have a small program (~10k lines) that just uses elementry API (like
SendMessage). It compiles under Borland C++ Builder 5.5.1 (for win exe)
and under g++ with winlib. The problem is that the Builder EXE runs
perfectly with WINE __BUT__ the library built with winlib does not run -
spits out a segmentation faul @ line 400 (whatever that means) and some
Error 139 with nothing else.
All
2009 Sep 03
4
build wine dll problem
I am trying to follow the instructions here (http://www.winehq.org/docs/winelib-guide/bindlls-wrapper) to build a dll with wine that i can load dynamically in a windows wine application.
this is what i am doing:
MyWinDll.spec
Code:
2 stdcall MyWinFunc (int) MyProxyWinFunc
MyWin.c
Code:
#include <windef.h>
short MyProxyWinFunc(int *i)
{
return 5;
}
shell
Code:
winemaker --nosource-fix
2001 May 17
1
makefile converter
Hey,
Does anyone know of any VC++ to UNIX/LINUX makefile converter? If
there is anything in the works or should I just bit the bullet and write
my own script?
Thanks,
Joe
2001 Jul 10
0
Compiling MFC with Winelib - was Need advice porting app
I've changed the message thread to compiling MFC with Winelib because
I believe that is the real essence of my issue at hand. If I can
figure out how to compile MFC then I will have solved my dillemma of
which way to choose in porting my app to Linux. If I can't then I can
use the only path available.
So, there is a big vacant spot in the WineLib users guide for
compiling MFC. I've
2001 Jul 18
2
winelib and msvcrt/stdio.h
Hi,
I am using Winelib and no mfc to get a company app to run on Linux. It is a cuiexe as well.
However, I get a lot of errors when I include <msvcrt/io.h>.
e.g.,
/usr/include/wine/msvcrt/stdio.h:66: syntax error before '('
This line is:
typedef struct MSVCRT(_iobuf)
Is it possible to do this with C/C++? I am assuming it is a Windows thing. My version of wine is:
2001 Aug 19
1
Using MFC in wine
Hello all,
I'm writing a program for windows. I've made a cross compiler, gotten some
source together, and am looking to compile it. I'd like to use the microsoft
foundation classes to do this. Are they included with wine? How would I
include them for use in my program?
2009 Feb 17
5
Problems in Compiling MFC
1) i'm facing problem while compiling MFC code
when "winemaker" command is given i get these lines
admin at XXX:~/.wine/drive_c/windows/system32/MFC> winemaker --lower-uppercase .
Winemaker 0.6.0
Copyright 2000 Francois Gouget <fgouget at codeweavers.com> for CodeWeavers
closedir() attempted on invalid dirhandle DIRECTORY at /usr/local/bin/winemaker line 1054.
closedir()
2002 Oct 31
1
winelib: porting Delphi apps
Just a (probably crazy) thought: What about porting Windoze apps that
aren't written in C? I've got a Delphi application that currently runs
under Virtual PC under OS 9.2 on an eMac (PPC Processor), which would
run much faster without those OS layers in between. I don't really have
a clue as to whether this really far-out-whacky or not cuz I am not
really a Delphi, or, for that matter,
2005 Jan 22
0
Re: Compiling the MFC using Winelib
Well, from my recent experience with Winelib, I can tell you this:
Winemaker currently sucks, and the makefiles it creates are
nonfunctional and you'll have to redo them by hand anyway.
Yeah. If I knew anything about how to fix it I just might be tempted to
do so :)
Thanks,
Scott Ritchie
On Sat, 2005-01-22 at 13:19 -0800, Dan Dennison wrote:
> Building MFC for winelib has been
2001 Sep 26
0
winelib and mfc
I am trying use mfc to compile programs in Linux
Well, i have compiled a part of mfc which is need to my VC6 application and
the mfc and mfc+application are compiled without errors or undefined
reference, but when i ran the program i saw this error:
/winhelp: could not load library './winhelp.so' as Winelib application:
cannot open shared object file: cannot load shared object file:
2001 Jul 23
1
msvcrt/io.h and winelib, wine-users digest, Vol 1 #596 - 3 msgs
> You should not need to copy any header from windows. If you need to
>do so then it's a Wine bug (well, there are probably still a couple of
>missing headers, let us know about it when you find one).
All right, what about stdio.h and wctype.h, which stdio.h requires? Do we use the Linux stdio.h instead?
_____________________________________________________________
Sign up
2001 Sep 14
0
MFC+winelib
Hello all,
Some days ago I decided to try to compile MFC under wine.
I've read all wine mailing threads about this, did some exploration
myself, and now have some questions:
1. Does anybody out there have generated Makefile for MFC under wine?
It could save me much time in the beginning, so I don't have to
hand-correct winemaker generated files.
So maybe a kind soul that
2001 Jul 09
0
compiling winelib and running configure
>'./configure --with-wine=/usr/bin \
>--with-wine-includes=/usr/include/wine \
>--without-wine-libraries \
>--prefix=./noarch \
>--exec-prefix=./linuxarch \
>--with-x \
>--cache-file='winemaker_config.txt'
>It exits and returns
>'configure: warning: --with-wine-includes=/usr/include/wine: invalid host type
>configure: error: can only configure for one
2001 Jul 09
1
winelib problems with .configure
I am attempting to use winemaker on a relatively straightforward
Windows App that we have. Just a little background, we started the
effort by first evaluating our application in Wine itself and obtained
very good results. Now, we're moving on to try and compile a version
for Linux by using Winelib and running into this problem. I ran
winemaker with this: winemaker --lower-all which finished
2001 Apr 03
2
compiling with winelib
It' s possible to statically link WineLib to my program?
2010 Jun 09
2
Help with simple dll wrapper around linux so
Ive recently got metatrader to work on linux uner wine and would now like to see if i can import a dll wrapper so i can use some code i wrote in linux. Im trying something like this (based on http://www.winehq.org/docs/winelib-guide/bindlls) :
add.c:
Code:
int add(int a,int b) {
return a+b;
}
add.h:
> int add(int,int);
WinAdd.c:
WinAdd.c:
Code:
#include <windef.h>
#include
2001 Jul 24
1
winelib
Hello,
My version of wine is wine-20010510-1. Do I need to make any changes to the wine headers? I get errors from winsock.h and winsock2.h often. Then I try fixing it in the file, since it seems easy but then it causes problems elsewhere.
E.g.,
/usr/include/wine/winsock2.h:92: field 'Address' has incomplete type
I noticed winsock 2 has a FIXME: Still missing required Winsock 2