Linux
Started by Patrikb56




16 posts in this topic
Patrikb56
Unregistered


 
04-19-2014, 08:53 PM -
#11
New error appears:
[ 0%] Building CXX object CMakeFiles/rpcs3.dir/Emu/CPU/CPUThreadManager.cpp.o
In file included from /home/patrik/rpcs3/rpcs3/stdafx.h:279:0,
from /home/patrik/rpcs3/rpcs3/Emu/CPU/CPUThreadManager.cpp:1:
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h: In instantiation of ‘ID_TYPE IdManager::GetNewID(const string&, T*, u32) [with T = CPUThread; ID_TYPE = unsigned int; std:Confusedtring = std::basic_string<char>; u32 = unsigned int]’:
/home/patrik/rpcs3/rpcs3/Emu/CPU/CPUThreadManager.cpp:39:121: required from here
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h:116:22: error: use of deleted function ‘ID& ID::operator=(const ID&ampWink
m_id_map[m_cur_id] = std::move(ID(name, data, attr));
^
/home/patrik/rpcs3/rpcs3/../Utilities/IdManager.h:35:8: note: ‘ID& ID::operator=(const ID&ampWink’ is implicitly declared as deleted because ‘ID’ declares a move constructor or move assignment operator
struct ID
^
make[2]: *** [CMakeFiles/rpcs3.dir/Emu/CPU/CPUThreadManager.cpp.o] Error 1
make[1]: *** [CMakeFiles/rpcs3.dir/all] Error 2
make: *** [all] Error 2
mushroom
Unregistered


 
04-19-2014, 09:17 PM -
#12
Sounds like an issue with the move constructor:

http://en.cppreference.com/w/cpp/languag...onstructor

I have never had this issue before so others can probably elaborate better than me, but isn't the issue because of the copy constructor is implicitly deleted using the move constructor?
Bigpet
Unregistered


 
04-19-2014, 09:34 PM -
#13
The VS2013 CTP gave me the same problem, removing the redundant "std::move" and declaring and defining the move assignment operator fixed it for me.
Patrikb56
Unregistered


 
04-23-2014, 12:30 PM -
#14
New error Big Grin
Scanning dependencies of target rpcs3
[ 0%] Building CXX object CMakeFiles/rpcs3.dir/rpcs3.cpp.o
[ 1%] Building CXX object CMakeFiles/rpcs3.dir/AppConnector.cpp.o
[ 1%] Building CXX object CMakeFiles/rpcs3.dir/Ini.cpp.o
[ 2%] Building CXX object CMakeFiles/rpcs3.dir/Emu/Event.cpp.o
[ 2%] Building CXX object CMakeFiles/rpcs3.dir/Emu/HDD/HDD.cpp.o
[ 3%] Building CXX object CMakeFiles/rpcs3.dir/Emu/Cell/RawSPUThread.cpp.o
[ 3%] Building CXX object CMakeFiles/rpcs3.dir/Emu/Cell/PPCThread.cpp.o
[ 4%] Building CXX object CMakeFiles/rpcs3.dir/Emu/Cell/PPCThreadManager.cpp.o
[ 5%] Building CXX object CMakeFiles/rpcs3.dir/Emu/Cell/SPUThread.cpp.o
In file included from /home/patrik/rpcs3/rpcs3/Emu/Cell/SPUThread.cpp:6:0:
/home/patrik/rpcs3/rpcs3/Emu/Cell/SPURecompiler.h:10:20: fatal error: asmjit.h: File or directory not found
#include "asmjit.h"
^
compilation terminated.
make[2]: *** [CMakeFiles/rpcs3.dir/Emu/Cell/SPUThread.cpp.o] Error 1
make[1]: *** [CMakeFiles/rpcs3.dir/all] Error 2
make: *** [all] Error 2
ssshadow
Moderator
*****


4
2,494 posts 63 threads Joined: Aug 2017
04-23-2014, 04:47 PM -
#15
It says right there, asmjit not found. Download all external stuff as seen on the github page.
Bigpet
Unregistered


 
04-23-2014, 05:48 PM -
#16
ssshadow: the cmake file hasn't been updated afaik, downloading it won't help him, he has to add it to the CMakeList.txt
Patrikb56
Unregistered


 
04-24-2014, 08:06 PM -
#17
(04-23-2014, 05:48 PM)Bigpet Wrote: ssshadow: the cmake file hasn't been updated afaik, downloading it won't help him, he has to add it to the CMakeList.txt

So ... cann somebody update the cmake file? I really don't know how to do it. Everything what I know is how to compile it. Smile


Forum Jump:


Users browsing this thread: 1 Guest(s)