[Wine] Problems in Compiling MFC

suse wineforum-user at winehq.org
Tue Feb 17 04:09:32 CST 2009


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() attempted on invalid dirhandle DIRECTORY at /usr/local/bin/winemaker line 1054.
Scanning the source directories...
closedir() attempted on invalid dirhandle DIRECTORY at /usr/local/bin/winemaker line 607.
closedir() attempted on invalid dirhandle DIRECTORY at /usr/local/bin/winemaker line 607.
closedir() attempted on invalid dirhandle DIRECTORY at /../winemaker line 607.
closedir() attempted on invalid dirhandle DIRECTORY at /../winemaker  line 607.
closedir() attempted on invalid dirhandle DIRECTORY at /../winemaker  line 607.
Fixing the source files...
  BiCubicInterpolation_CPU_Video.cpp
  BiCubicInterpolation_OpenGL_Common.cpp
  BiCubicInterpolation_OpenGL_Video.cpp
  BindDC_OpenGL.cpp
  InputBox.cpp
  Source_Files/BiCubicInterpolation_CPU_Video.cpp
  Source_Files/BindDC_OpenGL.cpp
  Source_Files/ChildView.cpp
  Source_Files/InputBox.cpp
  Source_Files/MainFrm.cpp
  Source_Files/MyCmdLineInfo.cpp
  Source_Files/TestApp.cpp
  Resource_Files/SingleAlg_CPU_Video.rc
  BiCubicInterpolation_OpenGL.h
  BiCubicInterpolation_OpenGL_Common.h
  BindDC_Common.h
  Header_Files/ChildView.h
  Header_Files/InputBox.h
  Header_Files/MainFrm.h
  Header_Files/MyCmdLineInfo.h
  Header_Files/Resource.h
  Header_Files/TestApp.h
  Header_Files/stdafx.h
  MyCmdLineInfo.h
  Resource_Files/res/SingleAlg_CPU_Video.rc2
  Source_Files/stdafx.cpp
  readImage.h
  dicom_io.h
  SingleAlg_CPU_Video.rc
warning: In non-MFC projects, winemaker replaces the MFC specific header 'afxres.h' with 'winres.h'
warning: the above warning is issued only once
Generating project files...


2) when the "make" command is given, this is how the output looks like



admin at XXX:~/.wine/drive_c/windows/system32/MFC> make
wineg++ -shared dicom_io.dll.spec -mno-cygwin -o dicom_io.dll.so        -lodbc32 -lole32 -loleaut32 -lwinspool -luuid
winegcc: File does not exist: dicom_io.dll.spec
make: *** [dicom_io.dll.so] Error 2


3) Can u please let me know how to create solve problem regarding .spec and .so files

4) Should i install wine through source archive or RPM installation is sufficent to compile any MFC???
Please help me out  [Rolling Eyes]  [Crying or Very sad]   [Exclamation]  :x

thank u in advance







More information about the wine-users mailing list