120 posts in this topic

Hi,

First of all, thank you tremendously for creating this guide, it has helped me considerably. You have well worded and succinct instructions here.

I am having the same problems as Kay2098 I believe, but I have more information to provide about the issue. I installed Miniupnpc precisely as the directions describe on two separate Windows 7 x64 machines.

While attempting to build, I got the following errors:

C:\photon>qmake "USE_UPNP=1" photon-qt.proWARNING: c:\photon\photon-qt.pro:26: Unescaped backslashes are deprecated.Project MESSAGE: Building with UPNP supportRemoved plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.WARNING: c:\photon\photon-qt.pro:26: Unescaped backslashes are deprecated.Project MESSAGE: Building with UPNP supportRemoved plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.WARNING: c:\photon\photon-qt.pro:26: Unescaped backslashes are deprecated.Project MESSAGE: Building with UPNP supportRemoved plural forms as the target language has less forms.If this sounds wrong, possibly the target language is not set or recognized.Removed plural forms as the target language has less forms.

Then, I proceeded to try and build anyway, just as Kay2098 did, I got the following error:

4.8.5\mkspecs\win32-g++" -o build\net.o src\net.cppsrc\net.cpp:18:32: fatal error: miniupnpc/[b]miniwget.h[/b]: No such file or directorycompilation terminated.mingw32-make: *** [build/net.o] Error 1

Finally, I checked my miniupnpc file and I actually see miniwget.h in that file. This would seem to indicate that it's not actually a problem with the miniupnpc installation, but rather some linking error or other issue.

I want to say I do believe I properly renamed the file to miniupnpc. Here is my "dir" of this directory, which shows the miniwget.h contained within it:

Directory of C:\deps\miniupnpc09/02/2014  05:12 AM    <DIR>          .09/02/2014  05:12 AM    <DIR>          ..01/31/2014  08:18 AM             3,626 apiversions.txt03/05/2012  03:37 PM            18,103 bsdqueue.h01/31/2014  08:18 AM            14,397 Changelog.txt01/31/2014  08:18 AM             6,124 CMakeLists.txt10/04/2012  05:34 PM             1,109 codelength.h08/01/2013  04:21 PM             6,320 connecthostport.c10/04/2012  05:34 PM               591 connecthostport.h09/02/2014  05:12 AM             1,693 connecthostport.o10/04/2012  05:34 PM               259 declspec.h09/02/2014  05:12 AM    <DIR>          dll08/05/2010  07:57 AM               153 external-ip.sh04/11/2011  04:19 AM             4,618 igd_desc_parse.c01/28/2013  05:10 AM             1,566 igd_desc_parse.h09/02/2014  05:12 AM             3,100 igd_desc_parse.o09/02/2014  05:12 AM                 7 init09/02/2014  05:11 AM    <DIR>          java09/02/2014  05:12 AM            45,520 libminiupnpc.a03/05/2012  03:37 PM             1,480 LICENSE01/31/2014  08:57 AM             9,501 Makefile01/31/2014  08:18 AM             2,501 Makefile.mingw09/02/2014  05:11 AM    <DIR>          man312/09/2010  11:41 AM                93 MANIFEST.in12/19/2009  07:04 AM               212 mingw32make.bat05/29/2012  08:03 AM            11,524 minihttptestserver.c01/21/2012  09:02 AM             3,527 minisoap.c10/04/2012  05:34 PM               498 minisoap.h09/02/2014  05:12 AM             1,402 minisoap.o03/05/2012  03:37 PM             3,153 minissdpc.c10/04/2012  05:34 PM               486 minissdpc.h09/02/2014  05:12 AM               761 miniupnpc - Shortcut.lnk12/13/2013  07:22 AM            28,799 miniupnpc.c01/31/2014  08:18 AM               926 miniupnpc.def01/31/2014  08:57 AM             3,831 miniupnpc.h09/02/2014  05:12 AM             9,547 miniupnpc.o01/31/2014  08:18 AM            15,484 miniupnpcmodule.c09/02/2014  05:12 AM               514 miniupnpcstrings.h01/28/2013  05:10 AM               178 miniupnpcstrings.h.cmake01/28/2013  05:10 AM               495 miniupnpcstrings.h.in10/04/2012  05:34 PM               610 miniupnpctypes.h10/07/2013  05:07 AM            14,830 miniwget.c10/04/2012  05:34 PM               700 miniwget.h09/02/2014  05:12 AM             4,979 miniwget.o03/05/2012  03:37 PM             5,379 minixml.c10/04/2012  05:34 PM             1,179 minixml.h09/02/2014  05:12 AM             1,502 minixml.o05/01/2012  03:11 PM             3,534 minixmlvalid.c09/02/2014  05:11 AM    <DIR>          msvc05/29/2012  05:26 AM             3,542 portlistingparse.c10/04/2012  05:34 PM             1,914 portlistingparse.h09/02/2014  05:12 AM             2,099 portlistingparse.o10/14/2008  01:05 PM             1,377 pymoduletest.py05/21/2012  03:43 AM             2,137 README10/07/2013  05:07 AM             2,855 receivedata.c10/04/2012  05:34 PM               712 receivedata.h09/02/2014  05:12 AM             1,045 receivedata.o05/23/2012  03:50 AM               660 setup.py05/23/2012  03:50 AM               671 setupmingw32.py07/10/2012  05:24 PM             1,575 testigddescparse.c06/25/2012  06:48 PM             1,405 testminiwget.c11/26/2013  03:48 AM             2,221 testminiwget.sh05/14/2013  03:41 PM             1,830 testminixml.c09/02/2014  05:11 AM    <DIR>          testreplyparse10/11/2008  05:27 AM             2,364 testupnpigd.py01/31/2014  08:18 AM             2,042 testupnpreplyparse.c05/14/2013  03:37 PM               208 testupnpreplyparse.sh01/27/2011  12:50 PM             1,488 updateminiupnpcstrings.sh09/02/2014  05:12 AM           189,399 upnpc-static.exe01/31/2014  08:18 AM            23,485 upnpc.c09/02/2014  05:12 AM            14,834 upnpc.o01/31/2014  08:18 AM            30,944 upnpcommands.c01/31/2014  08:18 AM             9,721 upnpcommands.h09/02/2014  05:12 AM            14,308 upnpcommands.o03/20/2012  11:45 AM             2,063 upnperrors.c10/04/2012  05:34 PM               600 upnperrors.h09/02/2014  05:12 AM             1,904 upnperrors.o06/07/2013  03:44 AM             4,218 upnpreplyparse.c06/07/2013  03:44 AM             1,518 upnpreplyparse.h09/02/2014  05:12 AM             1,881 upnpreplyparse.o01/31/2014  08:18 AM                 4 VERSION03/05/2012  03:37 PM             2,733 wingenminiupnpcstrings.c09/02/2014  05:12 AM            51,656 wingenminiupnpcstrings.exe09/02/2014  05:12 AM             2,196 wingenminiupnpcstrings.o              77 File(s)        616,420 bytes

One thing I tried was going into the net.cpp file and changing the reference directly to the directories themselves. The before and after of this is below:

Before:

#ifdef USE_UPNP#include <miniupnpc/miniwget.h>#include <miniupnpc/miniupnpc.h>#include <miniupnpc/upnpcommands.h>#include <miniupnpc/upnperrors.h>#endif

After:

#ifdef USE_UPNP#include <C:\deps\miniupnpc\miniwget.h>#include <C:\deps\miniupnpc\miniupnpc.h>#include <C:\deps\miniupnpc\upnpcommands.h>#include <C:\deps\miniupnpc\upnperrors.h>#endif

Also, I searched all the files in the photon folder for any other instances of "miniupnpc/" or "miniupnpc\". These are the only instances, so I am assuming this is the only place where the miniupnpc folder is being specified.

With the changes above, the compiler ran right pass the previous error and went far longer, until it this little error showed up:
 

cppg++ -c -pipe -D_FORTIFY_SOURCE=2 -O2 -frtti -fexceptions -mthreads -fdiagnostics-show-option -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -Wstack-protector -DUNICODE -DQT_GUI -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE -DUSE_UPNP=1 -DSTATICLIB -DUSE_IPV6=1 -DWIN32 -D_MT -DQT_THREAD_SUPPORT -DQT_DLL -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NEEDS_QMAIN -I"..\Qt\4.8.5\include\QtCore" -I"..\Qt\4.8.5\include\QtNetwork" -I"..\Qt\4.8.5\include\QtGui" -I"..\Qt\4.8.5\include" -I"src" -I"src\json" -I"src\qt" -I"..\deps\miniupnpc" -I"src\leveldb\include" -I"src\leveldb\helpers" -I"..\deps\boost_1_55_0"-I"..\deps\db-4.8.30.NC\build_unix" -I"..\deps\openssl-1.0.1g\include" -I"c:\deps\qrencode-3.4.3" -I"..\Qt\4.8.5\include\ActiveQt" -I"build" -I"build" -I"..\Qt\4.8.5\mkspecs\win32-g++" -o build\qrc_bitcoin.o release\qrc_bitcoin.cppg++ -Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware -Wl,-s -mthreads-Wl,-subsystem,windows -o release\photon-qt.exe object_script.photon-qt.Release -L"c:\Qt\4.8.5\lib" -lmingwthrd -lmingw32 -lqtmain build\bitcoin-qt_res.o -lssl -lcrypto -lws2_32 -lole32 -loleaut32 -luuid -lgdi32 -LC:\deps\miniupnpc -lminiupnpc -liphlpapi C:/photon/src/leveldb/libleveldb.a C:/photon/src/leveldb/libmemenv.a -lshlwapi -LC:\deps\boost_1_55_0\stage\lib -LC:\deps\db-4.8.30.NC\build_unix -LC:\deps\openssl-1.0.1g -LC:/deps/qrencode-3.4.3/.libs -lssl -lcrypto -ldb_cxx -lws2_32 -lshlwapi -lmswsock -lole32 -loleaut32 -luuid -lgdi32 -lboost_system-mgw46-mt-sd-1_55 -lboost_filesystem-mgw46-mt-sd-1_55 -lboost_program_options-mgw46-mt-sd-1_55 -lboost_thread-mgw46-mt-sd-1_55 -lboost_chrono-mgw46-mt-sd-1_55 -lQtGui4 -lQtNetwork4 -lQtCore4c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -ldb_cxxc:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_system-mgw46-mt-sd-1_55c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_filesystem-mgw46-mt-sd-1_55c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_program_options-mgw46-mt-sd-1_55c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_thread-mgw46-mt-sd-1_55c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lboost_chrono-mgw46-mt-sd-1_55collect2: ld returned 1 exit statusmingw32-make: *** [release\photon-qt.exe] Error 1

I checked and ld.exe does exist in the mingw32/bin directory. Here is my "dir" on this directory:
 

Directory of C:\MinGW\mingw32\bin09/02/2014  04:01 AM    <DIR>          .09/02/2014  04:01 AM    <DIR>          ..10/27/2011  08:36 PM           667,136 addr2line.exe10/27/2011  08:36 PM           690,176 ar.exe10/27/2011  08:37 PM         1,159,680 as.exe10/27/2011  07:00 PM           305,152 c++.exe10/27/2011  08:37 PM           666,112 c++filt.exe10/27/2011  07:01 PM           304,128 cpp.exe10/27/2011  08:36 PM           722,432 dlltool.exe10/27/2011  08:36 PM            51,712 dllwrap.exe10/27/2011  08:36 PM            37,888 elfedit.exe10/27/2011  07:00 PM           305,152 g++.exe10/27/2011  07:01 PM           302,592 gcc.exe10/27/2011  07:01 PM            41,472 gcov.exe10/28/2011  01:17 AM         4,914,688 gdb.exe10/28/2011  01:18 AM           169,472 gdbserver.exe10/27/2011  07:01 PM           306,176 gfortran.exe10/27/2011  08:37 PM           731,136 gprof.exe10/27/2011  07:00 PM           305,152 i686-pc-mingw32-c++.exe10/27/2011  07:00 PM           305,152 i686-pc-mingw32-g++.exe10/27/2011  07:01 PM           302,592 i686-pc-mingw32-gcc-4.6.2.exe10/27/2011  07:01 PM           302,592 i686-pc-mingw32-gcc.exe10/27/2011  07:01 PM           306,176 i686-pc-mingw32-gfortran.exe10/27/2011  08:38 PM           957,952 ld.bfd.exe10/27/2011  08:38 PM           957,952 ld.exe10/28/2011  01:55 AM    <DIR>          lib10/28/2011  01:26 AM           194,560 mingw32-make.exe10/27/2011  08:37 PM           676,864 nm.exe10/27/2011  08:36 PM           848,384 objcopy.exe10/27/2011  08:36 PM         1,263,616 objdump.exe10/27/2011  08:38 PM         2,288,640 python27.dll10/27/2011  08:36 PM           690,176 ranlib.exe10/27/2011  08:36 PM           354,304 readelf.exe10/27/2011  08:36 PM           668,672 size.exe10/27/2011  08:36 PM           667,648 strings.exe10/27/2011  08:37 PM           848,384 strip.exe10/27/2011  08:36 PM           692,736 windmc.exe10/27/2011  08:36 PM           783,872 windres.exe              35 File(s)     24,790,528 bytes               3 Dir(s)  143,917,363,200 bytes free

I tried the whole thing over again fresh, this time using the following code to disable miniupnpc support:

qmake "USE_UPNP=-" Photon-qt.promake -f Makefile.Release

I got the exact same error as before involving ld.exe.

Lastly, I tried the entire thing but with boost_1_53_0 version instead of the boost_1_55_0 version, and while carefully following the steps. Still, the same error.

I'm stuck on this one. Any ideas? I do want to get it working, and with miniupnpc support.

Share this post


Link to post
Share on other sites

ok guys sorry you are having trouble with miniupnp , if you want to 'cheat' a little

here is a copy that works for me and I have built hundreds of wallets with it on windows 7

 

Full https://drive.google.com/file/d/0Bz8503hoyr74T0xoN215YkVoRVE/edit?usp=sharing

 

If you want miniwget.h only here

 

https://drive.google.com/file/d/0Bz8503hoyr74R2dQSmZoY3J3S00/edit?usp=sharing

 

I built my win 7 build system a while ago so miniupnp may have changed since then and not be compatable with other parts of the compiler however when I made a newer build system on win 8.1 i installed it clean and it works ok.

 

I have seen this exact error before however. 

 

I think if you just take the miniwget.h i put on google drive and substitute it for the one in your folder it may be ok .

 

Let me know how you make out !  

 

fyi here is the contents of the one I uploaded , full text it is a small file

 

/* $Id: miniwget.h,v 1.6 2010/12/09 16:11:33 nanard Exp $ */
/* Project : miniupnp
 * Author : Thomas Bernard
 * Copyright © 2005 Thomas Bernard
 * This software is subject to the conditions detailed in the
 * LICENCE file provided in this distribution.
 * */
#ifndef __MINIWGET_H__
#define __MINIWGET_H__

#include "declspec.h"

#ifdef __cplusplus
extern "C" {
#endif

LIBSPEC void * getHTTPResponse(int s, int * size);

LIBSPEC void * miniwget(const char *, int *);

LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int);

int parseURL(const char *, char *, unsigned short *, char * *);

#ifdef __cplusplus
}
#endif

#endif
 

piggygreenmo likes this

Mine 6 coins at once including my coin Photon NOW !! 6X your hash power http://ny2.blakecoin.com/

Share this post


Link to post
Share on other sites

Thanks, I will give that a try, although it is beginning to appear my current problem may be with boost.  Check out the second half or so of my previous post.  It's a tough one!

Share this post


Link to post
Share on other sites

ok the boost error is a separate issue ,

 

try from a windows command prompt recompiling boost 1_55_0 with these commands

 

cd C:\deps\boost_1_55_0\

 

bootstrap.bat mingw

 

b2 --build-type=complete --with-chrono --with-filesystem --with-program_options --with-system --with-thread toolset=gcc stage


Mine 6 coins at once including my coin Photon NOW !! 6X your hash power http://ny2.blakecoin.com/

Share this post


Link to post
Share on other sites

This is quite a persistent problem.  Same errors:

 

c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -ldb_cxx
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_system-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_filesystem-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_program_options-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_thread-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_chrono-mgw46-mt-sd-1_53
collect2: ld returned 1 exit status
mingw32-make: *** [release\photon-qt.exe] Error 1

I deleted the previous installation of Boost_1_55_0 and unzipped it again fresh.  I built it the way you just described above and still the same error.

 

I really appreciate your help so far and I'd try to figure it out more myself if I weren't totally stumped on this one :)

Share this post


Link to post
Share on other sites

List of those contents right here:

Directory of C:\deps\boost_1_55_0\stage\lib

09/02/2014  09:56 PM    <DIR>          .
09/02/2014  09:56 PM    <DIR>          ..
09/02/2014  09:51 PM           104,916 libboost_chrono-mgw46-1_55.a
09/02/2014  09:46 PM         1,220,955 libboost_chrono-mgw46-1_55.dll
09/02/2014  09:46 PM            14,614 libboost_chrono-mgw46-1_55.dll.a
09/02/2014  09:50 PM           459,494 libboost_chrono-mgw46-d-1_55.a
09/02/2014  09:45 PM         1,442,309 libboost_chrono-mgw46-d-1_55.dll
09/02/2014  09:45 PM            14,660 libboost_chrono-mgw46-d-1_55.dll.a
09/02/2014  09:48 PM           104,916 libboost_chrono-mgw46-mt-1_55.a
09/02/2014  09:43 PM         1,220,961 libboost_chrono-mgw46-mt-1_55.dll
09/02/2014  09:43 PM            14,698 libboost_chrono-mgw46-mt-1_55.dll.a
09/02/2014  09:47 PM           459,494 libboost_chrono-mgw46-mt-d-1_55.a
09/02/2014  09:41 PM         1,442,315 libboost_chrono-mgw46-mt-d-1_55.dll
09/02/2014  09:41 PM            14,740 libboost_chrono-mgw46-mt-d-1_55.dll.a
09/02/2014  09:53 PM           104,916 libboost_chrono-mgw46-mt-s-1_55.a
09/02/2014  09:52 PM           459,494 libboost_chrono-mgw46-mt-sd-1_55.a
09/02/2014  09:55 PM           104,916 libboost_chrono-mgw46-s-1_55.a
09/02/2014  09:54 PM           459,494 libboost_chrono-mgw46-sd-1_55.a
09/02/2014  09:51 PM           229,392 libboost_filesystem-mgw46-1_55.a
09/02/2014  09:46 PM         1,013,921 libboost_filesystem-mgw46-1_55.dll
09/02/2014  09:46 PM           155,640 libboost_filesystem-mgw46-1_55.dll.a
09/02/2014  09:50 PM         1,136,596 libboost_filesystem-mgw46-d-1_55.a
09/02/2014  09:45 PM         2,091,224 libboost_filesystem-mgw46-d-1_55.dll
09/02/2014  09:45 PM           156,014 libboost_filesystem-mgw46-d-1_55.dll.a
09/02/2014  09:49 PM           229,392 libboost_filesystem-mgw46-mt-1_55.a
09/02/2014  09:43 PM         1,013,927 libboost_filesystem-mgw46-mt-1_55.dll
09/02/2014  09:43 PM           156,376 libboost_filesystem-mgw46-mt-1_55.dll.a
09/02/2014  09:48 PM         1,136,596 libboost_filesystem-mgw46-mt-d-1_55.a
09/02/2014  09:42 PM         2,091,230 libboost_filesystem-mgw46-mt-d-1_55.dll
09/02/2014  09:42 PM           156,746 libboost_filesystem-mgw46-mt-d-1_55.dll.a
09/02/2014  09:53 PM           229,392 libboost_filesystem-mgw46-mt-s-1_55.a
09/02/2014  09:52 PM         1,136,596 libboost_filesystem-mgw46-mt-sd-1_55.a
09/02/2014  09:56 PM           229,392 libboost_filesystem-mgw46-s-1_55.a
09/02/2014  09:55 PM         1,136,596 libboost_filesystem-mgw46-sd-1_55.a
09/02/2014  09:52 PM         1,164,726 libboost_program_options-mgw46-1_55.a
09/02/2014  09:47 PM         1,865,156 libboost_program_options-mgw46-1_55.dll
09/02/2014  09:47 PM           240,112 libboost_program_options-mgw46-1_55.dll.a
09/02/2014  09:50 PM         7,057,528 libboost_program_options-mgw46-d-1_55.a
09/02/2014  09:46 PM         5,517,953 libboost_program_options-mgw46-d-1_55.dll
09/02/2014  09:46 PM           240,658 libboost_program_options-mgw46-d-1_55.dll.a
09/02/2014  09:49 PM         1,164,726 libboost_program_options-mgw46-mt-1_55.a
09/02/2014  09:44 PM         1,865,156 libboost_program_options-mgw46-mt-1_55.dll
09/02/2014  09:44 PM           240,718 libboost_program_options-mgw46-mt-1_55.dll.a
09/02/2014  09:48 PM         7,057,528 libboost_program_options-mgw46-mt-d-1_55.a
09/02/2014  09:43 PM         5,517,953 libboost_program_options-mgw46-mt-d-1_55.dll
09/02/2014  09:43 PM           241,264 libboost_program_options-mgw46-mt-d-1_55.dll.a
09/02/2014  09:54 PM         1,164,726 libboost_program_options-mgw46-mt-s-1_55.a
09/02/2014  09:53 PM         7,057,528 libboost_program_options-mgw46-mt-sd-1_55.a
09/02/2014  09:56 PM         1,164,726 libboost_program_options-mgw46-s-1_55.a
09/02/2014  09:55 PM         7,057,528 libboost_program_options-mgw46-sd-1_55.a
09/02/2014  09:50 PM            24,098 libboost_system-mgw46-1_55.a
09/02/2014  09:46 PM           307,480 libboost_system-mgw46-1_55.dll
09/02/2014  09:46 PM             3,110 libboost_system-mgw46-1_55.dll.a
09/02/2014  09:50 PM            74,022 libboost_system-mgw46-d-1_55.a
09/02/2014  09:45 PM         1,244,782 libboost_system-mgw46-d-1_55.dll
09/02/2014  09:45 PM             3,130 libboost_system-mgw46-d-1_55.dll.a
09/02/2014  09:48 PM            24,098 libboost_system-mgw46-mt-1_55.a
09/02/2014  09:43 PM           307,480 libboost_system-mgw46-mt-1_55.dll
09/02/2014  09:43 PM             3,140 libboost_system-mgw46-mt-1_55.dll.a
09/02/2014  09:47 PM            74,022 libboost_system-mgw46-mt-d-1_55.a
09/02/2014  09:41 PM         1,244,782 libboost_system-mgw46-mt-d-1_55.dll
09/02/2014  09:41 PM             3,156 libboost_system-mgw46-mt-d-1_55.dll.a
09/02/2014  09:53 PM            24,098 libboost_system-mgw46-mt-s-1_55.a
09/02/2014  09:52 PM            74,022 libboost_system-mgw46-mt-sd-1_55.a
09/02/2014  09:55 PM            24,098 libboost_system-mgw46-s-1_55.a
09/02/2014  09:54 PM            74,022 libboost_system-mgw46-sd-1_55.a
09/02/2014  09:50 PM           235,132 libboost_thread-mgw46-mt-1_55.a
09/02/2014  09:45 PM         1,351,123 libboost_thread-mgw46-mt-1_55.dll
09/02/2014  09:45 PM            66,032 libboost_thread-mgw46-mt-1_55.dll.a
09/02/2014  09:48 PM         1,414,162 libboost_thread-mgw46-mt-d-1_55.a
09/02/2014  09:43 PM         2,162,261 libboost_thread-mgw46-mt-d-1_55.dll
09/02/2014  09:43 PM            66,204 libboost_thread-mgw46-mt-d-1_55.dll.a
09/02/2014  09:54 PM           235,132 libboost_thread-mgw46-mt-s-1_55.a
09/02/2014  09:53 PM         1,414,162 libboost_thread-mgw46-mt-sd-1_55.a

Share this post


Link to post
Share on other sites

ok guys sorry you are having trouble with miniupnp , if you want to 'cheat' a little

here is a copy that works for me and I have built hundreds of wallets with it on windows 7

 

Full https://drive.google.com/file/d/0Bz8503hoyr74T0xoN215YkVoRVE/edit?usp=sharing

 

If you want miniwget.h only here

 

https://drive.google.com/file/d/0Bz8503hoyr74R2dQSmZoY3J3S00/edit?usp=sharing

 

I built my win 7 build system a while ago so miniupnp may have changed since then and not be compatable with other parts of the compiler however when I made a newer build system on win 8.1 i installed it clean and it works ok.

 

I have seen this exact error before however. 

 

I think if you just take the miniwget.h i put on google drive and substitute it for the one in your folder it may be ok .

 

Let me know how you make out !  

 

fyi here is the contents of the one I uploaded , full text it is a small file

 

/* $Id: miniwget.h,v 1.6 2010/12/09 16:11:33 nanard Exp $ */

/* Project : miniupnp

 * Author : Thomas Bernard

 * Copyright © 2005 Thomas Bernard

 * This software is subject to the conditions detailed in the

 * LICENCE file provided in this distribution.

 * */

#ifndef __MINIWGET_H__

#define __MINIWGET_H__

 

#include "declspec.h"

 

#ifdef __cplusplus

extern "C" {

#endif

 

LIBSPEC void * getHTTPResponse(int s, int * size);

 

LIBSPEC void * miniwget(const char *, int *);

 

LIBSPEC void * miniwget_getaddr(const char *, int *, char *, int);

 

int parseURL(const char *, char *, unsigned short *, char * *);

 

#ifdef __cplusplus

}

#endif

 

#endif

 

okay, so I replaced miniwget.h and it gave me the first error I showed in my first post.

 

then I replaced the whole miniupnp and it have me the second error I showed in my first post.

 

so both didn't work. any other solutions or ideas?

 

thanks for the fast replies :)

Share this post


Link to post
Share on other sites

Hi Kay2098, you should check out my first post on page 3.  I had the same problem you had, and I described how I fixed it.  It might not be the best way, but it worked.  Perhaps Cinnamon will chime in on whether or not my solution there has negative consequences.  Try it and perhaps you can move forward and be stuck on the boost snag like I am :)

Share this post


Link to post
Share on other sites

ok , if having problems building with UPnP first try to build without it, once that works then you can retrace steps and find the issue.

 

trying 'work arounds' or changing the code to compile a coin can have all sorts of unknown consequences. None of them good.

 

I should probably have written the guide to build /compile a win qt wallet without UPnP support then added that in a subsection.

 

I would recommend both of you and anyone else who is having trouble skip UPnP until you can compile a wallet without it.

 

so in the start of section II

 

when you are ready to build for the first time from a qt command prompt it would be these three commands .

 

cd c:\photon

qmake "USE_UPNP=- photon-qt.pro

make -f Makefile.Release

 

 

 

to alter it appears the contents of your lib file for boost is complete I will send you a pm with a few suggestions.

 

One other thing, here on cryptocoin talk in the developers area I posted quite a while ago the original 'files' from shak3zulas classic guide.  It can be found here.  It may be 'useful' for some of you who are having issues getting the build system set up.

 

See this thread (You should be able to access it but I think only coin developers can post in the developer area)

 

https://cryptocointalk.com/topic/10474-the-deps-folder-from-shak3zulas-guide-and-older-versions-of-mingw/


Mine 6 coins at once including my coin Photon NOW !! 6X your hash power http://ny2.blakecoin.com/

Share this post


Link to post
Share on other sites

thanks for al the help but I still cant get it working :(

 

I tried all the options you guys gave me.

is there any easier way to compile? or does anyone have a idea what my problem might be?

 

by the way I tried what alter did but for me it didn't work. my errors are still the same as in my first post.

 

and again thanks for all the support

Share this post


Link to post
Share on other sites

i just completely restarted. everything went smooth without errors until the compile part..... again the same errors as in my first post :(

Share this post


Link to post
Share on other sites

i will look it over when I have some time to see if anything obvious sticks out......sorry you are having trouble getting the build system up

i just completely restarted. everything went smooth without errors until the compile part..... again the same errors as in my first post :(


Mine 6 coins at once including my coin Photon NOW !! 6X your hash power http://ny2.blakecoin.com/

Share this post


Link to post
Share on other sites

i will look it over when I have some time to see if anything obvious sticks out......sorry you are having trouble getting the build system up

 

thank you, i really appreciate your help :)

Share this post


Link to post
Share on other sites

 

This is quite a persistent problem.  Same errors:

 

c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -ldb_cxx
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_system-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_filesystem-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_program_options-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_thread-mgw46-mt-sd-1_53
c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot fin
d -lboost_chrono-mgw46-mt-sd-1_53
collect2: ld returned 1 exit status
mingw32-make: *** [release\photon-qt.exe] Error 1

I deleted the previous installation of Boost_1_55_0 and unzipped it again fresh.  I built it the way you just described above and still the same error.

 

I really appreciate your help so far and I'd try to figure it out more myself if I weren't totally stumped on this one :)

 

Not sure if I caught everything. Mr Carter is more advance than I am but, I noticed you have Boost 1.55 deps. Check your Photo-qt.pro and change mgw46-mt-sd-1_53 to mgw46-mt-sd-1_55

 

Also for the Try this to build

qmake Photon-qt.pro

make -f Makefile.Release USE_UPNP=-


Viking Coin- The World First Rapid Exchange Coin

Never take a loss due to Bitcoin Confirmations again.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.