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

ld.exe: cannot find /export:mexFunction: No such file or directory #148

Open
ZZT-console opened this issue Feb 28, 2023 · 0 comments
Open

Comments

@ZZT-console
Copy link

I use gptoolbox on windows. I can't "make" and there is the following error message:

G:\vscode\gitcode\gptoolbox\mex\build2>make
[  0%] Built target igl_restricted_matlab
[  0%] Built target igl_core
[  2%] Linking CXX shared library G:\vscode\gitcode\gptoolbox\mex\aabb.mexw64
E:\ProgramFiles\w64devkit\bin/ld.exe: cannot find /export:mexFunction: No such file or directory
collect2.exe: error: ld returned 1 exit status
make[2]: *** [CMakeFiles\aabb.dir\build.make:107: G:/vscode/gitcode/gptoolbox/mex/aabb.mexw64] Error 1
make[1]: *** [CMakeFiles\Makefile2:436: CMakeFiles/aabb.dir/all] Error 2
make: *** [Makefile:155: all] Error 2

I think this error maybe come from cmake -G "MinGW Makefiles" .. . Because the terminal used to print some warning message. I chose to ignore it, duo to working eventually. there is the related information:

-- Fetching Boost
-- Fetching Boost - done
-- Boost found: 1.71.0 G:/vscode/gitcode/gptoolbox/mex/build2/_deps/boost-src
-- Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR) 
-- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) 
-- The following ICU libraries were not found:
--   uc (required)
--   dt (required)
--   i18n (required)
-- Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY _ICU_REQUIRED_LIBS_FOUND)

What should I do? It is vital for me to use your code. Look forward to your solution.

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

1 participant