Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openshadinglanguage fails to build #11096

Closed
jeremyd2019 opened this issue Mar 25, 2022 · 2 comments · Fixed by #11671
Closed

openshadinglanguage fails to build #11096

jeremyd2019 opened this issue Mar 25, 2022 · 2 comments · Fixed by #11671

Comments

@jeremyd2019
Copy link
Member

jeremyd2019 commented Mar 25, 2022

  [106/123] oslc emitter
  FAILED: src/shaders/emitter.oso C:/_/mingw-w64-openshadinglanguage/src/build-CLANG32/src/shaders/emitter.oso 
  cmd.exe /C "cd /D C:\_\mingw-w64-openshadinglanguage\src\build-CLANG32\src\shaders && C:\_\mingw-w64-openshadinglanguage\src\build-CLANG32\bin\oslc.exe -q -IC:/_/mingw-w64-openshadinglanguage/src/OpenShadingLanguage-Release-1.11.16.0/src/shaders -IC:/_/mingw-w64-openshadinglanguage/src/OpenShadingLanguage-Release-1.11.16.0/src/shaders -IC:/_/mingw-w64-openshadinglanguage/src/OpenShadingLanguage-Release-1.11.16.0/src/shaders C:/_/mingw-w64-openshadinglanguage/src/OpenShadingLanguage-Release-1.11.16.0/src/shaders/emitter.osl -o C:/_/mingw-w64-openshadinglanguage/src/build-CLANG32/src/shaders/emitter.oso"
  error: Input file "C//ig-6-pnhdnlnug/r/ul-LN3/r/hdr/mte.s" not found
  FAILED C//ig-6-pnhdnlnug/r/ul-LN3/r/hdr/mte.s

This is a strange-looking path. Does it mean C:/ig-6-...? Why wouldn't it fail like this on other MSYSTEMs?

Update: turns out it fails the same way on CLANG64 at least.

@jeremyd2019 jeremyd2019 changed the title openshadinglanguage fails to build on clang32 openshadinglanguage fails to build Mar 25, 2022
@jeremyd2019
Copy link
Member Author

jeremyd2019 commented Mar 25, 2022

I assume you meant 3.4.5 3.3.5 (hah, I screwed it up too). But I thought that only had to do with typing (console input). That's nuts

@revelator
Copy link
Contributor

revelator commented Apr 10, 2022

also seems to be some problem with opencolorio ->

C:/Msys2/mingw32/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/ociodisplay.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x32): undefined reference to `_imp____glutInitWithExit@12'
C:/Msys2/mingw32/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/ociodisplay.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x96): undefined reference to `_imp____glutCreateWindowWithExit@8'
C:/Msys2/mingw32/lib/gcc/i686-w64-mingw32/11.2.0/../../../../i686-w64-mingw32/bin/ld.exe: CMakeFiles/ociodisplay.dir/objects.a(main.cpp.obj):main.cpp:(.text.startup+0x5d2): undefined reference to `_imp____glutCreateMenuWithExit@8'
�[38;05;9m�[38;05;9m�[38;05;9mcollect2.exe: error:�[0m�[0m�[0m ld returned 1 exit status
�[38;05;74mmake[2]:�[0m *** [src/apps/ociodisplay/CMakeFiles/ociodisplay.dir/build.make:104: src/apps/ociodisplay/ociodisplay.exe] Error 1
�[38;05;74mmake[1]:�[0m *** [CMakeFiles/Makefile2:427: src/apps/ociodisplay/CMakeFiles/ociodisplay.dir/all] Error 2
�[38;05;74mmake[1]:�[0m *** Waiting for unfinished jobs....

fixing that by forcing freeglut it fails with undefined references to some openimageio functions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants