Comments (17)
Does this happen without install-deps.sh (stupid question, but have to make sure you didn't cause the problem yourself)
from desurium.
Hi, I'm another archlinux user, and I got the same issue here.
I wonder if someone could make an arch aur building script which builds desurium.
from desurium.
the second error on fedora looks like a missing libgconfig. Try changing the target for gtk in libs.gyp from settings to none and see if that fixes your first issue.
from desurium.
Desurium also fails to build on Ubuntu 11.10. I will push my fix and send pull request shortly.
from desurium.
Ok, I made some progress :)
- Arch:
I removed Desurium sources and cloned it again (probably working on the same copy from two different systems wasn't the best idea...), changed 'settings' to 'none' in libs.gyp and it worked :) Didn't build cef yet, but I hope that it will be ok. - Fedora:
I somehow managed to build wxWidgets, but later there are some problems with libnotify:
Package libnotify was not found in the pkg-config search path.
Perhaps you should add the directory containing `libnotify.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libnotify' found
Traceback (most recent call last):
File "../src/third_party/gyp/gyp", line 18, in <module>
sys.exit(gyp.main(sys.argv[1:]))
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/__init__.py", line
471, in main
options.circular_check)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/__init__.py", line
111, in Load
depth, generator_input_info, check, circular_check)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 2289,
in Load
depth, check)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 387,
in LoadTargetBuildFile
build_file_path)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 1003,
in ProcessVariablesAndConditionsInDict
build_file, key)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 1010,
in ProcessVariablesAndConditionsInDict
build_file)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 1029,
in ProcessVariablesAndConditionsInList
expanded = ExpandVariables(item, is_late, variables, build_file)
File "/home/sadam/Desurium/src/third_party/gyp/pylib/gyp/input.py", line 696,
in ExpandVariables
(contents, p.returncode))
Exception: Call to 'pkg-config --libs-only-l libnotify' returned exit status 1.
while trying to load build.gyp
Later I will try again from scratch and see if that helps.
from desurium.
This error:
Exception: Target ../src/third_party/libs.gyp:gtk#target has an invalid target type 'settings'. Must be one of executable/loadable_module/static_library/shared_library/none.
fixed by change in ../src/third_party/libs.gyp type: settings to correct shared_library / static_library
from desurium.
@Sadam36 Just install libnotify-devel rpm. That should be added to install-deps.sh, along with libnotify-dev for Debian/Ubuntu.
from desurium.
@boskee I saw libnotify installed, but didn't think about libnotify-devel, thanks.
Now I am having problems with building cef - third_party/build_lin/cef.log
ends with:
In file included from third_party/icu/public/common/unicode/strenum.h:14:0,
from third_party/icu/public/common/unicode/uenum.h:24,
from third_party/icu/public/common/unicode/uloc.h:25,
from third_party/icu/public/common/unicode/ubrk.h:12,
from base/i18n/break_iterator.cc:8:
third_party/icu/public/common/unicode/unistr.h: In member function ‘icu_46::UnicodeString& icu_46::UnicodeString::replace(int32_t, int32_t, UChar32)’:
third_party/icu/public/common/unicode/unistr.h:4024:9: error: variable ‘isError’ set but not used [-Werror=unused-but-set-variable]
third_party/icu/public/common/unicode/unistr.h: In member function ‘icu_46::UnicodeString& icu_46::UnicodeString::append(UChar32)’:
third_party/icu/public/common/unicode/unistr.h:4327:9: error: variable ‘isError’ set but not used [-Werror=unused-but-set-variable]
cc1plus: all warnings being treated as errors
make: *** [out/Release/obj.target/base_i18n/base/i18n/break_iterator.o] Error 1
I found here that it might be connected with having gcc 4.6 instead of 4.4, so installed gcc 4.4 from AUR, changed /third_party/chromium/src/Makefile
but it didn't work (probably I should change other file...). I will try later build on fedora, and copying libcef_desura.so from desura.
from desurium.
I gave up a while back on building cef.
from desurium.
After running /BuildCef.sh and it failed I did this to get it to compile:
$ cd ../chromium/src
$ rm -r out
$ cd cef
$ /usr/bin/python tools/gyp_cef cef.gyp -I cef.gypi -Dwerror=
$ cd ..
$ make cef_desura BUILDTYPE=Debug -j4
$ mv out/Debug/lib.target/libcef_desura.so ../../../../build_out/debug_lin/lib/
$ mv out/Debug/lib.target/libffmpegsumo.so ../../../../build_out/debug_lin/lib/
By default cef fails to build if there are any warnings since warnings are treated as errors. You have to specify "-Dwerror=" to get around it.
from desurium.
Hmm. Could you put that in a pull request?
from desurium.
i'm on a slackware64 and manage to build desurium just after the release, but not anymore...
with the latest tip
After changing the in the libs.gyp all type: settings
to type: shared_library
i gave it another try and now its giving errors the build in the wx_controls and uicore:
-----------------------------------------------------------
Building project wx_controls
-----------------------------------------------------------
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcButton.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcCheckBox.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcChoice.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcCombo.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcCustomFrameImpl.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcDialog.o
In file included from src/static/wx_controls/code/gcCustomFrameImpl.cpp:20:0:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcFrame.o
In file included from src/include/wx_controls/gcDialog.h:28:0,
from src/static/wx_controls/code/gcDialog.cpp:19:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcGrid.o
In file included from src/include/wx_controls/gcFrame.h:29:0,
from src/static/wx_controls/code/gcFrame.cpp:20:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcHyperlinkCtrl.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcImage.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcImageButton.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcImageControl.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcImgButtonCount.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcMessageBox.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcPanel.o
In file included from src/include/wx_controls/gcFrame.h:29:0,
from src/static/wx_controls/code/gcPanel.cpp:22:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
In file included from src/include/wx_controls/gcDialog.h:28:0,
from src/include/wx_controls/gcControls.h:29,
from src/include/wx_controls/gcMessageBox.h:25,
from src/static/wx_controls/code/gcMessageBox.cpp:20:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcProgressBar.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcRadioButton.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcScrolledWindow.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcStaticLine.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcStaticText.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcTaskBar.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcTextCtrl.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcToggleButton.o
In file included from src/include/wx_controls/gcFrame.h:29:0,
from src/static/wx_controls/code/gcTaskBar.cpp:23:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
src/static/wx_controls/code/gcTaskBar.cpp: In member function ‘bool gcTaskBarIcon::ShowBalloon(const wxString&, const wxString&, unsigned int, int)’:
src/static/wx_controls/code/gcTaskBar.cpp:308:8: error: too few arguments to function ‘NotifyNotification* notify_notification_new(const char*, const char*, const char*, GtkWidget*)’
/usr/include/libnotify/notification.h:79:21: note: declared here
make: *** [out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcTaskBar.o] Error 1
make: *** Waiting for unfinished jobs....
(...)
-----------------------------------------------------------
Building project uicore
-----------------------------------------------------------
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcTaskBar.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcUpProgBar.o
CXX(target) out/Debug/obj.target/wx_controls/src/static/wx_controls/code/guiDelegate.o
In file included from src/include/wx_controls/gcFrame.h:29:0,
from src/static/wx_controls/code/gcTaskBar.cpp:23:
src/include/wx_controls/gcCustomFrame.h: In constructor ‘gcCustomFrame<T>::gcCustomFrame(wxWindow*, wxWindowID, const wxString&, const wxPoint&, const wxSize&, long int)’:
src/include/wx_controls/gcCustomFrame.h:48:62: warning: there are no arguments to ‘Create’ that depend on a template parameter, so a declaration of ‘Create’ must be available
src/include/wx_controls/gcCustomFrame.h:60:22: warning: there are no arguments to ‘GetSize’ that depend on a template parameter, so a declaration of ‘GetSize’ must be available
src/include/wx_controls/gcCustomFrame.h:60:38: warning: there are no arguments to ‘GetClientSize’ that depend on a template parameter, so a declaration of ‘GetClientSize’ must be available
src/include/wx_controls/gcCustomFrame.h:67:10: warning: there are no arguments to ‘Layout’ that depend on a template parameter, so a declaration of ‘Layout’ must be available
src/include/wx_controls/gcCustomFrame.h:68:15: warning: there are no arguments to ‘Refresh’ that depend on a template parameter, so a declaration of ‘Refresh’ must be available
src/static/wx_controls/code/gcTaskBar.cpp: In member function ‘bool gcTaskBarIcon::ShowBalloon(const wxString&, const wxString&, unsigned int, int)’:
src/static/wx_controls/code/gcTaskBar.cpp:308:8: error: too few arguments to function ‘NotifyNotification* notify_notification_new(const char*, const char*, const char*, GtkWidget*)’
/usr/include/libnotify/notification.h:79:21: note: declared here
make: *** [out/Debug/obj.target/wx_controls/src/static/wx_controls/code/gcTaskBar.o] Error 1
make: *** Waiting for unfinished jobs....```
any ideia?
from desurium.
Use the latest libnotify, or go to the line and screw with the ifdef.
from desurium.
@LarryRotgut thanks, It helped :)
I also built Desurium on Fedora - there was problem with lstdc++
while building bootloader. I tried different packages and making symlinks, but no luck. What helped was removing -static-libstdc++
from Desurium/src/executable/bootloader_lin/bootloader_lin.gyp
;)
from desurium.
in gentoo I had to replace all the type settings with none in order to the libs.gyp errors to go away. anyway compiling now hopefully it'll work.
from desurium.
A reminder to you guys -- If you fix stuff, please submit a pull request.
from desurium.
I fixed the settings -> none error on my fork. Will push soon.
from desurium.
Related Issues (20)
- Add precompiled headers for windows builds
- Trouble by using 32bit Desura games in openSUSE 64bit HOT 3
- libcef crash on Ubuntu 13.10 with segfault HOT 6
- Game updates dont update desura cache
- Progress doesnt always finish at 100% for mcf uploads
- Form height sometimes crops buttons and other form elements
- cvarlist should be sorted alphabetically
- Prepare page for items doesnt close on error and stays in zombie state
- error during update causes item state to get stuck in updating at 0%
- Linux fails to exit cleanly when libunittests.so is loaded
- Fix wildcard manager to not use raw c strings and instead return std::string
- Mcf create can throw exceptions and skip files
- Create mcf form stays open if it has an error during parsing directory
- Some forms in linux cant accommodate all text HOT 2
- 64 bit version forcibly installs wine-silverlight5.1-installer package
- Removed boost::thread in favor of std::thread
- Gamepad support
- Compiling with VS doesn't work HOT 2
- Build errors : mcf_util.dir/code/UploadMCF.cpp.o and mcf_util.dir/all HOT 5
- RPM .spec files HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from desurium.