Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scons builder does not detect missing headers.
08-03-2010, 11:45 AM,
#1
Scons builder does not detect missing headers.
The source release on 6-30-2010 has problems because of extra files bundled with the compressed archive that will interfere with properly detecting what headers and files are installed.

Code:
dandel@dandel-desktop:~/vdrift-2010-06-30$ scons
scons: Reading SConscript files ...
Checking for C++ header file asio.hpp... (cached) yes
Checking for C++ header file boost/bind.hpp... (cached) yes
Checking for C++ header file GL/gl.h... (cached) yes
Checking for C++ header file GL/glu.h... (cached) yes
Checking for C++ header file SDL/SDL.h... (cached) yes
Checking for C++ header file SDL/SDL_image.h... (cached) yes
Checking for C++ header file SDL/SDL_rotozoom.h... (cached) yes
Checking for C++ header file vorbis/vorbisfile.h... (cached) yes
Checking for C++ header file GL/glew.h... (cached) yes

With this said, i actually tested the clean command for scons...
Code:
scons -c

This cleaned up the built files, however, did not fix the tests for headers... the only fix left was to manually delete the scons configuration files so that detection will work properly on first run.

Code:
rm -r .sconf_temp  .sconsign.dblite

only after running this does the proper detection of headers and source files occur.

Code:
dandel@dandel-desktop:~/vdrift-2010-06-30$ scons
scons: Reading SConscript files ...
Checking for C++ header file asio.hpp... yes
Checking for C++ header file boost/bind.hpp... yes
Checking for C++ header file GL/gl.h... yes
Checking for C++ header file GL/glu.h... yes
Checking for C++ header file SDL/SDL.h... yes
Checking for C++ header file SDL/SDL_image.h... yes
Checking for C++ header file SDL/SDL_rotozoom.h... yes
Checking for C++ header file vorbis/vorbisfile.h... yes
Checking for C++ header file GL/glew.h... yes

also, this bug can cause compiler errors, especially if libasio-dev is not installed on ubuntu 10.04.
Reply
08-04-2010, 12:46 AM,
#2
 
Doh, that was my fault. I accidentally test compiled it before tarring it up, and was hoping the clean would actually clean it up.

We may need push out another release soon with that fix and also the mipmap crash fix.
Reply
12-29-2018, 12:32 PM, (This post was last modified: 01-09-2019, 05:05 AM by Minah83.)
#3
RE: Scons builder does not detect missing headers.
Great keep it up!
When I saw this for the very first time I also faced some of the problems that you’ve listed. But soon after that these all problems were recovered that were actually in the coding and aussieessayreviews.com/review-of-edubirdie-com-services helpful for all or us. So I would love to thank first of all you that you’ve raised this question and secondly to the people who contributed their time to write the solution.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)