Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: al.h Not Found  (Read 4423 times)

0 Members and 1 Guest are viewing this topic.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
al.h Not Found
« on: August 21, 2010, 04:55:09 am »
Just wanted to let you know, on some Linux distros, such as Arch, al.h is located under the AL directory in include, so gcc can't find it since you include <al.h> instead of <AL/al.h>.

(stb_image is still warning filled too)
I use the latest build of SFML2

Raedwulf

  • Newbie
  • *
  • Posts: 2
    • View Profile
al.h Not Found
« Reply #1 on: August 24, 2010, 11:11:21 am »
As a matter of fact, all Linux distributions to my knowledge use the <AL/al.h> and <AL/alc.h>, and I suspect MacOS X does as well.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
al.h Not Found
« Reply #2 on: August 24, 2010, 11:56:54 am »
I probably forgot to adjust the include paths in the Linux makefiles after I made the modifications for CMake. By the way, you should begin to use it ;)

Quote
stb_image is still warning filled too

Really? What kind of warnings do you have with gcc? I have none with VC++ at maximum level of warning.
Laurent Gomila - SFML developer

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
al.h Not Found
« Reply #3 on: August 26, 2010, 02:00:13 am »
Quote from: "Laurent"
I probably forgot to adjust the include paths in the Linux makefiles after I made the modifications for CMake. By the way, you should begin to use it ;)

Quote
stb_image is still warning filled too

Really? What kind of warnings do you have with gcc? I have none with VC++ at maximum level of warning.
I am using the CMake Revision.

The warnings are as follows:

../../src/SFML/Graphics/stb_image/stb_image.h:191:23: warning: comma at end of enumerator list
../../src/SFML/Graphics/stb_image/stb_image.h:780:15: warning: comma at end of enumerator list
../../src/SFML/Graphics/stb_image/stb_image.h:2582:30: warning: comma at end of enumerator list
../../src/SFML/Graphics/stb_image/stb_image.h: In function ‘stbi_uc* stbi_gif_load_from_file(FILE*, int*, int*, int*, int)’:
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::h’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::out’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::flags’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::bgindex’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::ratio’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::transparent’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::eflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::pal’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::lpal’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::codes’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::color_table’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::parse’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::step’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::lflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::start_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::start_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::max_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::max_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::cur_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::cur_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4536:17: warning: missing initializer for member ‘stbi_gif_struct::line_size’
../../src/SFML/Graphics/stb_image/stb_image.h: In function ‘stbi_uc* stbi_gif_load_from_memory(const stbi_uc*, int, int*, int*, int*, int)’:
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::h’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::out’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::flags’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::bgindex’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::ratio’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::transparent’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::eflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::pal’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::lpal’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::codes’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::color_table’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::parse’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::step’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::lflags’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::start_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::start_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::max_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::max_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::cur_x’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::cur_y’
../../src/SFML/Graphics/stb_image/stb_image.h:4554:17: warning: missing initializer for member ‘stbi_gif_struct::line_size’
../../src/SFML/Graphics/stb_image/stb_image.h: In function ‘uint8* stbi_gif_load_next(stbi*, stbi_gif*, int*, int)’:
../../src/SFML/Graphics/stb_image/stb_image.h:4480:27: warning: array subscript is above array bounds
I use the latest build of SFML2

 

anything