@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……
Search Criteria
Package Base Details: dolphin-emu-git
Package Actions
Git Clone URL: | https://aur.archlinux.org/dolphin-emu-git.git (read-only, click to copy) |
---|---|
Keywords: | dolphin emu emulator game gamecube gui nintendo remote revolution triforce wii wiimote |
Submitter: | None |
Maintainer: | dpeukert |
Last Packager: | dpeukert |
Votes: | 120 |
Popularity: | 0.22 |
First Submitted: | 2011-08-20 13:05 (UTC) |
Last Updated: | 2024-05-09 20:26 (UTC) |
Packages (3)
Latest Comments
« First ‹ Previous 1 .. 45 46 47 48 49 50 51 52 53 Next › Last »
<deleted-account> commented on 2012-03-02 07:16 (UTC)
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 :)
<deleted-account> commented on 2012-03-02 02:22 (UTC)
Thanks to chenxiaolong. Another thing to notify is that it now won't do a meaningless copy of the source code. It starts cmake in ${_gitname}-build instead of ${_gitname}-build/build.
chenxiaolong commented on 2012-03-01 18:29 (UTC)
For those who don't want to alter the global CXXFLAGS, the following can be added to the PKGBUILD (anywhere before the cmake line):
export CXXFLAGS="${CXXFLAGS} -fpermissive"
<deleted-account> commented on 2012-03-01 10:10 (UTC)
Rewrite for dependencies. Note: for use of bluez, you need to add -fpermissive in your CXXFLAGS.
<deleted-account> commented on 2012-01-16 02:44 (UTC)
updated
<deleted-account> commented on 2012-01-15 05:37 (UTC)
@peacememories:
It may be a problem upstream. I will see to it.
peacememories commented on 2012-01-13 20:36 (UTC)
For the record: activating -fpermissive flags "solves" the problem.
Please add that to the PKGBUILD (at least temporarily. I suppose there should be a fix for bluez soon? hopefully?)
peacememories commented on 2012-01-13 20:10 (UTC)
Got a problem here:
In file included from /tmp/dolphin-emu-git/src/dolphin-emu-build/Source/Core/Core/Src/HW/WiimoteReal/WiimoteRealBase.h:26:0,
from /tmp/dolphin-emu-git/src/dolphin-emu-build/Source/Core/Core/Src/HW/WiimoteReal/WiimoteReal.h:24,
from /tmp/dolphin-emu-git/src/dolphin-emu-build/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: invalid conversion from ‘void*’ to ‘bt_get_le64(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_be64(void*)’:
/usr/include/bluetooth/bluetooth.h:136:9: error: invalid conversion from ‘void*’ to ‘bt_get_be64(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_le32(void*)’:
/usr/include/bluetooth/bluetooth.h:141:9: error: invalid conversion from ‘void*’ to ‘bt_get_le32(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_be32(void*)’:
/usr/include/bluetooth/bluetooth.h:146:9: error: invalid conversion from ‘void*’ to ‘bt_get_be32(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_le16(void*)’:
/usr/include/bluetooth/bluetooth.h:151:9: error: invalid conversion from ‘void*’ to ‘bt_get_le16(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_be16(void*)’:
/usr/include/bluetooth/bluetooth.h:156:9: error: invalid conversion from ‘void*’ to ‘bt_get_be16(void*)::<anonymous struct>*’ [-fpermissive]
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/Src/HW/Wiimote.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /tmp/dolphin-emu-git/src/dolphin-emu-build/Source/Core/Core/Src/HW/WiimoteEmu/../WiimoteReal/WiimoteRealBase.h:26:0,
from /tmp/dolphin-emu-git/src/dolphin-emu-build/Source/Core/Core/Src/HW/WiimoteEmu/../WiimoteReal/WiimoteReal.h:24,
from /tmp/dolphin-emu-git/src/dolphin-emu-build/Source/Core/Core/Src/HW/WiimoteEmu/WiimoteEmu.cpp:27:
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_le64(void*)’:
/usr/include/bluetooth/bluetooth.h:131:9: error: invalid conversion from ‘void*’ to ‘bt_get_le64(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint64_t bt_get_be64(void*)’:
/usr/include/bluetooth/bluetooth.h:136:9: error: invalid conversion from ‘void*’ to ‘bt_get_be64(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_le32(void*)’:
/usr/include/bluetooth/bluetooth.h:141:9: error: invalid conversion from ‘void*’ to ‘bt_get_le32(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint32_t bt_get_be32(void*)’:
/usr/include/bluetooth/bluetooth.h:146:9: error: invalid conversion from ‘void*’ to ‘bt_get_be32(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_le16(void*)’:
/usr/include/bluetooth/bluetooth.h:151:9: error: invalid conversion from ‘void*’ to ‘bt_get_le16(void*)::<anonymous struct>*’ [-fpermissive]
/usr/include/bluetooth/bluetooth.h: In function ‘uint16_t bt_get_be16(void*)’:
/usr/include/bluetooth/bluetooth.h:156:9: error: invalid conversion from ‘void*’ to ‘bt_get_be16(void*)::<anonymous struct>*’ [-fpermissive]
make[2]: *** [Source/Core/Core/CMakeFiles/core.dir/Src/HW/WiimoteEmu/WiimoteEmu.cpp.o] Error 1
make[1]: *** [Source/Core/Core/CMakeFiles/core.dir/all] Error 2
make: *** [all] Error 2
Apparently a problem with bluez, but I have no idea how to fix it. Please help!
<deleted-account> commented on 2012-01-09 00:24 (UTC)
works well
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