Ir para conteúdo
  • 0

Erro Ao Copilar Tfs 0.2 No Codeblocks


MatheusEnjoy

Pergunta

Boa tarde,

 

Estou com um pequeno problema no meu Codeblocks, ao copilar o TFS 0.2 ele apresenta o seguinte erro:

 

 

||=== The Forgotten Server, Console ===|
C:\Users\Matheus\Tibia\0.2.10.r100\luascript.cpp||In member function 'virtual bool LuaScriptInterface::initState()'
C:\Users\Matheus\Tibia\0.2.10.r100\luascript.cpp|740|error: 'LUAJIT_MODE_ENGINE' was not declared in this scope|
C:\Users\Matheus\Tibia\0.2.10.r100\luascript.cpp|740|error: 'LUAJIT_MODE_ON' was not declared in this scope|
C:\Users\Matheus\Tibia\0.2.10.r100\luascript.cpp|740|error: 'luaJIT_setmode' was not declared in this scope|
||=== Build finished: 3 errors, 0 warnings ===|

 

Na linha 740 á a seguinte sting:

 

luaJIT_setmode(m_luaState, 0, LUAJIT_MODE_ENGINE | LUAJIT_MODE_ON);

 

Creio que seja algum erro nas minhas libs, mais não faço ideia de qual.

 

Alguém sabe me ajudar?

 

 

Atenciosamente

Link para o comentário
Compartilhar em outros sites

3 respostass a esta questão

Posts Recomendados

  • 0

tfs_libraries.7z

 

Mova o conteúdo do arquivo para o diretório MingGW dentro do diretório onde você instalou o Code::Blocks.

 

Muito obrigado Oneshot, seu método funcionou aqui. Instalei as libs do TFS e deu certo.

 

tem a lib do LuaJIT? nunca compilei com o Code::Blocks, mas tenta ai

esse aqui é o link do site official do LuaJIT, deve ter pra baixar lá

http://luajit.org/download.html

 

Mesmo não tendo funcionado muito obrigado.

 

 

 

@Topic

 

 

-------------- Build: Console in The Forgotten Server ---------------

WARNING: Can't read file's timestamp: C:\Users\Matheus\Tibia\0.2.10.r100\account.cpp
Compiling: ..\luascript.cpp
Compiling: ..\mailbox.cpp
Compiling: ..\map.cpp
Compiling: ..\md5.cpp
Compiling: ..\monster.cpp
Compiling: ..\monsters.cpp
Compiling: ..\mounts.cpp
Compiling: ..\movement.cpp
Compiling: ..\networkmessage.cpp
Compiling: ..\npc.cpp
Compiling: ..\otserv.cpp
Compiling: ..\outfit.cpp
Compiling: ..\outputmessage.cpp
Compiling: ..\party.cpp
Compiling: ..\player.cpp
Compiling: ..\playerbox.cpp
Compiling: ..\position.cpp
Compiling: ..\protocol.cpp
Compiling: ..\protocolgame.cpp
Compiling: ..\protocollogin.cpp
Compiling: ..\protocolold.cpp
Compiling: ..\quests.cpp
Compiling: ..\raids.cpp
Compiling: ..\rsa.cpp
Compiling: ..\scheduler.cpp
Compiling: ..\scriptmanager.cpp
Compiling: ..\server.cpp
Compiling: ..\sha1.cpp
Compiling: ..\spawn.cpp
Compiling: ..\spells.cpp
Compiling: ..\status.cpp
Compiling: ..\talkaction.cpp
Compiling: ..\tasks.cpp
Compiling: ..\teleport.cpp
Compiling: ..\textlogger.cpp
Compiling: ..\thing.cpp
Compiling: ..\tile.cpp
Compiling: ..\tools.cpp
Compiling: ..\trashholder.cpp
Compiling: ..\vocation.cpp
Compiling: ..\waitlist.cpp
Compiling: ..\weapons.cpp
Linking console executable: bin\Console\The Forgotten Server.exe
mingw32-g++.exe: obj\Console\account.o: No such file or directory
Process terminated with status 1 (2 minutes, 48 seconds)
0 errors, 0 warnings

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...