Closed mauriziobortolin closed 3 years ago
Hi I try to compile source code for windows environment using the guide
https://github.com/wareck/cgminer-gekko/blob/master/windows-build.txt
If I use the first method : Native WIN32 setup and build instructions (on mingw32/Windows) There are some problem with curl library.
Using this guide
https://bitcointalk.org/index.php?topic=1112039
Same problem. When installing the last curl library i not found this file
MinGW\lib\pkgconfig\libcurl.pc
this file is not present in the release build of curl library.
If I use the second method : Cross-compiling for Windows from Linux (on Ubuntu 20.04 LTS)
When I must install
sudo apt-get install mingw32
mingw32 package is not find and I must install the mingw64.
When I must install curl library the version 33 is not present. I install last version 77. Then when I execute this command:
CPPFLAGS="-Ipwd/../../cgminer-win32-deps/include" LDFLAGS="-Lpwd/../../cgminer-win32-deps/lib -lcurldll" ../autogen.sh --prefix=/usr/local/i586-mingw32 --host=i586-mingw32msvc --build=i686-linux
pwd
The operation failed with the message
/usr/bin/ld : cannot find -lcurldll
I try run this command
CPPFLAGS="-Ipwd/../../cgminer-win32-deps/include" LDFLAGS="-Lpwd/../../cgminer-win32-deps/lib" ../autogen.sh --prefix=/usr/local/i586-mingw32 --host=i586-mingw32msvc --build=i686-linux
This command is ok but then when i try to make I have the problem with other library libjansson:
/usr/bin/ld : unrecognized option '--enable-auto-image-base'
I think the first method is more complicate because the instruction refear to old version of package and O.S. For compile using second method how library is necessary? Or what is wrong in procedure?
Sorry i download last version with correct instruction windows binary
Hi I try to compile source code for windows environment using the guide
https://github.com/wareck/cgminer-gekko/blob/master/windows-build.txt
If I use the first method : Native WIN32 setup and build instructions (on mingw32/Windows) There are some problem with curl library.
Using this guide
https://bitcointalk.org/index.php?topic=1112039
Same problem. When installing the last curl library i not found this file
MinGW\lib\pkgconfig\libcurl.pc
this file is not present in the release build of curl library.
If I use the second method : Cross-compiling for Windows from Linux (on Ubuntu 20.04 LTS)
When I must install
sudo apt-get install mingw32
mingw32 package is not find and I must install the mingw64.
When I must install curl library the version 33 is not present. I install last version 77. Then when I execute this command:
CPPFLAGS="-I
pwd
/../../cgminer-win32-deps/include" LDFLAGS="-Lpwd
/../../cgminer-win32-deps/lib -lcurldll" ../autogen.sh --prefix=/usr/local/i586-mingw32 --host=i586-mingw32msvc --build=i686-linuxThe operation failed with the message
/usr/bin/ld : cannot find -lcurldll
I try run this command
CPPFLAGS="-I
pwd
/../../cgminer-win32-deps/include" LDFLAGS="-Lpwd
/../../cgminer-win32-deps/lib" ../autogen.sh --prefix=/usr/local/i586-mingw32 --host=i586-mingw32msvc --build=i686-linuxThis command is ok but then when i try to make I have the problem with other library libjansson:
/usr/bin/ld : unrecognized option '--enable-auto-image-base'
I think the first method is more complicate because the instruction refear to old version of package and O.S. For compile using second method how library is necessary? Or what is wrong in procedure?