Skip to content

scons claims it built ok but there is no output executable (windows) #13

Description

@samuelvenable
PS C:\Users\Windows\Desktop\opengml> scons architecture=x86 .
scons: Reading SConscript files ...
Note: MSVC_USE_SCRIPT="C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars32.bat" supplied, so other environment variables will be ignored for the SCons build.
Debug build for x86 Windows
OpenGML 0.8.0 (alpha, debug)
Checking for C library assimp... (cached) no
Checking for C library C:\vcpkg\installed\x86-windows\lib\assimp-vc143-mt.lib... (cached) yes
Checking for C++ header file assimp/Importer.hpp... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\lib\fcl.lib... (cached) yes
Checking for C++ header file fcl/config.h... (cached) yes
Checking for C++ header file fcl/BV/AABB.h... (cached) no
Checking for C++ header file fcl/math/bv/AABB.h... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\lib\nfd.lib... (cached) yes
Checking for C header file nfd.h... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\lib\ffi.lib... (cached) yes
Checking for C header file ffi.h... (cached) yes
Checking for C library curl... (cached) no
Checking for C library curl-vc143-mt... (cached) no
Checking for C library curld... (cached) no
Checking for C library curld-vc143-mt... (cached) no
Checking for C library curl-d... (cached) no
Checking for C library curl-d-vc143-mt... (cached) no
Checking for C library C:\vcpkg\installed\x86-windows\bin\libcurl.dll... (cached) no
Checking for C library libcurl... (cached) yes
Checking for C header file curl/curl.h... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\bin\SDL2.dll... (cached) no
Checking for C library SDL2... (cached) yes
Checking for C header file SDL2/SDL.h... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\bin\SDL2_ttf.dll... (cached) no
Checking for C library SDL2_ttf... (cached) yes
Checking for C header file SDL2/SDL_ttf.h... (cached) yes
Checking for C library glut32... (cached) no
Checking for C library glut32-vc143-mt... (cached) no
Checking for C library C:\vcpkg\installed\x86-windows\lib\freeglut.lib... (cached) yes
Checking for C header file gl/glut.h... (cached) yes
Checking for C library opengl32... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\lib\glu32.lib... (cached) yes
Checking for C library GLEW... (cached) no
Checking for C library GLEW-vc143-mt... (cached) no
Checking for C library C:\vcpkg\installed\x86-windows\bin\glew32.dll... (cached) no
Checking for C library glew32... (cached) yes
Checking for C header file GL/glew.h... (cached) yes
Checking for C++ header file glm/glm.hpp... (cached) yes
Checking for C library C:\vcpkg\installed\x86-windows\lib\SDL2_mixer.lib... (cached) yes
Checking for C header file SDL2/SDL_mixer.h... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
scons: done building targets.
AttributeError: 'SCons.Node.FS.FileNodeInfo' object has no attribute 'timestamp':
  File "C:\scons\scons-local-4.10.1\SCons\Script\Main.py", line 1524:
    _exec_main(parser, values)
  File "C:\scons\scons-local-4.10.1\SCons\Script\Main.py", line 1478:
    _main(parser)
  File "C:\scons\scons-local-4.10.1\SCons\Script\Main.py", line 1223:
    nodes = _build_targets(fs, options, targets, target_top)
  File "C:\scons\scons-local-4.10.1\SCons\Script\Main.py", line 1412:
    jobs.run(postfunc = jobs_postfunc)
  File "C:\scons\scons-local-4.10.1\SCons\Taskmaster\Job.py", line 112:
    self.job.start()
  File "C:\scons\scons-local-4.10.1\SCons\Taskmaster\Job.py", line 521:
    self._work()
  File "C:\scons\scons-local-4.10.1\SCons\Taskmaster\Job.py", line 658:
    task = self.taskmaster.next_task()
  File "C:\scons\scons-local-4.10.1\SCons\Taskmaster\__init__.py", line 1022:
    node = self._find_next_ready_node()
  File "C:\scons\scons-local-4.10.1\SCons\Taskmaster\__init__.py", line 988:
    for se in executor.get_action_side_effects():
  File "C:\scons\scons-local-4.10.1\SCons\Executor.py", line 336:
    for target in self.get_action_targets():
  File "<frozen _collections_abc>", line 1031:

  File "C:\scons\scons-local-4.10.1\SCons\Executor.py", line 67:
    nl = self.func()
  File "C:\scons\scons-local-4.10.1\SCons\Executor.py", line 241:
    self._get_changes()  # sets the memo entry
  File "C:\scons\scons-local-4.10.1\SCons\Executor.py", line 219:
    if not b.targets[0].always_build and b.targets[0].is_up_to_date():
  File "C:\scons\scons-local-4.10.1\SCons\Node\FS.py", line 3563:
    r = self.changed()
  File "C:\scons\scons-local-4.10.1\SCons\Node\FS.py", line 3315:
    has_changed = SCons.Node.Node.changed(self, node)
  File "C:\scons\scons-local-4.10.1\SCons\Node\__init__.py", line 1517:
    if _decider_map[child.changed_since_last_build](child, self, prev_ni, node):
  File "C:\scons\scons-local-4.10.1\SCons\Node\__init__.py", line 297:
    return target.get_build_env().decide_source(node, target, prev_ni, repo_node)
  File "C:\Users\Windows\Desktop\opengml\SConstruct", line 710:
    if dependency.get_timestamp() != prev_ni.timestamp:
PS C:\Users\Windows\Desktop\opengml>

I have everything installed and set up properly. Even though there are scons errors, that should be unrelated to the issue because it does say it built ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions