With these three lines, BlitzMax says it is compiling, takes 100% of the CPU usage, but doesn't ever get past "Compiling...". Remove any of the lines and it works fine.
pixmap:TPixmap=CreatePixmap(width,height,PF_RGB888,3) glPixelStorei GL_UNPACK_ROW_LENGTH,Pixmap.Pitch/BytesPerPixel[pixmap.format] gluBuild2DMipmaps GL_TEXTURE_CUBE_MAP_POSITIVE_X,format,width,height,GL_RGB,GL_UNSIGNED_BYTE,pixmap.pixels