Hello everyone,
Thank you all for your original help. Now I need to use winegcc/wineg++ to build winelib dlls, but I couldn't find any documents ans samples about such tasks. As a beginner in this field, I am eagerly hoping some clues or comments on these...
Best wishes.
-Lechun
--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
On Mon, 14 Jul 2003, dd jj wrote:
Now I need to use winegcc/wineg++ to build winelib dlls,
Unfortunately, this is not implemented at the moment. I plan to add support for building DLLs through winegcc, but I have to get back in the game after my extended vacation... :)
Hello Dimi,
Thank you for your answering, although I know your schedule is very tight, I still hope there's any clue about how to build wine dll using winegcc/wineg++ cause I deadly need these instructions...
Do you think it's a very similar procedure compared with building a shared library for linux? instead of different compiler :
gcc/winegcc, g++/wineg++.
I hope you can come from your extended vacation sooner :)
Thanks a lot.
-Lechun
"Dimitrie O. Paun" dimi@intelliware.ca wrote: On Mon, 14 Jul 2003, dd jj wrote:
Now I need to use winegcc/wineg++ to build winelib dlls,
Unfortunately, this is not implemented at the moment. I plan to add support for building DLLs through winegcc, but I have to get back in the game after my extended vacation... :)
From Dimi, I know winegcc/wineg++'s support for winelib dll building are not implemented now,
So now I have to resort to gcc to build winelib dll... Since what winegcc does is let gcc work with mingW features, I think I can use gcc directly to build winelib dll. I noticed there are lots of dlls provided by wine, it seems all these dlls are built from windows codes using gcc and complex make files.
Does anyone happen to know any samples or documents about how to build winelib dll from windows codes. I found the info provided by winehq.com is too limited.
Thanks a lot!
-Lechun
When I try to port a small application sample provided by winelib user's guild
enter winemine directory, type:
$winemaker -lower-uppercase . $./configure -with-wine=/usr/local/wine $make
It shows error when I run the second command ./configure
I get the error:
ng whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for sqrt in -lm... yes checking for iswalnum in -lw... no checking for gethostbyname... yes checking for connect... yes checking "for gcc strength-reduce bug"... no checking "whether external symbols need an underscore prefix"... no checking "whether we can build a Linux dll"... yes checking "whether we need to define __i386__"... no checking "for g++ -fpermissive option"... yes checking "for g++ -fno-for-scope option"... yes checking for windef.h... configure: error: Could not find the Wine headers (windef.h)
Could you please give comments on how to fix it? Thank you very much.
--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
--- dd jj xmen21cn@yahoo.com wrote:
When I try to port a small application sample provided by winelib user's guild
enter winemine directory, type:
$winemaker -lower-uppercase . $./configure -with-wine=/usr/local/wine $make
It shows error when I run the second command ./configure
I get the error:
ng whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for sqrt in -lm... yes checking for iswalnum in -lw... no checking for gethostbyname... yes checking for connect... yes checking "for gcc strength-reduce bug"... no checking "whether external symbols need an underscore prefix"... no checking "whether we can build a Linux dll"... yes checking "whether we need to define __i386__"... no checking "for g++ -fpermissive option"... yes checking "for g++ -fno-for-scope option"... yes checking for windef.h... configure: error: Could not find the Wine headers (windef.h)
Could you please give comments on how to fix it? Thank you very much.
I believe that you get that error when wine has not been fully installed. I have not used winemaker in several months and am not sure of this.
-- Jeff Smith
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Hello Jeff,
Thank you for answering. So do I need to reinstall WINE? It didn't show any error message when I install it. BTW, I used Redhat9.0 and WINE-20030618.
Wishes.
-Lechun
Jeff Smith whydoubt@yahoo.com wrote: --- dd jj wrote:
When I try to port a small application sample provided by winelib user's guild
enter winemine directory, type:
$winemaker -lower-uppercase . $./configure -with-wine=/usr/local/wine $make
It shows error when I run the second command ./configure
I get the error:
ng whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for sqrt in -lm... yes checking for iswalnum in -lw... no checking for gethostbyname... yes checking for connect... yes checking "for gcc strength-reduce bug"... no checking "whether external symbols need an underscore prefix"... no checking "whether we can build a Linux dll"... yes checking "whether we need to define __i386__"... no checking "for g++ -fpermissive option"... yes checking "for g++ -fno-for-scope option"... yes checking for windef.h... configure: error: Could not find the Wine headers (windef.h)
Could you please give comments on how to fix it? Thank you very much.
I believe that you get that error when wine has not been fully installed. I have not used winemaker in several months and am not sure of this.
-- Jeff Smith
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
You need to check where the wine headers are installed (if installed at all). Then there should be an option for the configure script to set the wine include directory and so on ... Check for the exact option using: configure --help.
Roderick
On Wednesday 16 July 2003 19:37, dd jj wrote:
Hello Jeff,
Thank you for answering. So do I need to reinstall WINE? It didn't show any error message when I install it. BTW, I used Redhat9.0 and WINE-20030618.
Wishes.
-Lechun
Jeff Smith whydoubt@yahoo.com wrote:
--- dd jj wrote:
When I try to port a small application sample provided by winelib user's guild
enter winemine directory, type:
$winemaker -lower-uppercase . $./configure -with-wine=/usr/local/wine $make
It shows error when I run the second command ./configure
I get the error:
ng whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for sqrt in -lm... yes checking for iswalnum in -lw... no checking for gethostbyname... yes checking for connect... yes checking "for gcc strength-reduce bug"... no checking "whether external symbols need an underscore prefix"... no checking "whether we can build a Linux dll"... yes checking "whether we need to define __i386__"... no checking "for g++ -fpermissive option"... yes checking "for g++ -fno-for-scope option"... yes checking for windef.h... configure: error: Could not find the Wine headers (windef.h)
Could you please give comments on how to fix it? Thank you very much.
I believe that you get that error when wine has not been fully installed. I have not used winemaker in several months and am not sure of this.
-- Jeff Smith
Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!
Hello
I add the header file directory as a augument with ./config -with-wine-includes=DIR,now it works. But when I type "make"
It shows the following error:
gcc -shared -Wl, -Bsymbolic -o winemine2.exe.so dialog.o main.o winemine2.exe.spec.o -lower-uppercase -lwine -lwine_unicode -lwine_uuid -lm /usr/bin/ld: cannot find -lower-uppercase collect2: ld returned 1exit status make: *** [winemine2.exe.so] Error 1
Does anyone can give me some hints here?
Thanks a lot
-Lechun
Jeff Smith whydoubt@yahoo.com wrote: --- dd jj wrote:
When I try to port a small application sample provided by winelib user's guild
enter winemine directory, type:
$winemaker -lower-uppercase . $./configure -with-wine=/usr/local/wine $make
It shows error when I run the second command ./configure
I get the error:
ng whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking for sqrt in -lm... yes checking for iswalnum in -lw... no checking for gethostbyname... yes checking for connect... yes checking "for gcc strength-reduce bug"... no checking "whether external symbols need an underscore prefix"... no checking "whether we can build a Linux dll"... yes checking "whether we need to define __i386__"... no checking "for g++ -fpermissive option"... yes checking "for g++ -fno-for-scope option"... yes checking for windef.h... configure: error: Could not find the Wine headers (windef.h)
Could you please give comments on how to fix it? Thank you very much.
I believe that you get that error when wine has not been fully installed. I have not used winemaker in several months and am not sure of this.
-- Jeff Smith
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
--------------------------------- Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month!