search for: nomfc

Displaying 7 results from an estimated 7 matches for "nomfc".

2009 Sep 03
4
build wine dll problem
...at 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 --dll --single-target MyWin --nomfc . make I get the following error: Code: /usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main': (.text+0xa9): undefined reference to `WinMain' Why is it asking for a main function, i am trying to build a dll...
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 \ --with-wine-includes=/usr/include/wine \ --without-wine-libraries \ --prefix=./noarch \ --exec-prefi...
2010 Jun 09
2
Help with simple dll wrapper around linux so
...inAdd.c: WinAdd.c: Code: #include <windef.h> #include "add.h" int WINAPI WinAdd (int a,int b) { return add(a,b); } WinAdd.dll.spec: Code: 2 stdcall WinAdd (long long) WinAdd now, i have these all in a directory called test. I type: Code: winemaker . --nosource-fix --nomfc -iadd --single-target WinAdd -L"." (ive already compiled to libadd.so for linux), and then run Code: make And i get: Code: winegcc -o WinAdd.so add.o WinAdd.o -L. -ladd /usr/lib/wine/libwinecrt0.a(exe_main.o): In function `main': (.text+0xa0): undefined reference to...
2001 Feb 22
2
afx.h... configure: error: Could not find the MFC includes
This is driving me nuts. I'm trying to compile an MFC application using WINE. I can specify the location of the ATL includes and configure is quite happy but it chokes when I give it the MFC includes in the same way: ./configure --with-atl-includes=/home/wade/VC98/atl/Include --with-mfc-includes=/home/wade/VC98/mfc/Include Wassup? I'm using Winemaker 0.5.5 And wine
2001 Jul 10
0
Compiling MFC with Winelib - was Need advice porting app
...vacant spot in the WineLib users guide for compiling MFC. I've started to attempt doing it but without even a hint on where to start, I am up against a brick wall. I've started by going into the src directory of my MFC library from VC++ and done the winemaker and configure, both with the --nomfc options, and I am getting large amounts of errors on an attempt to even compile the first of the src files. Help is DEFINITELY appreciated.
2011 Jun 21
2
Using winemaker / building wine DLLs
...n Linux (I'm basically trying to wrap a Linux system call so that I can call it from a Windows program). So, I followed the guide at http://www.winehq.org/docs/winelib-guide/bindlls, and winemaker gave me a makefile. I ran winemaker with: winemaker --nosource-fix --dll --single-target MyLib --nomfc Running make produced errors related to 32/64-bit incompatibility, which persisted until I: 1. added -m32 to CEXTRA and 2. added an explicit target for .o files (since the implicit target doesn't use CEXTRA) This made the compile fail with errors about missing WinMain, which makes sense beca...
2001 May 22
0
Call for volunteers
...th) lex/yacc... * CreateIcon does not resize bitmaps #175: http://wine.codeweavers.com/bugzilla/show_bug.cgi?id=175 I did a similar fix somewhere some time ago. I can provide a sample application and I might be able to point you in the right direction. * winemaker: 'winemaker --nomfc' does not have the intended effect #227: http://wine.codeweavers.com/bugzilla/show_bug.cgi?id=227 * winemaker: Ignores the '--with-{mfc,wine}' options once they are cached #225: http://wine.codeweavers.com/bugzilla/show_bug.cgi?id=225 If you're familiar with autoconf a...