Comments (3)
I tried with the visual studio compiler and WinGC, also I tried with the actual main branch and the 3.6 branch. All options gave the same error.
from casadi.
I tried to include the IPOPT myself, but it gives a similar error
FAILED: libcasadi_nlpsol_ipopt.dll libcasadi_nlpsol_ipopt.dll.a
cmd.exe /C "cd . && D:\JVaquer\Documents\mingw64\bin\g++.exe -fno-ipa-cp-clone -O3 -DNDEBUG -shared -o libcasadi_nlpsol_ipopt.dll -Wl,--out-implib,libcasadi_nlpsol_ipopt.dll.a -Wl,--major-image-version,0,--minor-image-version,0 casadi/interfaces/ipopt/CMakeFiles/casadi_nlpsol_ipopt.dir/ipopt_interface.cpp.obj casadi/interfaces/ipopt/CMakeFiles/casadi_nlpsol_ipopt.dir/ipopt_nlp.cpp.obj casadi/interfaces/ipopt/CMakeFiles/casadi_nlpsol_ipopt.dir/ipopt_interface_meta.cpp.obj libcasadi.dll.a D:/JVaquer/Documents/casadi-3.6/dependencies/libs/ipopt.dll.lib D:/JVaquer/Documents/casadi-3.6/dependencies/libs/ipoptamplinterface.dll.lib D:/JVaquer/Documents/casadi-3.6/dependencies/libs/sipopt.dll.lib -lkernel32 -luser32 -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32 -ladvapi32 && cd ."
D:/JVaquer/Documents/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/13.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: casadi/interfaces/ipopt/CMakeFiles/casadi_nlpsol_ipopt.dir/ipopt_interface.cpp.obj:ipopt_interface.cpp:(.text+0x124d): undefined reference to `__imp__ZTVN5Ipopt16RegisteredOptionE'
from casadi.
Hi @PinyaColada ,
It's good that you are testing this on Windows, as I don't think it has been before.
I think the root cause is here that
https://github.com/casadi/casadi/blob/main/CMakeLists.txt#L826-L844 is platform specific and unimplemented for Windows.
I would imagine that import libraries get created automatically on Windows though. Can you search the build folder for anything *openblas*.lib
?
If it is already, you can suggest a change to https://github.com/casadi/casadi/blob/main/CMakeLists.txt#L1057 to get the path/name corrected for Windows.
from casadi.
Related Issues (20)
- Building Casadi with ipopt HOT 2
- Run `autoconf` HOT 1
- using Casadi HOT 1
- Can I use the casadi::MX type in a logical conditions in an if-else statement?
- octave segfaults, at least 3.6.0
- finish daqp
- fix test_jit_serialize on mac
- libcasadi_interpolant_linear.dll not found HOT 1
- Difference between work vector size in generated header and c files HOT 1
- Set `MACOSX_DEPLOYMENT_TARGET` to 11.0 for CasADi v3.6.5 on arm64 macOS – `libcasadi.3.7.dylib` requires 11.1 and breaks linkage HOT 1
- Using casadi+integrator in a different thread
- compact dense sparsity patterns HOT 3
- Symmetric jacobian with MX
- pseudo MX optimizations HOT 1
- Add inlining MX call to SXFunction HOT 1
- undefined symbol: _ZN6casadi10differenceERKSt6vectorINS_2MXESaIS1_EES5_ HOT 11
- Performance difference between CasADi 3.5.5 and 3.6.4 HOT 4
- jtimes corner case
- Build Model error C2065: 'mxIsChar_is_not_supported_in_Simulink_Coder'
- Performance Degradation with Multithreading in Parametric Trajectory Optimization HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from casadi.