Displaying 20 results from an estimated 10000 matches similar to: "windows program compiled using wineg++ looks for wine binary"
2012 Feb 04
1
winelib shared memory problem
Hi
I have two programs:
The first is a windows binary compiled in Visual C++ which acts like a Server.
The second program is a Client, which I compile from sources. Both are written in C++.
Server and client communicate using two IPC mechanisms: named pipe and shared memory. shared memory consists of a structure, e.g.:
Code:
struct GameData
Using mingw compiler Client compiles well. Then I
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,
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
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
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
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
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
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 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:
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
2009 Dec 14
2
FlexBuilder plugin (JAVA) with native windows dll calling
Hi,
I'm developping an Adobe FlexBuilder plugin (it's an Eclipse plugin).
This plugin is written in Java. But it use windows dlls that was created for some features of the plugin.
And I try to port my plugin on MacOSX.
I've one question about wine :
- In java I use System.LoadLibrary to load my dlls, does Wine can help me for loading theses dlls under MacOSX? Does wine can map these
2010 Jul 29
2
Include Wine in my project and using WinGDI under Linux.
Hy guys, I make my application for Windows/Linux/Mac and I have problem with next using:
I'm include in my project next headers:
#ifndef WNT
#include </tmp/include/windef.h>
#include </tmp/include/winbase.h>
#include </tmp/include/wingdi.h>
#include </tmp/include/winuser.h>
#include </tmp/include/winerror.h>
#endif
And It's cool working with libEMF.so, but
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
2006 Jun 26
2
Compilation error using winegcc
Hello!!
I am new user to Wine. I have downloaded Wine-0.9.15 sources on solaris box and tried to compile a simple "Hello World" program using WineLib. I am getting following error:
winegcc: -Wl,-G,-B,symbolic failed.
*** Error code 2
make: Fatal error: Command failed for target `helloworld.so'
Can anybody guide me as to what went wrong? I have following environment setup
2009 Jan 01
1
wineg++ and conio.h problem
Here is a sample code:
Code:
#include <iostream>
#include <cstdlib>
#include <wine/msvcrt/conio.h>
int main()
{
std::cout << "Press something...\n";
getch();
return EXIT_SUCCESS;
}
and here is the compile log: (two things are translated from polish so may differ a bit but meaning is the same)
Code:
szczerb at nomad ~/projekty/wine/temp $ make
wineg++ -c
2006 Jul 06
1
problems while compiling mfc applications with wine
Hi Everybody,
I Created a small application in VC++ MFC. The application displays
a messagebox on clicking a buttton.
This application I want to port on Linux version.
Iam using Linux ver. 9 and kernel version is 2.4.20-8. with WineLib
I copied all the source code from CD and I change the mode read /write
than
in the current directory i used winemaker command
user/sample>winemaker
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()
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
2003 Mar 09
1
winlib help - program hangs - one more
Just one more piece of info. The VC++ program that hangs when I'm
trying to run does not even enter its the main() function. I put several
printf statements inside main and they never get executed.
Regards ...
Jarek
"Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former."
- Albert Einstein
2006 Jul 07
1
Probelm with WINE and MFC application
Hi Everybody,
I Created a small application in VC++ MFC. The application displays
a messagebox on clicking a buttton.
This application I want to port on Linux version.
I am using Linux RedHat9.0 and kernel version is 2.4.20-8. with WineLib
I am following the guide lines given in Wine LIB User guide.
I copied all the source code from CD and I change the mode read /write
than in the current