Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 1933 in orxonox.OLD for orxonox/branches/chris


Ignore:
Timestamp:
Jun 9, 2004, 7:28:00 PM (20 years ago)
Author:
chris
Message:

orxonox/branches/chris: This compiles under windows (at least on my system) !!does not compile under linux!!

Location:
orxonox/branches/chris/core
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orxonox/branches/chris/core/Makefile

    r1920 r1933  
    99OSMESA_LIB = libOSMesa.so
    1010
    11 CFLAGS = -O3 -pedantic -fPIC -ffast-math -I/usr/X11R6/include
     11CFLAGS = -O3 -pedantic -fPIC -ffast-math
    1212CXXFLAGS = -fPIC -O3
    1313GLUT_CFLAGS = -fexceptions
     
    1919LIBS = -L$(LIBDIR) $(APP_LIB_DEPS)
    2020
    21 OSMESA_LIBS = -L$(LIBDIR) -lglut -lOSMesa -lGLU -lGL $(APP_LIB_DEPS)
     21OSMESA_LIBS = -L$(LIBDIR) -lglut32 -lGLU32 -lopenGL32 $(APP_LIB_DEPS)
    2222
    2323LIB_DEP = $(LIBDIR)/$(GL_LIB) $(LIBDIR)/$(GLU_LIB) $(LIBDIR)/$(GLUT_LIB)
     
    5252
    5353#.cc: $(LIB_DEP)
    54 #       $(CXX) -I$(INCDIR) $(CFLAGS) $< $(LIBS) -o $@
     54#       $(CXX) -I$(INCDIR) $(CFLAGS) $< -lglut32 -lGLU -lopenGL32 -o $@
    5555
    5656.cc.o:
     
    6565$(TARGET): $(OBJECTS)
    6666        @ echo "orxonox is being linked..."
    67         @ $(CXX) $(LIBS) -o $(TARGET) $(OBJECTS)
     67        @ $(CXX) -o $(TARGET) $(OBJECTS) -lglut32 -lGLU32 -lopenGL32 -lm
    6868
    6969
  • orxonox/branches/chris/core/environment.cc

    r1917 r1933  
    4242      for (int y = 1; y < 9; y++)
    4343        {
    44           mountainTest[x][y] = (float)random() / 900000000;
     44          mountainTest[x][y] = (float)rand() / 900000000;
    4545                                                 
    4646        }
  • orxonox/branches/chris/core/shoot_rocket.cc

    r1929 r1933  
    147147  sh->type = BACKPARABLE;
    148148  sh->xCor = x; sh->yCor = y; sh->zCor = z;
    149   sh->xVel = (-1+(float)random() / 1000000000/step)/5;
     149  sh->xVel = (-1+(float)rand() / 1000000000/step)/5;
    150150  sh->yVel = -.3;
    151   sh->zVel = (1-(float)random() / 1000000000/step)/5;
     151  sh->zVel = (1-(float)rand() / 1000000000/step)/5;
    152152  sh->xAcc = 0; sh->yAcc = .01/step; sh->zAcc = 0;
    153153  sh->next = lastShoot;
Note: See TracChangeset for help on using the changeset viewer.