Eroare compilare sursa

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
metrickz
Nivel 1

Nivel 1
Mesaje: 52
Membru din: 23 Aug 2014, 07:02
Aprecieri: 3  
Mulţumiri: 0
Medalii

*Problemă: Nu pot compila sursa
Tipologie server:
*Resursă folosită:
*ServerFiles utilizat:
*Syserr:

Cod: Selectaţi tot

 [Compilat]  BattleArena.cpp
 [Compilat]  FSM.cpp
 [Compilat]  MarkConvert.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
 [Compilat]  MarkImage.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
 [Compilat]  MarkManager.cpp
 [Compilat]  OXEvent.cpp
 [Compilat]  TrafficProfiler.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
 [Compilat]  ani.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
 [Compilat]  arena.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
 [Compilat]  banword.cpp
 [Compilat]  battle.cpp
 [Compilat]  blend_item.cpp
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
 [Compilat]  block_country.cpp
 [Compilat]  buffer_manager.cpp
In file included from stdafx.h:39,
                 from MarkImage.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
 [Compilat]  building.cpp
compilation terminated.
 [Compilat]  castle.cpp
 [Compilat]  char.cpp
In file included from stdafx.h:39,
                 from MarkManager.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
In file included from stdafx.h:39,
                 from OXEvent.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** [Makefile:126: OBJDIR/MarkManager.o] Error 1
compilation terminated.
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** Waiting for unfinished jobs....
In file included from stdafx.h:39,
                 from TrafficProfiler.cpp:10:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gmake: *** [Makefile:126: OBJDIR/MarkImage.o] Error 1
compilation terminated.
In file included from stdafx.h:39,
                 from BattleArena.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from stdafx.h:39,
                 from banword.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:126: OBJDIR/OXEvent.o] Error 1
compilation terminated.
In file included from stdafx.h:39,
                 from battle.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
gmake: *** [Makefile:126: OBJDIR/TrafficProfiler.o] Error 1
In file included from stdafx.h:39,
                 from MarkConvert.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from stdafx.h:39,
                 from ani.cpp:10:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:126: OBJDIR/BattleArena.o] Error 1
compilation terminated.
compilation terminated.
In file included from stdafx.h:39,
                 from blend_item.cpp:10:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:126: OBJDIR/battle.o] Error 1
compilation terminated.
gmake: *** [Makefile:126: OBJDIR/banword.o] Error 1
gmake: *** [Makefile:126: OBJDIR/ani.o] Error 1
gmake: *** [Makefile:126: OBJDIR/blend_item.o] Error 1
In file included from stdafx.h:39,
                 from char.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:126: OBJDIR/MarkConvert.o] Error 1
In file included from stdafx.h:39,
                 from arena.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
gmake: *** [Makefile:125: OBJDIR/char.o] Error 1
In file included from stdafx.h:39,
                 from building.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from stdafx.h:39,
                 from buffer_manager.cpp:1:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from stdafx.h:39,
                 from castle.cpp:12:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
compilation terminated.
gmake: *** [Makefile:125: OBJDIR/arena.o] Error 1
compilation terminated.
gmake: *** [Makefile:125: OBJDIR/building.o] Error 1
In file included from stdafx.h:39,
                 from block_country.cpp:10:
event.h:10:10: fatal error: boost/intrusive_ptr.hpp: No such file or directory
 #include <boost/intrusive_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile:125: OBJDIR/buffer_manager.o] Error 1
compilation terminated.
gmake: *** [Makefile:125: OBJDIR/castle.o] Error 1
gmake: *** [Makefile:125: OBJDIR/block_country.o] Error 1
[/b]
Poză:
*Detalii suplimentare:
Avatar utilizator
xKozeD.
Nivel 4

Nivel 4
Mesaje: 599
Membru din: 18 Sep 2015, 19:23
Aprecieri: 152  
Mulţumiri: 1696  
Discord: Copiază ID
 Contact:
Medalii

Nu ai pus externul bine.
Imagine
Afișează semnătura
Avatar utilizator
metrickz
Nivel 1

Nivel 1
Mesaje: 52
Membru din: 23 Aug 2014, 07:02
Aprecieri: 3  
Mulţumiri: 0
Medalii

Am rezolvat partea cu externul, dar acum primesc o eroare si mai lunga si nu inteleg de la ce poate fi, ca inainte functiona... :-s


Iar la inceput, imi compileaza vreo 2-3 fisiere, apoi primesc si eroarea asta:
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead

apoi celelalte.
Avatar utilizator
Ley
Nivel 9

Nivel 9
Mesaje: 1934
Membru din: 09 Feb 2017, 22:30
Server: Colossus2
Regat: Jinno
Aprecieri: 221  
Mulţumiri: 1338  
Medalii

Subiect vechi.
Imagine
Afișează semnătura
Închis
Răspunsuri
4
Vizualizări
425
Răspunsuri
2
Vizualizări
138
Răspunsuri
1
Vizualizări
169
Răspunsuri
10
Vizualizări
690

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 16 vizitatori