Bitcoin Forum
May 21, 2025, 09:43:40 PM
Welcome,
Guest
. Please
login
or
register
.
News
: Latest Bitcoin Core release:
29.0
[
Torrent
]
Home
Help
Search
Login
Register
More
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Release fails to build.
Pages: [
1
]
« previous topic
next topic »
Print
Author
Topic: Release fails to build. (Read 3535 times)
farmer_boy
(OP)
Newbie
Offline
Activity: 56
Merit: 0
Release fails to build.
November 23, 2010, 05:05:03 PM
#1
I downloaded both the release as the svn version, but they both have the same problem:
I installed wx-2.9 and I verified that I can build and run the demos that come with wx. I have also not been able to find a setup.h file anywhere, so why it refers to that is a mystery to me.
Platform: Ubuntu 10.10 x86-64
make -f makefile.unix
g++ -c -O2 -Wno-invalid-offsetof -Wformat -g -D__WXDEBUG__ -D__WXGTK__ -DNOPCH -DFOURWAYSSE2 -DUSE_SSL -I"/usr/local/include/wx-2.9" -I"/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9" -DGUI -o obj/util.o util.cpp
In file included from /usr/local/include/wx-2.9/wx/defs.h:26,
from /usr/local/include/wx-2.9/wx/wx.h:15,
from headers.h:30,
from util.cpp:5:
/usr/local/include/wx-2.9/wx/platform.h:174: fatal error: wx/setup.h: No such file or directory
compilation terminated.
make: *** [obj/util.o] Error 1
Can you fix the release?
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1065
Re: Release fails to build.
November 24, 2010, 11:48:32 AM
#2
On Fedora Linux I get that error if I build wxWidgets 2.9.1, but the error goes away if I build wxWidgets 2.9.0 which is available here:
http://biolpc22.york.ac.uk/pub/2.9.0/
I don't know whether that will solve the problem on Ubuntu also.
farmer_boy
(OP)
Newbie
Offline
Activity: 56
Merit: 0
Re: Release fails to build.
November 25, 2010, 03:14:08 AM
#3
Quote from: ribuck on November 24, 2010, 11:48:32 AM
On Fedora Linux I get that error if I build wxWidgets 2.9.1, but the error goes away if I build wxWidgets 2.9.0 which is available here:
http://biolpc22.york.ac.uk/pub/2.9.0/
I don't know whether that will solve the problem on Ubuntu also.
I got my 2.9.0 now from wxwidgets.org, removed the old installation in the correct way, but I still get the same error. From my point of view it is simply not correct C++ code in combination with the makefile.unix for Ubuntu, and I don't think Ubuntu is doing anything non-standard, that is outside of the Linux Standard Base.
zipslack
Newbie
Offline
Activity: 43
Merit: 0
Re: Release fails to build.
November 25, 2010, 04:25:06 AM
#4
You may have to edit makefile.unix to fix the include paths for wx. They are hard-coded and probably wrong for your system.
farmer_boy
(OP)
Newbie
Offline
Activity: 56
Merit: 0
Re: Release fails to build.
November 25, 2010, 04:29:08 PM
#5
Quote from: zipslack on November 25, 2010, 04:25:06 AM
You may have to edit makefile.unix to fix the include paths for wx. They are hard-coded and probably wrong for your system.
That should have given a different error message. The problem is that there is no such thing as setup.h below /usr/local/include/wx-*.
laanwj
Hero Member
Offline
Activity: 826
Merit: 1025
Re: Release fails to build.
November 25, 2010, 04:31:22 PM
#6
setup.h is in another location, in my case I installed wx in /opt/wx, and they were here:
Quote
INCLUDEPATHS= \
-I"/opt/wx/include/wx-2.9" \
-I"/opt/wx/lib/wx/include/gtk2-unicode-2.9"
For you it is probably:
Quote
INCLUDEPATHS= \
-I"/usr/local/include/wx-2.9" \
-I"/usr/local/lib/wx/include/gtk2-unicode-2.9"
ribuck
Donator
Hero Member
Offline
Activity: 826
Merit: 1065
Re: Release fails to build.
November 25, 2010, 04:38:34 PM
#7
Quote from: farmer_boy on November 25, 2010, 04:29:08 PM
The problem is that there is no such thing as setup.h below /usr/local/include/wx-*.
For what it's worth, on Fedora the makefile puts setup.h in /usr/local/lib, not in /usr/local/include:
Code:
/usr/local/lib/wx/include/gtk2-unicode-debug-static-2.9/wx/setup.h
/usr/local/lib/wx/include/gtk2-unicode-static-2.9/wx/setup.h
Pages: [
1
]
Print
Bitcoin Forum
>
Bitcoin
>
Development & Technical Discussion
>
Release fails to build.
« previous topic
next topic »
Jump to:
Please select a destination:
-----------------------------
Bitcoin
-----------------------------
=> Bitcoin Discussion
===> Legal
===> Press
===> Meetups
===> Important Announcements
=> Development & Technical Discussion
===> Wallet software
=====> Electrum
=====> Bitcoin Wallet for Android
=====> BitcoinJ
=====> Armory
=====> Mycelium
=====> Hardware wallets
=> Mining
===> Mining support
===> Pools
===> Mining software (miners)
===> Hardware
=====> Group buys
===> Mining speculation
=> Bitcoin Technical Support
=> Project Development
-----------------------------
Economy
-----------------------------
=> Economics
===> Speculation
=> Marketplace
===> Goods
=====> Computer hardware
=====> Digital goods
=======> Invites & Accounts
=====> Collectibles
===> Services
===> Currency exchange
===> Gambling
=====> Games and rounds
=====> Investor-based games
=====> Gambling discussion
===> Lending
=====> Long-term offers
===> Securities
===> Auctions
===> Service Announcements
=====> Micro Earnings
===> Service Discussion
=====> Web Wallets
=====> Exchanges
=> Trading Discussion
===> Scam Accusations
===> Reputation
-----------------------------
Other
-----------------------------
=> Meta
===> Bitcoin Wiki
=> Politics & Society
=> Beginners & Help
=> Off-topic
=> Serious discussion
===> Ivory Tower
=> Archival
===> New forum software
===> Корзина
===> CPU/GPU Bitcoin mining hardware
===> Chinese students
===> Obsolete (buying)
===> Obsolete (selling)
===> MultiBit
-----------------------------
Alternate cryptocurrencies
-----------------------------
=> Altcoin Discussion
=> Announcements (Altcoins)
===> Tokens (Altcoins)
=> Mining (Altcoins)
===> Pools (Altcoins)
=> Marketplace (Altcoins)
===> Service Announcements (Altcoins)
===> Service Discussion (Altcoins)
===> Bounties (Altcoins)
=> Speculation (Altcoins)
-----------------------------
Local
-----------------------------
=> العربية (Arabic)
===> العملات البديلة (Altcoins)
=====> النقاشات
===> إستفسارات و أسئلة المبتدئين
===> التعدين
===> النقاشات الأخرى
===> منصات التبادل
=> Bahasa Indonesia (Indonesian)
===> Marketplace (Bahasa Indonesia)
===> Mining (Bahasa Indonesia)
===> Altcoins (Bahasa Indonesia)
===> Trading dan Spekulasi
===> Ekonomi, Politik, dan Budaya
===> Topik Lainnya
=> Español (Spanish)
===> Mercado y Economía
=====> Servicios
=====> Trading y especulación
===> Hardware y Minería
===> Esquina Libre
===> Mercadillo
=====> Mexico
=====> Argentina
=====> España
=====> Centroamerica y Caribe
===> Primeros pasos y ayuda
===> Altcoins (criptomonedas alternativas)
=====> Minería de altcoins
=====> Servicios
=====> Tokens (Español)
=> 中文 (Chinese)
===> 跳蚤市场
===> 山寨币
===> 媒体
===> 挖矿
===> 离题万里
=> Hrvatski (Croatian)
===> Trgovina
===> Altcoins (Hrvatski)
=====> Announcements (Hrvatski)
===> Off-topic (Hrvatski)
=> Deutsch (German)
===> Anfänger und Hilfe
===> Mining (Deutsch)
===> Trading und Spekulation
===> Projektentwicklung
===> Off-Topic (Deutsch)
===> Treffen
===> Presse
===> Altcoins (Deutsch)
=====> Announcements (Deutsch)
===> Marktplatz
=====> Auktionen
=====> Suche
=====> Biete
=> Ελληνικά (Greek)
===> Αγορά
===> Mining Discussion (Ελληνικά)
===> Altcoins (Ελληνικά)
=====> Altcoin Announcements (Ελληνικά)
=====> Altcoin Mining (Ελληνικά)
=> עברית (Hebrew)
=> Français
===> Actualité et News
===> Débutants
===> Discussions générales et utilisation du Bitcoin
===> Mining et Hardware
===> Économie et spéculation
===> Place de marché
=====> Échanges
=====> Produits et services
=====> Petites annonces
===> Le Bitcoin et la loi
===> Wiki, documentation et traduction
===> Développement et technique
===> Vos sites et projets
===> Hors-sujet
===> Altcoins (Français)
=====> Annonces
=> India
===> Mining (India)
===> Marketplace (India)
===> Regional Languages (India)
===> Press & News from India
===> Alt Coins (India)
===> Buyer/ Seller Reputations (India)
===> Off-Topic (India)
=> Italiano (Italian)
===> Guide (Italiano)
===> Progetti
===> Discussioni avanzate e sviluppo
===> Trading, analisi e speculazione
===> Mercato
=====> Mercato valute
=====> Beni
=====> Servizi
=====> Esercizi commerciali
=====> Hardware/Mining (Italiano)
=====> Gambling (Italiano)
===> Accuse scam/truffe
===> Mining (Italiano)
===> Alt-Currencies (Italiano)
=====> Annunci
===> Raduni/Meeting (Italiano)
===> Crittografia e decentralizzazione
===> Off-Topic (Italiano)
=> 日本語 (Japanese)
===> アルトコイン
=> Nederlands (Dutch)
===> Markt
===> Gokken/lotterijen
===> Mining (Nederlands)
===> Beurzen
===> Alt Coins (Nederlands)
===> Off-topic (Nederlands)
===> Meetings (Nederlands)
=> Nigeria (Naija)
===> Politics and society (Naija)
===> Off-topic (Naija)
=> 한국어 (Korean)
===> 대체코인 Alt Coins (한국어)
=> Pilipinas
===> Altcoins (Pilipinas)
=====> Altcoin Announcements (Pilipinas)
===> Pamilihan
===> Others (Pilipinas)
=> Polski
===> Tablica ogłoszeń
===> Alternatywne kryptowaluty
=====> Nowe kryptowaluty i tokeny
=====> Tablica ogłoszeń (altcoiny)
=> Português (Portuguese)
===> Primeiros Passos (Iniciantes)
===> Economia & Mercado
===> Mineração em Geral
===> Desenvolvimento & Discussões Técnicas
===> Criptomoedas Alternativas
===> Brasil
===> Portugal
=> Русский (Russian)
===> Новички
===> Бизнес
=====> Барахолка
=====> Обменники
===> Идеи
===> Кодеры
===> Майнеры
===> Политика
===> Трейдеры
===> Альтернативные криптовалюты
=====> Токены
=====> Бayнти и aиpдpoпы
===> Хайпы
===> Работа
===> Разное
===> Oбcyждeниe Bitcoin
=====> Новости
=====> Юристы
=> Română (Romanian)
===> Anunturi importante
===> Offtopic
===> Market
=====> Discutii Servicii
===> Minerit
===> Tutoriale
===> Bine ai venit!
===> Presa
===> Altcoins (Monede Alternative)
=====> Anunturi Monede Alternative
=> Skandinavisk
=> Türkçe (Turkish)
===> Bitcoin Haberleri
===> Pazar Alanı
===> Madencilik
===> Ekonomi
===> Servisler
=====> Fonlar
===> Proje Geliştirme
===> Alternatif Kripto-Paralar
=====> Madencilik (Alternatif Kripto-Paralar)
=====> Duyurular (Alternatif Kripto-Paralar)
===> Konu Dışı
===> Yeni Başlayanlar & Yardım
===> Buluşmalar
=> Other languages/locations
Loading...