hi guys,
I found the solution, I added-lrt in the makefile.
but now I have another problem, I ran the second command "make install-spring" and I get this error:
Code: Select all
Creating cursors.sdz
[ 76%] Built target gamedata
[ 76%] Creating library SkirmishAI.jar
nulljavaai/NullJavaAI.java:21: package com.springrts.ai does not exist
import com.springrts.ai.*;
^
nulljavaai/NullJavaAI.java:22: package com.springrts.ai.event does not exist
import com.springrts.ai.event.*;
^
nulljavaai/NullJavaAI.java:23: package com.springrts.ai.command does not exist
import com.springrts.ai.command.*;
^
nulljavaai/NullJavaAI.java:37: cannot find symbol
symbol: class AI
public class NullJavaAI implements AI {
^
nulljavaai/NullJavaAI.java:40: cannot find symbol
symbol : class AICallback
location: class nulljavaai.NullJavaAI
private AICallback clb = null;
^
nulljavaai/NullJavaAI.java:81: cannot find symbol
symbol : class AICallback
location: class nulljavaai.NullJavaAI
public int init(int teamId, AICallback callback) {
^
nulljavaai/NullJavaAI.java:80: method does not override or implement a method from a supertype
@Override
^
nulljavaai/NullJavaAI.java:141: method does not override or implement a method from a supertype
@Override
^
nulljavaai/NullJavaAI.java:167: cannot find symbol
symbol : variable InitAIEvent
location: class nulljavaai.NullJavaAI
if (topic == InitAIEvent.TOPIC) {
^
nulljavaai/NullJavaAI.java:170: cannot find symbol
symbol : class InitAIEvent
location: class nulljavaai.NullJavaAI
InitAIEvent evt = new InitAIEvent(event);
^
nulljavaai/NullJavaAI.java:170: cannot find symbol
symbol : class InitAIEvent
location: class nulljavaai.NullJavaAI
InitAIEvent evt = new InitAIEvent(event);
^
nulljavaai/NullJavaAI.java:190: cannot find symbol
symbol : variable UpdateAIEvent
location: class nulljavaai.NullJavaAI
} else if (topic == UpdateAIEvent.TOPIC) {
^
nulljavaai/NullJavaAI.java:191: cannot find symbol
symbol : class UpdateAIEvent
location: class nulljavaai.NullJavaAI
UpdateAIEvent evt = new UpdateAIEvent(event);
^
nulljavaai/NullJavaAI.java:191: cannot find symbol
symbol : class UpdateAIEvent
location: class nulljavaai.NullJavaAI
UpdateAIEvent evt = new UpdateAIEvent(event);
^
nulljavaai/NullJavaAI.java:200: cannot find symbol
symbol : class SendTextMessageAICommand
location: class nulljavaai.NullJavaAI
SendTextMessageAICommand cmd = new SendTextMessageAICommand();
^
nulljavaai/NullJavaAI.java:200: cannot find symbol
symbol : class SendTextMessageAICommand
location: class nulljavaai.NullJavaAI
SendTextMessageAICommand cmd = new SendTextMessageAICommand();
^
nulljavaai/NullJavaAI.java:158: method does not override or implement a method from a supertype
@Override
^
17 errors
make[3]: *** [AI/Skirmish/NullJavaAI/CMakeFiles/NullJavaAI] Erreur 1
make[2]: *** [AI/Skirmish/NullJavaAI/CMakeFiles/NullJavaAI.dir/all] Erreur 2
make[1]: *** [rts/builds/default/CMakeFiles/install-spring.dir/rule] Erreur 2
make: *** [install-spring] Erreur 2
you have an idea of what I'm missing
thank you