Bitcoin Forum
November 10, 2024, 05:34:40 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Help Compiling the Boost Libraries  (Read 1840 times)
AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 05:13:22 PM
 #1

I was attempting to compile litecoin (I'm doing it to learn the process for an altcoin I'm working on) on windows using the following directions from this thread:

https://bitcointalk.org/index.php?topic=149479.0

I successfully did the Berkley DB and OpenSSL compiles, but ran into the following when doing the Bootstrap.bet mingw command



any help?


(Also, does anyone know where I can find an windows binary of Multicoin)

AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 07:34:27 PM
 #2

any help?

Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 04, 2013, 07:46:57 PM
 #3

"gcc is not recognized" sounds like gcc isn't in your path. Either add it or try to use the full path.
"b2" further down isn't recognized either.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 08:01:10 PM
 #4

Do I need to reinstall the GCC compiler somewhere?

Bitsky
Hero Member
*****
Offline Offline

Activity: 576
Merit: 514


View Profile
May 04, 2013, 08:49:18 PM
 #5

Check if you have a gcc.exe where you installed gcc.
Try "echo %PATH%" to get a list of your current paths for programs; gcc should be in there.
If not, you could try to reinstall gcc (assuming it would add the path) or you do it yourself. I think it's somewhere in computer->properties->advanced->environment
Or you edit the bat file and use the complete path to your gcc.exe in it.

Bounty: Earn up to 68.7 BTC
Like my post? Feel free to drop a tip to 1BitskyZbfR4irjyXDaGAM2wYKQknwX36Y
AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 10:23:32 PM
 #6

I think this is what I didn't do but not sure how to do it:

1.3. Add MinGW bin folder to your PATH environment variable (C:\MinGW\bin if you used installer defaults).

yogi
Legendary
*
Offline Offline

Activity: 947
Merit: 1042


Hamster ate my bitcoin


View Profile
May 04, 2013, 10:29:32 PM
 #7

http://www.computerhope.com/issues/ch000549.htm

AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 10:37:59 PM
 #8

Thanks, that's excatly it, I found here right before you posted that: http://windowsitpro.com/systems-management/how-can-i-add-new-folder-my-system-path

much much appreciated

Must say I have learned a lot about how all these OS's work from working on compiling all this stuff.

yogi
Legendary
*
Offline Offline

Activity: 947
Merit: 1042


Hamster ate my bitcoin


View Profile
May 04, 2013, 10:45:30 PM
 #9

If you haven't tried it already, I would recommend you take a look at MSYS. It has a number of helpful tools for building cross platform libraries.

AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 10:50:46 PM
 #10

i fixed the gcc error but i still have this


AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 04, 2013, 10:57:12 PM
 #11

here is what I found in the bootstrap text file...

Code:
###
### Using 'mingw' toolset.
###

c:\deps\boost_1_53_0\tools\build\v2\engine>if exist bootstrap rd /S /Q bootstrap

c:\deps\boost_1_53_0\tools\build\v2\engine>md bootstrap

c:\deps\boost_1_53_0\tools\build\v2\engine>gcc -DNT -o bootstrap\jam0.exe  command.c compile.c constants.c debug.c execnt.c filent.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathunix.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c pwd.c class.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c

c:\deps\boost_1_53_0\tools\build\v2\engine>.\bootstrap\jam0 -f build.jam --toolset=mingw "--toolset-root= "  clean
...found 1 target...
...updating 1 target...
...updated 1 target...

c:\deps\boost_1_53_0\tools\build\v2\engine>.\bootstrap\jam0 -f build.jam --toolset=mingw "--toolset-root= " 
...found 50 targets...
...updating 3 targets...
[MKDIR] bin.ntx86

yogi
Legendary
*
Offline Offline

Activity: 947
Merit: 1042


Hamster ate my bitcoin


View Profile
May 04, 2013, 11:40:45 PM
 #12

What version of mingw are you using?

AlexMerced (OP)
Member
**
Offline Offline

Activity: 84
Merit: 10



View Profile WWW
May 05, 2013, 12:57:06 AM
 #13

figured it out, I forgot to include the MSYS Basic Package when installing MINGW

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!