Displaying 20 results from an estimated 2000 matches similar to: "WineLib and Static Libs"
2001 Nov 19
3
WineLib Seg Fault?
A question for the WineLib guru's :)
I am using the wine-20011108 build with Mandrake 8.0 and with this
version of wine clean compiled and installed I can run several windows
programs very successfully :).
Then I use winemaker to create a WineLib 'so' file and the compile and
link again runs clean.
But when I run the resulting 'so' file using this command line:
$
2001 Aug 13
1
WineLib Linker Error?
I am doing some testing with WineLib and the 20010731 release
and am having some trouble with the final linkage. I have a
very simple test.cpp file and the following spec file:
name test
mode guiexe
type win32
import shell32.dll
import comdlg32.dll
import user32.dll
import gdi32.dll
import kernel32.dll
import ntdll.dll
and a hand crafted make file. When I run the make I get the
2001 Aug 15
1
WineLib Warning?
When compiling the following line of code using WineLib 20010731
you get a warning message.
// generates a warning
CompareString(LOCALE_USER_DEFAULT, dwFlags, s1, -1, s2, -1);
These warning relates to the defines found in
include/winbase.h file where we have:
UINT WINAPI CompareStringA(DWORD,DWORD,LPCSTR,DWORD,LPCSTR,DWORD);
UINT WINAPI
2009 Mar 26
1
Questions on winelib
Hi.
I'm currently starting the process of porting a windows based gaming engine (uses the windows API),to linux.
I have winelib (winemaker?) and have read through it's documentation but am still unsure what it's really for.
Is it possable to use winelib to assist me in porting this engine from windows to linux,is that what it's for?
If so,do I have to provide all nessesary
2001 Jul 06
2
winelib and compiling MFC
Hi,
The company I work for, has asked me to use winelib to port some code, however I have a problem compiling the MFC. I run
winemaker 0.5.7
with options:
'winemaker --lower-uppercase -nomfc --dll ./ > \ winemaker_output.txt'
No errors in file or stderror; further winemaker accesses the correct directories.
But when I run ./configure as:
'./configure --with-wine=/usr/bin \
2001 Jun 19
1
winelib setup problem
Any chance of some help please?
I have just started trying to get WineLib working on my machine, after
playing with wine for several months.
I am starting slowly. The BASIC hello, world. (no graphics, no Microsoft
etc)
I run winemaker and configure (with -L/usr/local/lib)
make generates
./hw2.spec:7: could not open .so file for advapi32.dll
I am aware of the discussion in January (compiling
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 Mar 09
1
winelib
Has anyone have any succes in building a Windows application, on Linux,
using winelib???
I followed the steps in the online documentation and didn't work. I used
winemaker to create some of the configuration files. I then ran ./configure
to generate the Makefile and then I ran make. It compiled the sources fine
and it also created the binary. But the binary file is nothing but a link
to
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
2004 Apr 12
1
Winelib rookie...
Hi!
I'm trying to port a windows code to linux via
winelib. After running winemaker I get the project
files and run ./configure. At a certain point the
following message appears on the console:
checking for windef.h... configure: error: Could not
find the Wine headers (windef.h)
I have the windef.h file in a irectory named
/usr/include/wine/windows/.
Do I need to setup any environment
2008 May 04
1
Winelib and windows.h
I installed winelib and ran winemaker on my project.
But running the makefile fails because it doesn't know where windows.h (or any other the other windows includes are)
How do I resolve this issue? Am I supposed to set the include path to windows.h on my windows drive?
2008 Dec 16
1
My first winelib app - where am I going wrong?
I eventually want to write a Linux application that can load Windows DLLs using winelib (I can do that, right?) but to start off, I just wanted to do a little Hello World test. Here's what I've got:
main.c
Code:
#include <windows.h>
int main(int argc, char** argv) {
MessageBox(NULL, "Hello world.", "Hello", MB_OK);
return 0;
}
This compiles fine
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
2004 Nov 01
1
source level debugging with WineLib?
Hello,
We just started using WineLib, and have very basic question:
which -g??? option do you use to do source level debugging
with winedbg?
I searched the documentation and mailing list for any step-by-step
about this, but found nothing. So either the answer is so obvious
that I just can't see it - or it doesn't work?
By default, winemaker seems configure things for no debug - so
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 Jun 19
1
winelib with a dll
Sorry to bug you all, but I want to know if I am trying to do something
impossible.
I am trying to use winelib to compile an exe that links to a dll, without
compiling the dll under winelib (i.e. the equivalent of simply linking in
the .lib).
I have a win32 DLL project (hw5) that generates a hw5.lib, hw5.dll and
hw5.h under M$.
I have a win32 gui exe project (hw6) that includes hw5.h, links to
2001 Aug 14
3
questions about winelib
I need to write a win32 program. However, my workstation is a Linux box. I was goingto
create a cross compiler
and compile my code and run it on wine... However, I heard about winelib,
and allegedly I can just use winelib and compile on my linux box using
good ol' gcc and it will just work. Is this true? If so how would I set
that up? Where can I find the docs?
2002 Jan 20
1
little problem with winelib...
hello everybody,
i have a slight problem, i want to write a wrapper around win32 binary dll and
use it with my *nix applications, and i have been through the winelib
documentation, and spent pretty much time trying to make a working wrapper, but
i can't seem to get it working (with and without prototyping the calls i seem to
get many "undefined reference to '....'"'s)...
2011 Jun 21
2
Using winemaker / building wine DLLs
Hi.
I'm not sure if this is the correct place for this question, or if the
wine-devel list is more appropriate; please let me know if I should ask
over there.
I'm trying to build, using winemaker/winegcc/etc, a DLL for use with a
Windows binary. This is a somewhat unusual case, in that this library is
actually explicitly being written for a Windows binary that will run in
Linux (I'm
2001 Jun 28
3
Porting with Winelib
Hi,
I am looking into good way to port Windows applications
to Linux and hopefully any other Unixes.
I'd like to know about questions below.
If anyone answer them, I'd appreciate it.
1. Can I use Winelib to port commercial application
whose sources will be not disclosed ?
2. Is it possible to link Winelib statically with an application and distribute it ?
3. In case that I