Displaying 20 results from an estimated 200 matches similar to: "Compiling winelib dependant code with g++"
2007 Mar 19
1
Wine runs only once per X-session
I can run wine only once without booting the X server. Even winecfg is
enough for this. I am able to run native games as many times as I want,
but after running wine even these don't work right (end up with a black
screen).
Any hints on how I could resolve this problem or find out more about is
is appreciated. I have tried to google the X error and go through wine
and nvidia lists, but
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:
$
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,
2014 Jan 08
5
hivex: Make node names and value names with embedded null characters accessible
On Windows, there exist at least two APIs for dealing with the
Registry: The Win32 API (RegCreateKeyA, RegCreateKeyW, etc.) works
with null-terminated ASCII or UTF-16 strings. The native API
(ZwCreateKey, etc.), on the other hand works with UTF-16 strings that
are stored as buffers+length and may contain null characters. Malware
authors have been relying on the Win32 API's inability to
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
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
2014 Jan 13
0
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
On Sat, Jan 11, 2014 at 12:12:46AM +0100, Hilko Bengen wrote:
> ---
> images/README | 14 ++++++++++++
> images/mkzero/Makefile | 9 ++++++++
> images/mkzero/mkzero.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++
> images/special | Bin 0 -> 8192 bytes
> 4 files changed, 82 insertions(+)
> create mode 100644 images/mkzero/Makefile
>
2006 Jul 14
0
ld -r failed with status 256
Hi,
I'm trying to compile (windows) cpp-sources on a Sun Fire X2100 using
wineg++.
I have managed that all sources are compiled without complain, but
finally
ld aborts with an error message about i386 and x86-64 architecures.
Any idea, what I should do?
thx,
teb
$wineg++ *.cpp
ld: Relocatable linking with relocations from format elf32-i386
(/usr/lib/wine/libwinecrt0.a(exe_entry.o)) to
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
2014 Jan 08
0
Re: hivex: Make node names and value names with embedded null characters accessible
On Wed, Jan 08, 2014 at 01:26:23AM +0100, Hilko Bengen wrote:
> On Windows, there exist at least two APIs for dealing with the
> Registry: The Win32 API (RegCreateKeyA, RegCreateKeyW, etc.) works
> with null-terminated ASCII or UTF-16 strings. The native API
> (ZwCreateKey, etc.), on the other hand works with UTF-16 strings that
> are stored as buffers+length and may contain null
2014 Jan 14
2
Re: [PATCH 1/7] Add a minimal hive with "special" keys and values
Hi Hilko,
Thanks a lot for creating this test hive!
I think another thing that will trip up Registry programs is value names
that include back slashes. For example, under the System hive, the key
"\MountedDevices" has child values with names like "\DosDevices\C:" (the
leading backslash is a part of the value name). There are many other
values that include backslashes. I
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
2019 Mar 03
0
Wine release 3.0.5
The Wine maintenance release 3.0.5 is now available.
What's new in this release (see below for details):
- Various bug fixes
The source is available from the following locations:
https://dl.winehq.org/wine/source/3.0/wine-3.0.5.tar.xz
http://mirrors.ibiblio.org/wine/source/3.0/wine-3.0.5.tar.xz
Binary packages for various distributions will be available from:
2009 Dec 15
1
Strange Winsock problem
Hello,
I try to port a small program (Windows resouces manipulation tool) on MacOSX, but I've a strange compilation problem :
Code:
wineg++ -c -I. -I/usr/local/include/wine -I/usr/local/include/wine/windows -o ExeIconManipulation.o ExeIconManipulation.cpp
/usr/include/sys/_select.h:47: error: declaration of C function ?int select(int, fd_set*, fd_set*, fd_set*, timeval*)? conflicts
2006 Jul 13
2
windows.h not found
Hi,
I've got a newly installed wine running on a Sun Fire X2100 and redhat.
Now I want to compile some cpp-sources, but wineg++ ist aborted because
it can't find the include windows.h. Is there a another include for
wine? Any help?
cheers
teb
2014 Jan 10
4
[PATCH] Add a minimal hive with "special" keys and values
---
images/README | 15 +++++++++++++++
images/mkzero/Makefile | 7 +++++++
images/mkzero/mkzero.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
images/special | Bin 0 -> 8192 bytes
4 files changed, 70 insertions(+)
create mode 100644 images/mkzero/Makefile
create mode 100644 images/mkzero/mkzero.c
create mode 100644 images/special
diff --git a/images/README
2004 Feb 07
0
Problems running MS Money 97
Hi,
I have done a lot of work to try to get it to run, but now I am stuck.
Following are the things I've tried.
Money 97 will install (after a long time) on both Crossover Office 2.1.0
and wine-20040121. When starting the program in both Crossover and
wine, an error dialog box is displayed when starting the program. The
text of the error message is:
"The path is not properly set up
2001 Mar 23
1
-debugmsg trace+all gives assertion error
Trying to debug starcraft.exe I put on --debugmsg trace+all as part of
the wine options:
WINEPREFIX=~/.wine.starcraft/ wine --debugmsg trace+all -desktop 640x480 /mnt/d/Games/Starcraft/starcraft.exe
Wine is cvs version from march 21.
This is the last 20-30 lines from the debug log:
trace:profile:PROFILE_GetWineIniString ('wine','temp','c:\windows'): returning
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
2002 Nov 14
0
[Bug 436] New: SSH client API
http://bugzilla.mindrot.org/show_bug.cgi?id=436
Summary: SSH client API
Product: Portable OpenSSH
Version: 3.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: openssh-unix-dev at mindrot.org
ReportedBy: jensus at linux.nu
I would