Displaying 20 results from an estimated 2000 matches similar to: "winelib shared memory problem"
2009 Feb 21
2
Compiling Winelib application under x86_64
Hi All
I'm trying to compile the following program
int main()
{
return 0;
}
I generated a makefile using winemaker
running make I get
wineg++ -c -mno-cygwin -o test.o test.cpp
wineg++ -mwindows -mno-cygwin -o test.exe.so test.o -lodbc32 -lole32 -loleaut32 -lwinspool -luuid
ld: Relocatable linking with relocations from format elf32-i386
2008 Jul 03
1
windows program compiled using wineg++ looks for wine binary
Hi !
I have compiled a sample Windows VC++ win 32 based HelloWorld application using the winelib. I used wineg++ to compile the application in Linux. When I try to execute the application it looks for wine. When I set the path to the wine /bin directory the application works properly.
Is it possible that after compiling using wineg++ the program will run in any platform even if wine is not
2005 Aug 23
0
Compiling winelib dependant code with g++
wineg++ is using g++, and is passing its options to g++.
How can I link some winelib-dependant code with g++ ?
compilation is okay, but at linking time, all wine functions are unresolved.
// ### here's the output :###
[root@udp015809uds Wine2]# g++ -lwine registry.o registry_wrap.o -o registry.out
registry.o(.text+0x2e): In function `CreateKey(char const*)':
: undefined
2007 May 09
1
Porting a Win32 application using Winelib...
Hello,
I'm currently trying to use Winelib to port a fairly big
windows application to Linux. The application consists of
quite a lot of DLLs, some of which don't depend on the
Win32 API (they can be compiled with gcc).
I think I read all available documentation, but I still
have a few questions:
- is it possible to link a linux binary with "linux"
shared libs and
2003 Aug 19
1
Problems building dlls for use with winelib
Hi,
I am currently having trouble building the DLLs of an application ported
from Win32 to Winelib - compiling, thanks to some hints from Dimi O.
Paun, now works fine, only(?) the final linking step fails. Since
Winelib-documentation is unfortunately pretty outdated, I tried to
orientate myself on the makefiles of the Winelib dlls in the cvs
/wine/dlls/ directory. I tried the following
2011 Feb 13
1
no comdef.h while compiling ff-activex-host with winelib
Dear all,
While trying to port ff-activex-host to Linux with winelib, I got an
error as below:
$ make
wineg++ -c -O0 -W -mno-cygwin -I/home/fracting/wine-git/dlls/atl
-DWIN32 -D_WINDOWS -DXP_WIN32 -DMOZILLA_STRICT_API -DXPCOM_GLUE
-DXP_WIN -D_X86_ -DNPSIMPLE_EXPORTS -o GenericNPObject.o
GenericNPObject.cpp
In file included from GenericNPObject.cpp:36:
GenericNPObject.h:39: fatal error:
2008 May 18
2
problem build wine lib
This is my first post here, please excuse any incorrect terms etc. I have tried to follow chapter 5 of winelib-guild.pdf, but found winemaker does not correspond to the pdf.
I am using wine version 1.0-rc1. I am trying to call a Linux shared library from an unmodified windows C++ program using a ?C? interface to a DLL. I have built very simple test case that I would like help to compile. Sorry for
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
2009 May 24
1
directions for porting my own code using 3rd party dll
Hi
I have a c++ project Im working on under windows.
it uses a 3rd party library (ie, i have headers and dll).
mostly for development I'd like to be able to work on it under linux. and i thought that should be easy with wine.
but now i read through the Winelib User's Guide and Im somewhat lost.
its talking about winemaker and bad cases of filenames, generating makefiles and stuff.
Im
2008 Jan 24
2
Problems when compiling MFC application
<table cellspacing='0' cellpadding='0' border='0' ><tr><td style="font: inherit;"><font size="2">Dear All,</font><br>
<br>
<font size="2"> This is my first post on the wine organisation mailing lists, i would like to inform all of you i am using
2001 Nov 12
0
WineLib and Static Libs
I read the following on wine HQ:
Linking in .lib Files
....
You cannot use .lib files directly with Winelib. The reason is
that winebuild does not support reading .lib files. Support
for '.lib' files (or possibly even '.dll' files) could be
added in but it is not there currently.
Exactly how you deal with that depends on what your situation:
1.if you
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
2008 Jul 19
1
Re: Winelib: How can I compile a Borland C++ Builder application
N?stor Amigo Cairo wrote:
> Hi!
>
> I'm new to winelib. I'm trying to port a Borland C++ Builder 6.0
> application, but I need VCL library: vcl.h.
>
> Any ideas?? I would want to make it run natively on Linux.
You can't. Winelib still requires Wine to run it. It's a library not an executable. If you want to write native Linux application that can run by itself
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
2006 Mar 02
1
Error while compiling code using wineg++ / winegcc
Hi!!
I am not able to compile a test program on solaris using winegcc tool.
Can anybody help?
Here's the program source code:
// file test.cpp
#include <stdio.h>
#include <windows.h>
int main ()
{
SYSTEMTIME lpSystemTime;
GetSystemTime(&lpSystemTime);
printf("Today is: %d/%d/%d\n", lpSystemTime.wYear,
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 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
2008 Dec 15
1
WineLib and Java Native Interface (JNI) - UNIX
Hi All,
I have implemented a JNI library on window that call the C++ dll APIs.
Now I want my JAVA program is run on the UNIX system.
I have used WineLib to wrapper Window Dlls to the Share Object Lib (so lib) (Using Winedump and Winegcc to build).
The functions in the so lib can work normally with my C main test function.
BUT when I call it from Java. The function can linked BUT it is crashed at
2008 Aug 05
1
Winelib Test Drive
hi,
maybe somebody can help me.
At the moment I'm reading the "Winelib User's Guide" and I also tried out the "1.3.2. Test Drive".
Almost everything work. After changing the Makefile it compiled with no error.
this is my result when i start the created notepad2.exe.so
Code:
$ ./notepad2.exe.so
Segmentation fault
This is the user guide
2010 Dec 10
1
WineLib support for STL, I/Ocompletion and Critical Sections
Hi there
I'm trying to port a server app from Windows to Linux.
The Windows code uses STL, I/O completion ports and Critical Sections.
I wonder if winelib could give a good support for these features in order to decide if using winelib is viable or not.
I know Linux has STL, but it's not always compatible with the Windows implementation (hash_map, stdext, ...). Has winelib a Windows