Main place for discussions about U++ cross platform development framework.
undefined reference errors when building
Hello, I get error messages when building this upp example: https:// www.ultimatepp.org/srcdoc$ArrayFire_demo$ArrayFire$en-us.htm l I followed the instructions included about lib, path and include. MS Visual studio community 2015 is installed and compiles Arrayfire example 'helloworld_vs2013.sln' and others without error. I reread this https://www.ultimatepp.org/app$ide$GettingStarted$en-us.html#5_3 and this https://www.ultimatepp.org/app$ide$install$en-us.html how to get rid of the errors having the example run? the TheIDE installation page says "we really recommend using VS2015 C++ compiler (...) better supported by 3rd party libraries" , I followed instructions on this page but only MinGW and MinGWx64 show up in the builds method. How to configure this ? should the last "visual studio code" be installed instead as recommended by MS ? (The screenshot there https://www.ultimatepp.org/app$ide$install$en-us.html is obsolete.) Below is the error as displayed by TheIDE U++ version 11390 (64bits)(GCC)(C++11) on win8.1 64bits intel x64: Toggle Spoiler (): Linking has failed (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\ArrayFire_demo.o: In function `ConsoleMainFn_()': O:/PROGS/upp/bazaar/ArrayFire_demo/ArrayFire_demo.cpp (20): undefined reference to `__imp__ZN2af9setDeviceEi' O:/PROGS/upp/bazaar/ArrayFire_demo/ArrayFire_demo.cpp (21): undefined reference to `__imp__ZN2af4infoEv' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\matrix.o: In function `MatMult_device': O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (12): undefined reference to `__imp__ZN2af6matmulERKNS_5arrayES2_11af_mat_propS3_' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (13): undefined reference to `__imp__ZNK2af5array4evalEv' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (12): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (12): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\matrix.o: In function `MatMult_Bench()': O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (38): undefined reference to `__imp__ZN2af5randuExx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (38): undefined reference to `__imp__ZN2af5arrayaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (38): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (39): undefined reference to `__imp__ZN2af5randuExx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (39): undefined reference to `__imp__ZN2af5arrayaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (39): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (40): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (54): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (38): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (39): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\matrix.o: In function `__tcf_10': O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (9): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\matrix.o: In function `__tcf_11': O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (9): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\matrix.o: In function `__static_initialization_and_destruction_0': O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (9): undefined reference to `__imp__ZN2af5arrayC1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/matrix.cpp (9): undefined reference to `__imp__ZN2af5arrayC1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\pi.o: In function `pi_device': O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (17): undefined reference to `__imp__ZN2af5randuEx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (18): undefined reference to `__imp__ZN2af5randuEx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2afmlERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2afmlERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2afplERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2af4sqrtERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2afltERKNS_5arrayERKi' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `float af::sum<float>(af::array const&)' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (19): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\pi.o:O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp:18: more undefined references to `__imp__ZN2af5arrayD1Ev' follow (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\pi.o: In function `Pi_Bench()': O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (38): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/pi.cpp (39): undefined reference to `__imp__ZN2af6timeitEPFvvE' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `dist_naive': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (13): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (13): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (13): undefined reference to `af::array af::constant<int>(int, long long, long long, af_dtype)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (15): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (16): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (17): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxypLERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (18): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `dist_vec': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (24): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (24): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (24): undefined reference to `af::array af::constant<int>(int, long long, long long, af_dtype)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (29): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af3sumERKNS_5arrayEi' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5array11array_proxyaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (32): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (30): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (27): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o:O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp:27: more undefined references to `__imp__ZN2af5arrayD 1Ev' follow (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `dist_gfor1': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (39): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (39): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (39): undefined reference to `af::array af::constant<int>(int, long long, long long, af_dtype)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af3seqC1Ed' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af3seqC1ES0_b' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af10gforToggleEv' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (44): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af3sumERKNS_5arrayEi' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5array11array_proxyaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (50): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (47): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (45): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (42): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (41): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `dist_gfor2': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (54): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (54): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (54): undefined reference to `af::array af::constant<int>(int, long long, long long, af_dtype)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af3seqC1Ed' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af3seqC1ES0_b' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af10gforToggleEv' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (59): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af3sumERKNS_5arrayEi' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5array11array_proxyaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (65): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (62): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (60): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (57): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (56): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `dist_tile1': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (69): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (70): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (72): undefined reference to `af::array af::constant<int>(int, long long, long long, af_dtype)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (78): undefined reference to `__imp__ZN2af4tileERKNS_5arrayEjjjj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2af3sumERKNS_5arrayEi' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZNK2af5array1TEv' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5array11array_proxyaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (78): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (74): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (83): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (80): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (78): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (76): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `dist_tile2': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (89): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (90): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (91): undefined reference to `__imp__ZNK2af5array4dimsEj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (93): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (95): undefined reference to `__imp__ZN2af7moddimsERKNS_5arrayExxxx' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (97): undefined reference to `__imp__ZN2af4tileERKNS_5arrayEjjjj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (98): undefined reference to `__imp__ZN2af4tileERKNS_5arrayEjjjj' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (100): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (100): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (100): undefined reference to `__imp__ZN2af3sumERKNS_5arrayEi' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (100): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (100): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (102): undefined reference to `__imp__ZN2af7moddimsERKNS_5arrayExxxx' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (100): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (98): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (97): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (95): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (93): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o:O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp:103: more undefined references to `__imp__ZN2af5array D1Ev' follow (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `bench_naive': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (106): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `bench_vec': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (107): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `bench_gfor1': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (108): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `bench_gfor2': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (109): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `bench_tile1': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (110): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `bench_tile2': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (111): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `Vectorize_Bench()': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (117): undefined reference to `__imp__ZN2af5randuExx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (117): undefined reference to `__imp__ZN2af5arrayaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (117): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (118): undefined reference to `__imp__ZN2af5randuExx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (118): undefined reference to `__imp__ZN2af5arrayaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (118): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (120): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (120): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (120): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (120): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (121): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (121): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (121): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (121): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (122): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (122): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (122): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (122): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (123): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (123): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (123): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (123): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (124): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (124): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (124): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (124): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (125): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (125): undefined reference to `__imp__ZN2af5arrayC1ERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (125): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (125): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (127): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (127): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (127): undefined reference to `float af::max<float>(af::array const&)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (127): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (127): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (128): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (128): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (128): undefined reference to `float af::max<float>(af::array const&)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (128): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (128): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (129): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (129): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (129): undefined reference to `float af::max<float>(af::array const&)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (129): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (129): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (130): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (130): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (130): undefined reference to `float af::max<float>(af::array const&)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (130): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (130): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (131): undefined reference to `__imp__ZN2afmiERKNS_5arrayES2_' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (131): undefined reference to `__imp__ZN2af3absERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (131): undefined reference to `float af::max<float>(af::array const&)' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (131): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (131): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (133): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (134): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (135): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (136): undefined reference to `__imp__ZN2af6timeitEPFvvE' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (137): undefined reference to `__imp__ZN2af6timeitEPFvvE' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o:O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp:138: more undefined references to `__imp__ZN2af6timei tEPFvvE' follow (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `Vectorize_Bench()': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (125): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (124): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (123): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (122): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (121): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o:O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp:120: more undefined references to `__imp__ZN2af5array D1Ev' follow (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\vectorize.o: In function `__static_initialization_and_destruction_0': O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (10): undefined reference to `__imp__ZN2af5arrayC1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/vectorize.cpp (10): undefined reference to `__imp__ZN2af5arrayC1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\demo.o: In function `Demo()': O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (18): undefined reference to `__imp__ZN2af5randuExx8af_dtype' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (19): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (22): undefined reference to `__imp__ZN2af3sinERKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (22): undefined reference to `__imp__ZN2afplERKNS_5arrayERKd' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (22): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (23): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af3seqC1Eddd' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2afmlERKNS_5arrayERKi' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af4spanE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1Ei' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af3seqC1Eddd' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexC1ERKNS_3seqE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5arrayclERKNS_5indexES3_S3_S3_' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyaSERKS0_' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (27): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (30): undefined reference to `__imp__ZN2af3fftERKNS_5arrayEx' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (31): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (34): undefined reference to `__imp__ZN2af3endE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (34): undefined reference to `__imp__ZN2af5array3rowEi' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (34): undefined reference to `__imp__ZN2af5array11array_proxycvS0_Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (34): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (35): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (39): undefined reference to `af::array::array<float>(long long, long long, float const*, af_source)' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (40): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af3endE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array3colEi' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array3colEi' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array11array_proxyaSEOS1_' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (44): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (48): undefined reference to `__imp__ZN2af5arrayC1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (48): undefined reference to `__imp__ZN2af5arrayC1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (49): undefined reference to `__imp__ZN2af4sortERNS_5arrayES1_RKS0_jb' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (50): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (51): undefined reference to `__imp__ZN2af5printEPKcRKNS_5arrayE' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (48): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (48): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (39): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (34): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (30): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\demo.o:O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp:22: more undefined references to `__imp__ZN2af5arrayD1Ev' f ollow (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\demo.o: In function `Demo()': O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af3seqD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5indexD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (26): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (43): undefined reference to `__imp__ZN2af5array11array_proxyD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (48): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (48): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (39): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (34): undefined reference to `__imp__ZN2af5arrayD1Ev' O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp (30): undefined reference to `__imp__ZN2af5arrayD1Ev' (): O:/PROGS/upp/out/examples-bazaar/ArrayFire_demo/MINGWx64.Af_Cpu.Debug.Debug_Full.Main.Noblitz\demo.o:O:/PROGS/upp/bazaar/ArrayFire_demo/demo.cpp:22: more undefined references to `__imp__ZN2af5arrayD1Ev' follow (): collect2.exe: error: ld returned 1 exit status For information I have read (certainly not understood everything) these (old) posts about linking or external library: https:// www.ultimatepp.org/forums/index.php?t=msg&goto=31309&amp ; https:// www.ultimatepp.org/forums/index.php?t=msg&goto=9795& https:// www.ultimatepp.org/forums/index.php?t=msg&goto=46340&amp ; https:// www.ultimatepp.org/forums/index.php?t=msg&th=9524&st art=0& and https:// www.ultimatepp.org/forums/index.php?t=msg&goto=46601&amp ;
Re: undefined reference errors when building
If you have MS Visual Studio 20xx installed (it works with 2017 just as nice as with 2015 on my PC) try using U++ for Windows without toolchain downloads and not the U++ for Windows with MinGW-w64 toolchain. That should work then.
If you need the MinGW edition and just need the VS20xx compiler as well then the reason that U++ is not finding the compiler location automatically could be that you may not have installed VS on your system hard disk. That happened to me when I installed VS on a secondary. I had to give U++ the paths manually.
Dear Y++ In ArrayFire in U++ page there are some explanations about how to use ArrayFire in U++. Following the messages you have included it seems that Include files are included, but compiler does not find Library files. Have you set all folders as indicated?
Quote: If you have MS Visual Studio 20xx installed (it works with 2017 just as nice as with 2015 on my PC) Ok, I leave it as it is (2015) This answered the question 3. Thanks rafiwui. Quote: try using U++ for Windows without toolchain downloads and not the U++ for Windows with MinGW-w64 toolchain. That should work then. Just tried (upp-win-11405) It does not show any build method too. I tried filling manually the "build methods" panel. The documentation https://www.ultimatepp.org/app$ide$GettingStarted$en-us.html#5_3 is not very helpful and this post https:// www.ultimatepp.org/forums/index.php?t=msg&goto=46601&amp ; is confusing to me. I re-tried what it is said with the U++ without toolchain and I get this error: o:\progs\upp\uppsrc\core\Core.h (45): fatal error C1189: #error : This version of U++ REQUIRES C++11 May I ask a screenshot of a working MSC (x64) configuration ? Quote: you may not have installed VS on your system hard disk Yes it can't. (disk space usage) Quote: I had to give U++ the paths manually. That would partially answer the question 2. How to do it ? TheIDE documentation is not verbose on this. I unsuccessfully tried many paths. I need help on this if we can't figure why MinGWx64 doesn't work here. Quote: it seems that Include files are included, but compiler does not find Library files. I trust you and I can't figure out how you see this. Is it because of the .o files ? Quote: Have you set all folders as indicated? There isn't much error to do here as there are only two folder. I checked twice (more in fact). Can you confirm that it's anormal MinGWx64 cannot compile it as it's an example included in U++? And, should I take care about the All static/Shared libs/All shared settings in the "build methods" panel ?
This should be a working example of an edited configuration. I have it installed on an secondary as well so feel free to copy it to the folder where the exe of TheIDE is and edit the variables to your locations. The parts starting with C:\ you probably don't have to change because windows is always installing these parts at the same location no matter where you install VS
Quote: edit the variables to your locations. The parts starting with C:\ you probably don't have to change Done, I had to change all locations : "C:\..." locations aren't the same as I have VS2015 installed instead of your VS2017. In consequence I'm not sure as some specified folders where empty, I tried to find the more accurate. And It's seems there is some progress I get this error now (Helloworld example) (): Linking has failed (): O:\upp-win-11405\upp\out\examples\AnimatedHello\MSVS17x64.Debug.Gui.Main.Noblitz\Hello.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64'
Maybe something about MinGWx64 (the first question) : when compiling it writes GUI GCC DEBUG DEBUG_FULL WIN32 why "WIN32" ?
Hmm I don't know about the MinGW toolchain so I guess I can't help you there. But I may can send you my x86 config file this evening so you can try it with this.
Quote: Quote: edit the variables to your locations. The parts starting with C:\ you probably don't have to change Done, I had to change all locations : "C:\..." locations aren't the same as I have VS2015 installed instead of your VS2017. In consequence I'm not sure as some specified folders where empty, I tried to find the more accurate. And It's seems there is some progress I get this error now (Helloworld example) (): Linking has failed (): O:\upp-win-11405\upp\out\examples\AnimatedHello\MSVS17x64.De bug.Gui.Main.Noblitz\Hello.obj : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' You need to build it in 64bit mode and link it with x64 libs (or 32-32bits, if that's what you intend. In short there is mismatch between the object file and library). Could you post your build method file (with *.bm extension) (if you are using Visual Studio to compile and link the external library, there is a notoriously overlooked switch that results in this error, if not; I may be able to help you if you provide your build)? Best regards, Oblivion
Oblivion wrote on Tue, 24 October 2017 10:53 You need to link it with x64 libs. But shouldn't that be set correct because I am working with basically the same paths and it works?
Quote: Re: undefined reference errors when building Tue, 24 October 2017 11:57 rafiwui Oblivion wrote on Tue, 24 October 2017 10:53 You need to link it with x64 libs. But shouldn't that be set correct because I am working with basically the same paths and it works? Not sure... There may be a left-over object (sometimes it is simply a matter of cleaning upp.out.) Or usually it is about wrong -or messed up for some reason- paths. (I can't really say more without seeing the bm file.) Best regards, Oblivion
Did you check this: .../windows kits/10/bin/x86 --- ^ | You seem to be using wrong toolchain? Shoudn't it be x64?
Interesting. I thought I changed all but seems like I missed that one. And also interesting that it works on my PC
Hello, Quote: There may be a left-over object (sometimes it is simply a matter of cleaning upp.out.) Cleaned. Then : attached : up.zip console + errors + MINGWx64.bm from U++ for Windows with MinGWx64 toolchain (arrayfire example) console + errors + MSVS17x64.bm from U++ for Windows without toolchain (.bm file from rafiwui with edited paths) (animatedHello exemple) But you, are you able to run the "examples-bazaar\ArrayFire_demo" example, if yes with MinGWx64 or/and the VS compiler ? I would prefer to do without VS if we can make MinGWx64 work. Since the build rafiwui shared is for vs2017, I consider removing vs2015 and install the "Build Tools for Visual Studio 2017" instead. It would free me disk space and (I think) make it easier to match configuration. Hence I wait for your advice about that before attempting it. Why this error: "O:\PROGS\ArrayFire\v3\include/af/defines.h (29): warning: "DEPRECATED" redefined" since there is the "using namespace" instruction ? Best regards, Y ++
Oblivion wrote on Tue, 24 October 2017 14:31 Did you check this: .../windows kits/10/bin/x86 --- ^ | You seem to be using wrong toolchain? Shoudn't it be x64? And, I get the same error message when changing the path
Hello Y ++ I have a litte experience with arrayfire (on OpenCL). IIRC, ArrayFire does not yet work with MinGW C++ (it has some problem with name mangling if you are using precompiled binaries, so you'll get a lot of linker error ("undefined reference" errors.).). (Unless you also compile the libs from arrayfire source) On the other hand, both Build Tools, and Visual Studio 2017 will work with it. You should consider upgrading. Please find attached a MSC bm file for Visual Studio 2017. Check out the paths, it'll give you the idea for also MS Build Tools (they are mostly same.). No other setting is required on my machine: (To speed-up, just download the binaries. I used them.) Best Regards, Oblivion
Thank you Oblivion and rafiwui for your help it works with MS build tools 2017. @ Koldo : do you think it is worth to put a note on this in the doc ? ( I've seen one can edit the srcdoc.tpp ) Quote: ArrayFire does not yet work with MinGW
Sorry for the delay. Comment is just updated. It will be visible tomorrow.