Displaying 20 results from an estimated 2000 matches similar to: "Compilation error using winegcc"
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,
2006 Jun 18
2
Winelib Getting Started 1.3.2. Test Drive
Hello,
Would a wine developer please revisit this page
http://www.winehq.org/site/docs/winelib-guide/winelib-getting-started and
modify it to have a step by step guide to take a Linux box without wine nor
winelib to a running notepad exe built by the newbie (and not downloaded)?
Or if you are a wine-user, please provide such steps to this list.
As a newbie, the statement "It can be found
2007 Jun 17
2
Sending changes to winelib ?
I have a little program coded for windows, and I want to compile it using
winegcc.
Unfortunately, some functions are not implemented in winelib, and I have to
tweak some files. So, How do I submit those changes ? I found nothing on the
WineHQ site.
SO, if someone knows where to redirect me, I can do it alone!
___________________________________________________________________________
2009 Sep 03
2
wine advantages over mingw
What are the advantages of using winegcc over the mingw cross compiler?
Also, what are the differences in the header files / libs supplied with each ?
I have an app (http://www.autohotkey.com/forum/viewtopic.php?t=46546) cross compiling with mingw using codeblocks, and I have it working under winelib side by side native linux code.
I wanted to translate it so it would compile with winegcc so
2011 Jan 16
5
Winelib Calling POSIX function from Windows application
Suppose that I have Windows application using
Code:
LoadLibrary
followed by
Code:
GetProcAddress
It should be possible to load a library implemented in terms of POSIX function but I do not understand how. Should I load the dll.so file generated by winegcc or do i need a plain .dll file?[/code]
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
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
2010 Oct 24
3
winegcc on non-x86 system
yes, winegcc generates x86 output.
I ever conpiled it on a non-x86 box.
I did not remember whether the generated winegcc generated native code or x86 code.
e.g, how winegcc generates powerpc code.
2009 Mar 26
1
winegcc and 'undefined reference's for names from gdi32
Hello!
Problem with winegcc. Could you please write me where is my mistake?
t:~$ LANG=C make pc
winegcc -o inkdemo.pc src/*.c -linkview -lfreetype -ljpeg -lz
/usr/local/lib/libinkview.a(hw_emulator.o): In function `eink_waveform':
hw_emulator.c:(.text+0xa22): undefined reference to `SetBitmapBits'
hw_emulator.c:(.text+0xa73): undefined reference to `BitBlt'
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
2010 Oct 24
4
winegcc and g++
I failed to link a .so built with g++ to wine.
winegcc can not link g++ .o files to .so file.
how can I use c++ with wine?
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
2008 Nov 14
7
Wine on Solaris 10
Hi,
Can you tell me if Wine is supported on Solaris 10?
Regards
Col
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 Jul 19
1
GetModuleFileName in winelib DLLs
Hi,
I have the following problem - when I compile a DLL using winegcc and
call GetModuleFileName on it I get a name in "c:\windows\system",
regardless of the DLLs actual location. I have googled for it, and found
this thread
http://www.winehq.org/pipermail/wine-devel/2003-December/023224.html
which says that this behavior is needed for built-in DLLs. My problem is
that I'm
2011 Mar 15
3
COM header files required
Hello All,
I am using wine-1.3.0. When I try to compile my code using winegcc compiler, I get errors like "comdef.h not found".
I searched in wine installation location for COM related headers and found that they are not available.
Are these files available with latest version of wine?
Kindly help me out of this problem.
Regards,
Kiran
2010 Mar 25
4
CreateFile \\\\.\\x: non-root
Hello,
I have a usb data aquisition device interfaced by mass storage protocol. I open it like:
hEcgDrive=CreateFile("\\\\.\\g:",
GENERIC_READ | GENERIC_WRITE,
FILE_SHARE_READ | FILE_SHARE_WRITE,
NULL,
OPEN_EXISTING,
FILE_ATTRIBUTE_NORMAL | FILE_FLAG_NO_BUFFERING |
FILE_FLAG_WRITE_THROUGH | FILE_FLAG_OVERLAPPED,
NULL);
for communication I use
DeviceIoControl(hEcgDrive,
2008 Jun 14
1
Porting with winelib - undefined reference to `WinMain'
Hello!
I'm trying to port zCPU emulator (http://www.wiremod.com/forum/cpu-tutorials-programs/2956-zcpu-emulator.html) to Linux with winelib. This app is mainly console, but can draw some stuff using SDL. The problem is: compiles fine but when linking I get
Code:
/usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main':
exe_main.c:(.text+0x9d): undefined reference to `WinMain'
2005 Jul 21
1
urgent kindly help Samba please ----------
We want to setup Samba as a domain controllser on our 3 sites , we'll be
highly appreciated if you solve our queries :
1. Can Samba act as a backup domain server if incase Master Samba server is
down then Backup Samba server can take place . Same like Windows concept if
PDC is down then BDC will up automatically.
2. Can we configure SAMBA in that way that user can login from any location
in
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