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

Fail to build luxmark #13

Open
tomsang opened this issue Jun 8, 2022 · 1 comment
Open

Fail to build luxmark #13

tomsang opened this issue Jun 8, 2022 · 1 comment

Comments

@tomsang
Copy link

tomsang commented Jun 8, 2022

I follow https://github.com/LuxCoreRender/WindowsCompile to build luxmark. but building fails with following err,

"luxmark.dir\Release\masm-x64.obj"
Creating library C:/share/test_apps/src/luxmark/WindowsCompile/Build_CMake/LuxMark/src/Release/luxmark.lib
and object C:/share/test_apps/src/luxmark/WindowsCompile/Build_CMake/LuxMark/src/Release/luxmark.exp
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0::C
PUProcessor::apply(class OpenColorIO_v2_0::ImageDesc &)const " (?apply@CPUProcessor@OpenColorIO_v2_0@@QEBAXAEAVI
mageDesc@2@@z) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "public: class std::shared_ptr __cdecl OpenColorIO_v2_0::Config::getProcessor(char const *,char const *)const "
(?getProcessor@Config@OpenColorIO_v2_0@@qeba?AV?$shared_ptr@$$CBVProcessor@OpenColorIO_v2_0@@@std@@PEBD0@Z) [c:
\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "public: static class std::shared_ptr __cdecl OpenColorIO_v2_0::Config::CreateFromFile(char const *)" (?CreateFrom
File@Config@OpenColorIO_v2_0@@sa?AV?$shared_ptr@$$CBVConfig@OpenColorIO_v2_0@@@std@@PeBd@Z) [c:\share\test_apps
src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "public: virtual __cdecl OpenColorIO_v2_0
::PackedImageDesc::~PackedImageDesc(void)" (??1PackedImageDesc@OpenColorIO_v2_0@@UEAA@XZ) [c:\share\test_apps\sr
c\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "public: __cdecl OpenColorIO_v2_0::Packed
ImageDesc::PackedImageDesc(void *,long,long,long)" (??0PackedImageDesc@OpenColorIO_v2_0@@qeaa@PEAXJJJ@Z) [c:\sha
re\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "class std::shared_ptr __cdecl OpenColorIO_v2_0::GetCurrentConfig(void)" (?GetCurrentConfig@OpenColorIO_v2_0@@ya?A
V?$shared_ptr@$$CBVConfig@OpenColorIO_v2_0@@@std@@xz) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake
\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "public: class std::shared_ptr __cdecl OpenColorIO_v2_0::Processor::getDefaultCPUProcessor(void)const " (?ge
tDefaultCPUProcessor@Processor@OpenColorIO_v2_0@@qeba?AV?$shared_ptr@$$CBVCPUProcessor@OpenColorIO_v2_0@@@std@@x
Z) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(imagemap.obj) : error LNK2001: unresolved external symbol "char const * const OpenColorIO_v2_0::ROL
E_SCENE_LINEAR" (?ROLE_SCENE_LINEAR@OpenColorIO_v2_0@@3PEBDEB) [c:\share\test_apps\src\luxmark\WindowsCompile\Bu
ild_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-core.lib(colorspace.obj) : error LNK2001: unresolved external symbol "char const * const OpenColorIO_v2_0::R
OLE_TEXTURE_PAINT" (?ROLE_TEXTURE_PAINT@OpenColorIO_v2_0@@3PEBDEB) [c:\share\test_apps\src\luxmark\WindowsCompil
e\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(filmparse.obj) : error LNK2001: unresolved external symbol "char const * const OpenColorIO_v2_0::RO
LE_INTERCHANGE_DISPLAY" (?ROLE_INTERCHANGE_DISPLAY@OpenColorIO_v2_0@@3PEBDEB) [c:\share\test_apps\src\luxmark\Wi
ndowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(filmparse.obj) : error LNK2001: unresolved external symbol "char const * const OpenColorIO_v2_0::RO
LE_RENDERING" (?ROLE_RENDERING@OpenColorIO_v2_0@@3PEBDEB) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_C
Make\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(filmparse.obj) : error LNK2001: unresolved external symbol "char const * const OpenColorIO_v2_0::OC
IO_VIEW_USE_DISPLAY_NAME" (?OCIO_VIEW_USE_DISPLAY_NAME@OpenColorIO_v2_0@@3PEBDEB) [c:\share\test_apps\src\luxmar
k\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::DisplayViewTransform::setLooksBypass(bool)" (?setLooksBypass@DisplayViewTransform@OpenColorIO_v2_0@@QEAAX_N@Z)
[c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::DisplayViewTransform::setView(char const *)" (?setView@DisplayViewTransform@OpenColorIO_v2_0@@QEAAXPEBD@Z) [c:
\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::DisplayViewTransform::setDisplay(char const *)" (?setDisplay@DisplayViewTransform@OpenColorIO_v2_0@@QEAAXPEBD@
Z) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::DisplayViewTransform::setSrc(char const *)" (?setSrc@DisplayViewTransform@OpenColorIO_v2_0@@QEAAXPEBD@Z) [c:\s
hare\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: static class std::shared_ptr<
class OpenColorIO_v2_0::DisplayViewTransform> __cdecl OpenColorIO_v2_0::DisplayViewTransform::Create(void)" (?Cr
eate@DisplayViewTransform@OpenColorIO_v2_0@@sa?AV?$shared_ptr@VDisplayViewTransform@OpenColorIO_v2_0@@@std@@xz)
[c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: class std::shared_ptr __cdecl OpenColorIO_v2_0::Config::getProcessor(class std::shared_ptr const &)const " (?getProcessor@Config@OpenColorIO_v2_0@@qeba?AV?$shared_ptr@$$
CBVProcessor@OpenColorIO_v2_0@@@std@@aebv?$shared_ptr@$$CBVTransform@OpenColorIO_v2_0@@@4@@z) [c:\share\test_app
s\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: class std::shared_ptr __cdecl OpenColorIO_v2_0::Config::getCurrentContext(void)const " (?getCurrentCo
ntext@Config@OpenColorIO_v2_0@@qeba?AV?$shared_ptr@$$CBVContext@OpenColorIO_v2_0@@@std@@xz) [c:\share\test_apps
src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: static class std::shared_ptr<
class OpenColorIO_v2_0::Config const > __cdecl OpenColorIO_v2_0::Config::CreateRaw(void)" (?CreateRaw@Config@Ope
nColorIO_v2_0@@sa?AV?$shared_ptr@$$CBVConfig@OpenColorIO_v2_0@@@std@@xz) [c:\share\test_apps\src\luxmark\Windows
Compile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: static char const * __cdecl O
penColorIO_v2_0::LookTransform::GetLooksResultColorSpace(class std::shared_ptr const &,class std::shared_ptr const &,char const *)" (?GetLooksRes
ultColorSpace@LookTransform@OpenColorIO_v2_0@@SAPEBDAEBV?$shared_ptr@$$CBVConfig@OpenColorIO_v2_0@@@std@@aebv?$s
hared_ptr@$$CBVContext@OpenColorIO_v2_0@@@4@PEBD@Z) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\L
uxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void _cdecl OpenColorIO_v2_0
::LookTransform::setLooks(char const *)" (?setLooks@LookTransform@OpenColorIO_v2_0@@QEAAXPEBD@Z) [c:\share\test

apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::LookTransform::setDst(char const *)" (?setDst@LookTransform@OpenColorIO_v2_0@@QEAAXPEBD@Z) [c:\share\test_apps
\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::LookTransform::setSrc(char const *)" (?setSrc@LookTransform@OpenColorIO_v2_0@@QEAAXPEBD@Z) [c:\share\test_apps
\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: static class std::shared_ptr<
class OpenColorIO_v2_0::LookTransform> __cdecl OpenColorIO_v2_0::LookTransform::Create(void)" (?Create@LookTrans
form@OpenColorIO_v2_0@@sa?AV?$shared_ptr@VLookTransform@OpenColorIO_v2_0@@@std@@xz) [c:\share\test_apps\src\luxm
ark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::FileTransform::setInterpolation(enum OpenColorIO_v2_0::Interpolation)" (?setInterpolation@FileTransform@OpenCo
lorIO_v2_0@@QEAAXW4Interpolation@2@@z) [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\lu
xmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: void __cdecl OpenColorIO_v2_0
::FileTransform::setSrc(char const *)" (?setSrc@FileTransform@OpenColorIO_v2_0@@QEAAXPEBD@Z) [c:\share\test_apps
\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: static class std::shared_ptr<
class OpenColorIO_v2_0::FileTransform> __cdecl OpenColorIO_v2_0::FileTransform::Create(void)" (?Create@FileTrans
form@OpenColorIO_v2_0@@sa?AV?$shared_ptr@VFileTransform@OpenColorIO_v2_0@@@std@@xz) [c:\share\test_apps\src\luxm
ark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>slg-film.lib(opencolorio.obj) : error LNK2001: unresolved external symbol "public: static class std::shared_ptr<
class OpenColorIO_v2_0::GroupTransform> __cdecl OpenColorIO_v2_0::GroupTransform::Create(void)" (?Create@GroupTr
ansform@OpenColorIO_v2_0@@sa?AV?$shared_ptr@VGroupTransform@OpenColorIO_v2_0@@@std@@xz) [c:\share\test_apps\src
luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>C:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\bin\Release\luxmark.exe : fatal error LNK1120:
29 unresolved externals [c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj]
2>Done Building Project "c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\src\luxmark.vcxproj" (d
efault targets) -- FAILED.
1>Done Building Project "c:\share\test_apps\src\luxmark\WindowsCompile\Build_CMake\LuxMark\LuxMark.sln" (default t
argets) -- FAILED.

@leonardo-intel
Copy link

Any update on this? Also running into this issue.

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

No branches or pull requests

2 participants