Even with adding -fpermissive to CXXFLAGS and CFLAGS any way mentioned in the comments here I still/always get:
[ 68%] Building CXX object Source/Core/Core/CMakeFiles/core.dir/Src/HW/Wiimote.cpp.o
In file included from /tmp/yaourt-tmp/aur-dolphin-emu-git/src/dolphin-emu/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h:26:0,
from /tmp/yaourt-tmp/aur-dolphin-emu-git/src/dolphin-emu/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h:24,
from /tmp/yaourt-tmp/aur-dolphin-emu-git/src/dolphin-emu/Source/Core/Core/Src/HW/Wiimote.cpp:5:
/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_le64(void*)':
/usr/include/bluetooth/bluetooth.h:131:9: error: expected identifier before '*' token
/usr/include/bluetooth/bluetooth.h:131:9: error: expected ',' or '...' before '(' token
/usr/include/bluetooth/bluetooth.h:131:9: error: expected ';' at end of member declaration
/usr/include/bluetooth/bluetooth.h:131:9: error: '__v' does not name a type
/usr/include/bluetooth/bluetooth.h:131:9: error: 'typeof' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:131:9: error: 'struct bt_get_le64(void*)::<anonymous>' has no member named '__v'
/usr/include/bluetooth/bluetooth.h: In function 'uint64_t bt_get_be64(void*)':
/usr/include/bluetooth/bluetooth.h:136:9: error: expected identifier before '*' token
/usr/include/bluetooth/bluetooth.h:136:9: error: expected ',' or '...' before '(' token
/usr/include/bluetooth/bluetooth.h:136:9: error: expected ';' at end of member declaration
/usr/include/bluetooth/bluetooth.h:136:9: error: '__v' does not name a type
/usr/include/bluetooth/bluetooth.h:136:9: error: 'typeof' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:136:9: error: 'struct bt_get_be64(void*)::<anonymous>' has no member named '__v'
/usr/include/bluetooth/bluetooth.h: In function 'uint32_t bt_get_le32(void*)':
/usr/include/bluetooth/bluetooth.h:141:9: error: expected identifier before '*' token
/usr/include/bluetooth/bluetooth.h:141:9: error: expected ',' or '...' before '(' token
/usr/include/bluetooth/bluetooth.h:141:9: error: expected ';' at end of member declaration
/usr/include/bluetooth/bluetooth.h:141:9: error: '__v' does not name a type
/usr/include/bluetooth/bluetooth.h:141:9: error: 'typeof' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:141:9: error: 'struct bt_get_le32(void*)::<anonymous>' has no member named '__v'
/usr/include/bluetooth/bluetooth.h: In function 'uint32_t bt_get_be32(void*)':
/usr/include/bluetooth/bluetooth.h:146:9: error: expected identifier before '*' token
/usr/include/bluetooth/bluetooth.h:146:9: error: expected ',' or '...' before '(' token
/usr/include/bluetooth/bluetooth.h:146:9: error: expected ';' at end of member declaration
/usr/include/bluetooth/bluetooth.h:146:9: error: '__v' does not name a type
/usr/include/bluetooth/bluetooth.h:146:9: error: 'typeof' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:146:9: error: 'struct bt_get_be32(void*)::<anonymous>' has no member named '__v'
/usr/include/bluetooth/bluetooth.h: In function 'uint16_t bt_get_le16(void*)':
/usr/include/bluetooth/bluetooth.h:151:9: error: expected identifier before '*' token
/usr/include/bluetooth/bluetooth.h:151:9: error: expected ',' or '...' before '(' token
/usr/include/bluetooth/bluetooth.h:151:9: error: expected ';' at end of member declaration
/usr/include/bluetooth/bluetooth.h:151:9: error: '__v' does not name a type
/usr/include/bluetooth/bluetooth.h:151:9: error: 'typeof' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:151:9: error: 'struct bt_get_le16(void*)::<anonymous>' has no member named '__v'
/usr/include/bluetooth/bluetooth.h: In function 'uint16_t bt_get_be16(void*)':
/usr/include/bluetooth/bluetooth.h:156:9: error: expected identifier before '*' token
/usr/include/bluetooth/bluetooth.h:156:9: error: expected ',' or '...' before '(' token
/usr/include/bluetooth/bluetooth.h:156:9: error: expected ';' at end of member declaration
/usr/include/bluetooth/bluetooth.h:156:9: error: '__v' does not name a type
/usr/include/bluetooth/bluetooth.h:156:9: error: 'typeof' was not declared in this scope
/usr/include/bluetooth/bluetooth.h:156:9: error: 'struct bt_get_be16(void*)::<anonymous>' has no member named '__v'
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/Src/HW/Wiimote.cpp.o] Error 1
make[1]: *** [Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [all] Error 2
Search Criteria
Package Details: dolphin-emu-git 2409.r299.gd1ef4d5cc1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
---|---|
Package Base: | dolphin-emu-git |
Description: | A Gamecube / Wii emulator - git version |
Upstream URL: | https://dolphin-emu.org |
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Licenses: | GPL-2.0-or-later |
Conflicts: | dolphin-emu |
Provides: | dolphin-emu |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 123 |
Popularity: | 0.52 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2024-11-10 13:18 (UTC) |
Dependencies (53)
- alsa-lib
- bluez-libs (bluez-gitAUR)
- bzip2 (bzip2-gitAUR)
- cubebAUR (cubeb-gitAUR, cubebAUR)
- enet (enet-gtkorvo-gitAUR, enet-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- hidapi (hidapi-gitAUR)
- libavcodec.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg, ffmpeg4.4)
- libavformat.so (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg-compat-55AUR, ffmpeg-compat-54AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg, ffmpeg4.4)
- libavutil.so (libavutil-52AUR, ffmpeg-nvcodec-11-1-gitAUR, ffmpeg3.4AUR, ffmpeg2.8AUR, ffmpeg-cudaAUR, ffmpeg-fullAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-ffplayoutAUR, ffmpeg-full-gitAUR, ffmpeg-gitAUR, lib32-ffmpegAUR, ffmpeg-headlessAUR, ffmpeg-amd-full-gitAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg, ffmpeg4.4)
- libcurl.so (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR, curl, lib32-curl)
- libevdev (libevdev-gitAUR)
- libfmt.so (fmt-gitAUR, fmt9AUR, fmt10AUR, fmt)
- libgl (libglvnd-gitAUR, amdgpu-pro-oglp-legacyAUR, amdgpu-pro-oglpAUR, nvidia-340xx-utilsAUR, libglvnd)
- libminiupnpc.so (miniupnpc)
- libpulse (pulseaudio-dummyAUR, libpulse-gitAUR)
- libsfml-network.so (sfml-gitAUR, sfml)
- libsfml-system.so (sfml-gitAUR, sfml)
- Show 33 more dependencies...
Required by (3)
- chimera (requires dolphin-emu)
- dolphin-emu-nogui-git (requires dolphin-emu)
- emulationstation (requires dolphin-emu) (optional)
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 48 49 50 51 52 53 54 55 56 Next › Last »
neXyon commented on 2012-03-07 09:01 (UTC)
chenxiaolong commented on 2012-03-05 23:00 (UTC)
@sgsdxzy: Yeah, you're probably right. I just saw that C was also used (project statistics at https://code.google.com/p/dolphin-emu/).
I'm currently in class right now, so I can't test, but bluez just got updated and a patch was included: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/bluez&id=1e8615b5bfcdbd34a70dd66c620f91fc54972790
Maybe the build issue is fixed?
<deleted-account> commented on 2012-03-04 08:43 (UTC)
@chenxiaolong
But dolphin is written in C++
It used to be
……
_gitname=dolphin-emu
CXXFLAGS="-fpermissive"
build() {
……
Although it override user-specific CXXFLAGS, it worked fine. No CFLAGS is needed.
chenxiaolong commented on 2012-03-04 07:26 (UTC)
Oh, crap. I forgot: bluez is written in C, not C++, so the following is also needed:
export CFLAGS="${CFLAGS} -fpermissive"
<deleted-account> commented on 2012-03-04 04:57 (UTC)
I had added -fpermissive in the PKGBUILD using the line from @chenxiaolong.
export CXXFLAGS="${CXXFLAGS} -fpermissive"
Uninstalling bluez fixed it for me though.
<deleted-account> commented on 2012-03-04 03:43 (UTC)
@rlipman
I can't figure out why adding -fpermissive to your CXXFLAGS don't work. How do you add it?
First, you can use that patch for bluez.
Or, simply uninstall bluez and compile dolphin. If you don't need to use a real wiimote, wiiuse and bluez isn't dependencies.
<deleted-account> commented on 2012-03-04 00:22 (UTC)
I have the same build problem as @peacememories, but adding -fpermissive to my CXXFLAGS didn't fix it. Is there a way to build it without bluez and avoid this issue in the meantime?
I also found out the issue is a bug in bluez, not in dolphin
http://marc.info/?l=linux-bluetooth&m=132843961422749&w=2
chenxiaolong commented on 2012-03-02 16:24 (UTC)
Ahhh...sorry. I should have looked at the PKGBUILD before speaking :) I agree with you on your point. It's pointless to make a copy since most build systems can build in a separate directory.
(when I first used Arch, I had no idea that /tmp was a ramfs. I tried to build chromium-git in /tmp and wondered why the computer froze...:D)
<deleted-account> commented on 2012-03-02 07:16 (UTC)
@chenxiaolong
What you do is in {_gitname}/build/ cmake..
What I do is in {_gitname}-build/ cmake ../{_gitname}
That's same. No copy is needed.
What it used to do is copy contents in {_gitname}/ to {_gitname}-build and in {_gitname}-build/build cmake ..
I found almost every PKGBUILD with git and cmake do the copy…… Some source can reach 1G+ and the copy is just a waste of time and space especially for those use yaourt's default build location and mount /tmp to ram……
chenxiaolong commented on 2012-03-02 05:55 (UTC)
@sgsdxzy: Actually, if you want you can just have ${_gitname}/ and then:
if [ -d build ]; then rm -rf build; fi
mkdir build
cmake ......
There's no need to make any copy, since building from a subdirectory does not modify the original code (with CMake). Also, it will not affect later builds :)
Pinned Comments
dpeukert commented on 2020-04-10 12:34 (UTC) (edited on 2020-09-26 17:48 (UTC) by dpeukert)
The PKGBUILD for this package is hosted here (contributions are welcome!): https://gitlab.com/dpeukert/pkgbuilds/tree/main/dolphin-emu-git