winelib and mfc

Guilherme Kunz guiok at ig.com.br
Wed Sep 26 07:47:25 CDT 2001


I am trying use mfc to compile programs in Linux 
Well, i have compiled a part of mfc which is need to my VC6 application and 
the mfc and mfc+application are compiled without errors or undefined 
reference, but when i ran the program i saw this error: 

/winhelp: could not load library './winhelp.so' as Winelib application: 
cannot open shared object file: cannot load shared object file: No such file 
or directory 

Linking mfc: 
g++ -shared -rdynamic -Wl,-rpath,/usr/local/lib -Wl,-Bsymbolic -o libmfc.so  
afxcrit.o afxdbcs.o afxmem.o afxstate.o afxtls.o app3d.o apphelp.o 
apphelpx.o appinit.o appterm.o appui.o appui1.o appui3.o arcex.o auxdata.o 
cmdtarg.o dlgcore.o dlgtempl.o except.o filelist.o filest.o filex.o 
fixalloc.o list_p.o map_pp.o nolib.o objcore.o olelock.o plex.o thrdcore.o 
timecore.o wincore.o winfrmx.o wingdi.o winhand.o winmain.o winmenu.o 
winocc.o winstr.o winutil.o appcore.o arccore.o filecore.o strcore.o 
appmodul.o winfrm.o  libmfc.spec.o     -L/usr/local/lib -lwine 
-lwine_unicode -lwine_uuid -lm -lmsvcrt 

to make this things i used the winemaker and the last version wine by CVS. 

Thank You. 
Guilherme Kunz 
guiok at ig.com.br 

_________________________________________________________
Oi! Você quer um iG-mail gratuito?
Então clique aqui: http://registro.ig.com.br/





More information about the wine-users mailing list