I've been trying to compile the model loading library Assimp for my project using cmake and then MinGW. However, I don't know how to do that for 64bits which is what I'm using on my project. I used the command "mingw32-make" but if I understand correctly that is for 32bits and when I try to run my project with the obtained DLL it exits without explanation. I've heard this can happen when you try to link 32bit files with a 64bit projects. I heard about "make.exe" but I don't know if it's what I need and either way I can't find it in my MinGW folder. I'd rather not resort to Visual Studio, I use VSCode.
How do I compile cmake generated binaries in 64bits using MinGW (Windows, GCC)?
439 views Asked by Ian vos At
1
There are 1 answers
Related Questions in C++
- How to immediately apply DISPLAYCONFIG_SCALING display scaling mode with SetDisplayConfig and DISPLAYCONFIG_PATH_TARGET_INFO
- Why can't I use templates members in its specialization?
- How to fix "Access violation executing location" when using GLFW and GLAD
- Dynamic array of structures in C++/ cannot fill a dynamic array of doubles in structure from dynamic array of structures
- How do I apply the interface concept with the base-class in design?
- File refuses to compile std::erase() even if using -std=g++23
- How can I do a successful map when the number of elements to be mapped is not consistent in Thrust C++
- Can std::bit_cast be applied to an empty object?
- Unexpected inter-thread happens-before relationships from relaxed memory ordering
- How i can move element of dynamic vector in argument of function push_back for dynamic vector
- Brick Breaker Ball Bounce
- Thread-safe lock-free min where both operands can change c++
- Watchdog Timer Reset on ESP32 using Webservers
- How to solve compiler error: no matching function for call to 'dmhFS::dmhFS()' in my case?
- Conda CMAKE CXX Compiler error while compiling Pytorch
Related Questions in CMAKE
- Build issue in my STM32-NUCLEO project using the Eclipse IDE
- CMake: "dereference" INCLUDE commands to create a single CMakeLists.txt
- Conda CMAKE CXX Compiler error while compiling Pytorch
- How to setup nist nbis in raspbian raspberry pi 4
- Compiling c++ code by VS Code is always blocked by clang-tidy error 'Error running 'clang-tidy'
- library X11_Xmu_LIB is not found
- Cannot build a basic project with curl on Mac (M2) for Raspberry Pi Pico
- How to install spdlog library?
- How to generate vulkan project so it is cross-platform? (Using CMake)
- If target A depends on B, are B's POST_BUILD commands guaranteed to be executed before A starting to build?
- i have installed qt version 6.0.3 and this error QMYSQL driver not loaded displaying again and again
- Configure CmakeLists.txt to avoid manually copying dlls
- Cmake is not building an executable
- How to use "wx_dpi_aware.manifest" of wxWidgets wxMSW with MinGW and CMake?
- Try to Install GLFW on Steam Deck
Related Questions in MINGW
- How do I print _Decimal32, _Decimal64, and _Decimal128 in C? (Also, what is a Printf hook and how do I add one?)
- How to install CMAKE on MSYS2 or MINGW64? (all servers return 404)
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- Dev c++ [Linker error] undefined reference to `__chkstk_ms'
- Making portable execution errors
- How to compile GLFW with GCC
- why cpp codes is not getting compiled even after i installed cpp extension?
- clang++ and mingw paths start with double slash while compiling
- Install of MINGW fails when installing from MSYS2
- Compile latest openssl with mingw64 within cygwin on Windows 11 vs install prefix path definition
- Compiling C file with MingW in Windows: The system cannot execute the specified program
- Qt Creator Application Crashing Issue
- Undefined reference in MinGW after moving from VC++
- MinGW ld linking error - undefined reference
- DLL built from static lib is flashing a console
Related Questions in MINGW-W64
- How do I print _Decimal32, _Decimal64, and _Decimal128 in C? (Also, what is a Printf hook and how do I add one?)
- How do I enable experimental printf functions in MinGW w64?
- How to install CMAKE on MSYS2 or MINGW64? (all servers return 404)
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- libunwind cannot resolve symbol names
- Strawberry Perl using a separate winlibs distro
- Does _memimporter still exist in py2exe?
- How can I move my MSYS2 folder to another folder (both in the D driver) if possible?
- can't find linker script when cross compiling for win32 from linux
- Cannot use Debugger in Codeblocks for AVR-Project
- Troubleshooting MSYS64 Installation Issues
- Mingw console application opens a separate console window even when starting from Windows Console
- Mingw64 and Python 3.12.2 conflict in VS code
- ERROR_MOD_NOT_FOUND and __thread in DLLs
- Not possible to run subset of targets in parallel with Gnu Make 4.3 (MinGW-w64 port)
Related Questions in ASSIMP
- Can i compile assimp with atomics/pthreads via vcpkg and/or CMake?
- How to set up Assimp for Qt6 MinGW 64-bit to run on WebAssembly
- I want to compile/install assimp with phtreads enabled over vcpkg on Windows. But i dont know how?
- Using rapidjson and assimp together causes rapidjson to behave unpredictably
- PyAssimp error for any loaded file - Scene has not attribute meshes, materials or textures
- Converting local space normals into world space
- UV texture mapping issue in .X file using assimp
- Issue Linking Assimp Windows 11
- DirectX12 Problems with skeletal animation and Assimp library
- Bind different 3d models to a main model with opengl and assimp
- cookTriangleMesh access exception
- Improve mesh geometry serialization performance
- How can I get texture file by using assimp?
- How to check that extracted FBX indices are correct?
- How do I compile cmake generated binaries in 64bits using MinGW (Windows, GCC)?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
The solution is simple: just get the latest release, generate the make files for win64 and build it by yourself:
If you don't know how your mingw-toolchain cmake generator is called you can check the cmake help for that:
Just check for the MinGW stuff and add the listed name for the cmake -G option.
Hope that helps you a little bit to get around your issues.