Über ein Jahr lang habe ich Boosts Bimap für die Grundlage eines Bestandssystems verwendet. < /p>
typedef boost::bimap InventoryBimap;
< /code>
Nach der Aktualisierung von Unreal 4 zu Unreal 5 habe ich jedoch einige andere Änderungen vorgenommen. Ich bin von Boost 1.68.0 auf 1.79,0 bewegt. Ich bin von C ++ 17 nach C ++ 20 umgezogen. > Es gibt zwei Quellen für eine Reihe von Kompilierungsfehlern, die verhindern, dass mein Spiel zusammengestellt wird: < /p>
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2988: unrecognizable template declaration/definition
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(127): note: see reference to class template instantiation 'boost::detail::ptr_to_expr' being compiled
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2059: syntax error: ''
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2988: unrecognizable template declaration/definition
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2059: syntax error: '->'
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2238: unexpected token(s) preceding ';'
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(123): error C2988: unrecognizable template declaration/definition
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(123): error C2059: syntax error: ''
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(123): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
< /code>
Und dann: < /p>
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(397): error C2988: unrecognizable template declaration/definition
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(407): note: see reference to class template instantiation 'boost::detail::alloc_has_allocate' being compiled
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(397): error C2059: syntax error: ''
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(397): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(398): error C2988: unrecognizable template declaration/definition
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(398): error C2059: syntax error: '->'
1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(400): error C2238: unexpected token(s) preceding ';'
< /code>
Der zweite Fehler wiederholt sich für jede einzelne Vorlage innerhalb von allocator_access.hpp. Kommentieren Sie das gesamte Bimap in meinem Projekt.>
Über ein Jahr lang habe ich Boosts Bimap für die Grundlage eines Bestandssystems verwendet. < /p> typedef boost::bimap InventoryBimap; < /code> Nach der Aktualisierung von Unreal 4 zu Unreal 5 habe ich jedoch einige andere Änderungen vorgenommen. Ich bin von Boost 1.68.0 auf 1.79,0 bewegt. Ich bin von C ++ 17 nach C ++ 20 umgezogen. > Es gibt zwei Quellen für eine Reihe von Kompilierungsfehlern, die verhindern, dass mein Spiel zusammengestellt wird: < /p> 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2988: unrecognizable template declaration/definition 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(127): note: see reference to class template instantiation 'boost::detail::ptr_to_expr' being compiled 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2059: syntax error: '' 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2334: unexpected token(s) preceding '{'; skipping apparent function body 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2988: unrecognizable template declaration/definition 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2059: syntax error: '->' 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(120): error C2238: unexpected token(s) preceding ';' 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(123): error C2988: unrecognizable template declaration/definition 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(123): error C2059: syntax error: '' 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\pointer_traits.hpp(123): error C2334: unexpected token(s) preceding '{'; skipping apparent function body < /code> Und dann: < /p> 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(397): error C2988: unrecognizable template declaration/definition 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(407): note: see reference to class template instantiation 'boost::detail::alloc_has_allocate' being compiled 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(397): error C2059: syntax error: '' 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(397): error C2334: unexpected token(s) preceding '{'; skipping apparent function body 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(398): error C2988: unrecognizable template declaration/definition 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(398): error C2059: syntax error: '->' 1>H:\UnrealEngine\Engine\Source\ThirdParty\boost\boost-1_79_0\include\boost\core\allocator_access.hpp(400): error C2238: unexpected token(s) preceding ';' < /code> Der zweite Fehler wiederholt sich für jede einzelne Vorlage innerhalb von allocator_access.hpp. Kommentieren Sie das gesamte Bimap in meinem Projekt.>
Ich weiß, dass dieses Problem regelmäßig auftritt, ich habe jedoch noch keinen Thread gefunden, der mein Problem gelöst hat. Wenn es sich um eine doppelte Frage handelt, würde ich mich freuen, wenn...
begann kürzlich mit der Entwicklung einer grundlegenden ANPR -Anwendung mit OpenCV und Pytesseract. Die Gesamtkonturierung und das Zuschneiden scheint zu funktionieren, aber es gibt ein eklatantes...
Ich habe seit Stunden/Tagen noch keine Lösung gefunden. Ich habe gerade einen neuen Endpunkt für das Hochladen von Dateien hinzugefügt. Die Endpunktmethode-Ressource ist derzeit definiert als (zum...
Ich habe seit Stunden/Tagen noch keine Lösung gefunden. Ich habe gerade einen neuen Endpunkt für das Hochladen von Dateien hinzugefügt. Die Endpunktmethode-Ressource ist derzeit definiert als (zum...
Warum werden in Unreal Engine 5 beim Erstellen einer neuen Third-Person-C++-Vorlage, in der ich nichts geändert habe, 43 Fehler in meiner Fehlerliste angezeigt, meist mit dem Code:
E0070...