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

Upgraded fast and fixed install of OpenCL kernel files #7

Conversation

smistad
Copy link
Member

@smistad smistad commented May 16, 2017

No description provided.

@jonei jonei merged commit 7678fbc into SINTEFMedtek:bugfix/FX-19-airwaysegmentation-algorithm-does-not May 16, 2017
@jonei
Copy link
Contributor

jonei commented May 16, 2017

Something is wrong on Windows with the linking of Airways with FAST:

[1161/1557] Linking CXX shared library bin\liborg_custusx_filter_airways.dll
FAILED: bin/liborg_custusx_filter_airways.dll source/plugins/org_custusx_filter_airways.lib
cmd.exe /C "cd . && "C:\Program Files (x86)\CMake\bin\cmake.exe" -E vs_link_dll --intdir=source\plugins\org.custusx.filter.airways\CMakeFiles\org_custusx_filter_airways.dir --manifests -- C:\PROGRA2\MICROS1.0\VC\bin\amd64\link.exe /nologo @CMakeFiles/org_custusx_filter_airways.rsp /out:bin\liborg_custusx_filter_airways.dll /implib:source\plugins\org_custusx_filter_airways.lib /pdb:bin\liborg_custusx_filter_airways.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL && cd ."
Creating library source\plugins\org_custusx_filter_airways.lib and object source\plugins\org_custusx_filter_airways.exp
FAST.lib(Image.cpp.obj) : error LNK2019: unresolved external symbol clReleaseDevice referenced in function "public: static int __cdecl cl::detail::ReferenceHandler<struct _cl_device_id *>::release(struct _cl_device_id *)" (?release@?$ReferenceHandler@PEAU_cl_device_id@@@detail@cl@@SAHPEAU_cl_device_id@@@z)
FAST.lib(DeviceManager.cpp.obj) : error LNK2001: unresolved external symbol clReleaseDevice
FAST.lib(ExecutionDevice.cpp.obj) : error LNK2001: unresolved external symbol clReleaseDevice
FAST.lib(Image.cpp.obj) : error LNK2019: unresolved external symbol clCreateImage referenced in function "public: __cdecl cl::Image2D::Image2D(class cl::Context const &,unsigned __int64,struct cl::ImageFormat,unsigned __int64,unsigned __int64,unsigned __int64,void *,int *)" (??0Image2D@cl@@qeaa@AEBVContext@1@_KUImageFormat@1@111PEAXPEAH@Z)
FAST.lib(Utility.cpp.obj) : error LNK2001: unresolved external symbol clCreateImage
FAST.lib(Image.cpp.obj) : error LNK2019: unresolved external symbol clEnqueueFillBuffer referenced in function "public: int __cdecl cl::CommandQueue::enqueueFillBuffer(class cl::Buffer const &,float,unsigned __int64,unsigned __int64,class std::vector<class cl::Event,class std::allocator > const *,class cl::Event *)const " (??$enqueueFillBuffer@M@CommandQueue@cl@@QEBAHAEBVBuffer@1@M_K1PEBV?$vector@VEvent@cl@@v?$allocator@VEvent@cl@@@std@@@std@@PEAVEvent@1@@z)
FAST.lib(Image.cpp.obj) : error LNK2019: unresolved external symbol clEnqueueFillImage referenced in function "public: int __cdecl cl::CommandQueue::enqueueFillImage(class cl::Image const &,union cl_float4,class cl::size_t<3> const &,class cl::size_t<3> const &,class std::vector<class cl::Event,class std::allocator > const *,class cl::Event *)const " (?enqueueFillImage@CommandQueue@cl@@QEBAHAEBVImage@2@Tcl_float4@@aebv?$size_t@$02@2@2PEBV?$vector@VEvent@cl@@v?$allocator@VEvent@cl@@@std@@@std@@PEAVEvent@2@@z)
FAST.lib(RuntimeMeasurementManager.cpp.obj) : error LNK2019: unresolved external symbol clEnqueueMarkerWithWaitList referenced in function "public: int __cdecl cl::CommandQueue::enqueueMarkerWithWaitList(class std::vector<class cl::Event,class std::allocator > const *,class cl::Event *)" (?enqueueMarkerWithWaitList@CommandQueue@cl@@QEAAHPEBV?$vector@VEvent@cl@@v?$allocator@VEvent@cl@@@std@@@std@@PEAVEvent@2@@z)
FAST.lib(DeviceManager.cpp.obj) : error LNK2019: unresolved external symbol clRetainDevice referenced in function "public: static int __cdecl cl::detail::ReferenceHandler<struct _cl_device_id *>::retain(struct _cl_device_id *)" (?retain@?$ReferenceHandler@PEAU_cl_device_id@@@detail@cl@@SAHPEAU_cl_device_id@@@z)
FAST.lib(ExecutionDevice.cpp.obj) : error LNK2001: unresolved external symbol clRetainDevice
FAST.lib(MetaImageImporter.cpp.obj) : error LNK2019: unresolved external symbol uncompress referenced in function "void * __cdecl readRawData(class std::basic_string<char,struct std::char_traits,class std::allocator >,unsigned int,unsigned int,unsigned int,unsigned int,bool,unsigned __int64)" (??$readRawData@D@@YAPEAXV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@IIII_N_K@Z)
bin\liborg_custusx_filter_airways.dll : fatal error LNK1120: 7 unresolved externals
LINK Pass 1 failed. with 1120

@smistad
Copy link
Member Author

smistad commented May 16, 2017

Seems that it is missing linking to the external libraries, OpenCL and zlib. I will look at it on Thursday

CustusXMachine pushed a commit that referenced this pull request Oct 26, 2017
…ix/FX-35-rtt-not-working-for-target-9 to develop

* commit 'b0a6c53793fec86e230c875b1022761644ada9f9':
  FX-35: The camera path is updated when the combobox mRouteToTarget changes. But if the target name is the same as the old target, we make a temporary hack to trigger this change.
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 this pull request may close these issues.

2 participants