Comments (4)
Hi,
Yes I am aware of the problem and know the solution. I will take care of it
on monday.
Sorry for the delay, I had a deadline coming up.
laurent
On Wed, Nov 5, 2014 at 10:35 PM, Daphnee [email protected] wrote:
Hi,
I tried to install opengv under windows in order to use it with Matlab but
the installation failed.I Firstly extracted opengv and cmake in C:\ (C:\cmake and C:\opengv).
Then did:
cd C:\cmake\bin
PATH=%PATH%;%cd%;
After that, I added a build file in opengv directory and did:
cd C:\opengv\build
Then:
cmake -G "Visual Studio 10" ..
as I'm using Visual Studio 2010, the following message appeared:
-- The C compiler identification is MSVC 16.0.40219.1
-- The CXX compiler identification is MSVC 16.0.40219.1
-- Check for working C compiler using: Visual Studio 10 2010
-- Check for working C compiler using: Visual Studio 10 2010 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler using: Visual Studio 10 2010
-- Check for working CXX compiler using: Visual Studio 10 2010 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Configuring done
-- Generating done
-- Build files have been written to: C:/opengv/buildAnd finally:
msbuild opengv.sln /p:Configuration=Release
Several warnings appeared (2723) for instance the following ones:c:\opengv\third_party\eigen\src\core\mapbase.h(145): warning C4710:
'__thisca
ll Eigen::MatrixBase,3
,1,1> >::MatrixBase,3,
1,1> >(void)' : fonction non inline
[C:\opengv\build\random_generators.vcxproj]c:\opengv\test\random_generators.cpp(135): warning C4710: 'struct
Eigen::Comm
aInitializer > __thiscall Eigen::DenseBas
e >::operator<<(double const &)' : foncti
on non inline [C:\opengv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\plainobjectbase.h(422): warning
C4710: '
__thiscall Eigen::MatrixBase >::MatrixBas
e >(void)' : fonction non inline [C:\open
gv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\plainobjectbase.h(422): warning
C4710: '
__thiscall Eigen::DenseStorage::DenseStorage(vo
id)' : fonction non inline [C:\opengv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\products\coeffbasedproduct.h(150):
warni
ng C4710: '__thiscall Eigen::MatrixBase gen::Matrix const &,class
Eigen::Matrix con
st &,6> >::MatrixBase ,3,3,0,3,3> const &,class Eigen::Matrix const &,6>(void)' :
fonction non inline [C:\opengv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\plainobjectbase.h(422): warning
C4710: '
__thiscall Eigen::MatrixBase >::MatrixBas
e >(void)' : fonction non inline [C:\open
gv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\plainobjectbase.h(422): warning
C4710: '
__thiscall Eigen::DenseStorage::DenseStorage(vo
id)' : fonction non inline [C:\opengv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\plainobjectbase.h(439): warning
C4710: '
__thiscall Eigen::MatrixBase >::MatrixBas
e >(void)' : fonction non inline [C:\open
gv\build\random_generators.vcxproj]c:\opengv\third_party\eigen\src\core\plainobjectbase.h(439): warning
C4710: '
__thiscall Eigen::DenseStorage::DenseStorage(in
t,int,int)' : fonction non inline
[C:\opengv\build\random_generators.vcxproj]
c:\opengv\third_party\eigen\src\core\cwiseunaryop.h(68): warning C4710:
'__th
iscall Eigen::CwiseUnaryOpImpl e>,class Eigen::Matrix const ,struct
Eigen::Dense>::CwiseUnar
yOpImpl,class Eigen::Matrix<
double,3,1,0,3,1> const ,struct Eigen::Dense>(void)' : fonction non inline
[C:
opengv\build\random_generators.vcxproj]And the following error:
"c:\opengv\build\opengv.sln" (cible par défaut) (1) ->
"c:\opengv\build\opengv.vcxproj.metaproj" (cible par défaut) (3) ->
"c:\opengv\build\opengv.vcxproj" (cible par défaut) (4) ->
(ClCompile cible) ->
..\src\absolute_pose\modules\main.cpp(32): fatal error C1083: Impossible
d'ouvrir
le fichier include : 'Eigen/NonLinearOptimization' : No such file or direc
tory [c:\opengv\build\opengv.vcxproj]2723 Avertissement(s) 1 Erreur(s) Temps écoulé 00:00:54.18
Help me please to solve it.
—
Reply to this email directly or view it on GitHub
#11.
from opengv.
I "fixed" it. PLease test.
from opengv.
Thank you for your help, the build was successfully done but when I tried to install the library under Matlab, I got linking errors for instance:
"opengv.obj : error LNK2019: symbole externe non résolu "public: __thiscall opengv::absolute_pose::MACentralAbsolute::MACentralAbsolute(double const *,double const *,int,int)" (??0MACentralAbsolute@absolute_pose@opengv@@QAE@PBN0HH@Z) référencé dans la fonction _mexFunction "
I simply did mex -setup and chose the same compiler with wich I builded the library, set the path in matlab as c:\opengv\matlab and did:
mex -I../include -I../third_party -I../third_party/eigen3 -L../lib/Release -lopengv opengv.cpp
Am-I doing something wrong?
from opengv.
Which compiler did you use? Did you consistently use 32 or 64 bit? You
cannot mix them.
Cheers,
Laurent
On 20/11/2014 11:01 PM, "Daphnee" [email protected] wrote:
Thank you for your help, the build was successfully done but when I tried
to install the library under Matlab, I got linking errors for instance:
"opengv.obj : error LNK2019: symbole externe non résolu "public:
__thiscall
opengv::absolute_pose::MACentralAbsolute::MACentralAbsolute(double const
*,double const *,int,int)" (??0MACentralAbsolute@absolute_pose@opengv@@QAE
https://github.com/QAE@PBN0HH@Z) référencé dans la fonction
_mexFunction "
I simply did mex -setup and chose the same compiler with wich I builded
the library, set the path in matlab as c:\opengv\matlab and did:mex -I../include -I../third_party -I../third_party/eigen3 -L../lib/Release
-lopengv opengv.cpp—
Reply to this email directly or view it on GitHub
#11 (comment).
from opengv.
Related Issues (20)
- Question about optimization HOT 1
- system pybind11 HOT 1
- Cmake issue with FindEigen.cmake
- Poor accuracy of test_multi_noncentral_relative_pose_sac
- pybind11 does not contain a CMakeLists.txt file. HOT 2
- Ransac Distance Model in pure rotation motion for Eigensolver Sac problem HOT 1
- Segmentation fault like error.... HOT 2
- No module named 'pyopengv' HOT 1
- Problem with UPnP
- Cannot clone the repository HOT 1
- How to use 5-point algorithm to solve for rotations directly
- Direct Optimization of Frame-to-Frame Rotation supplemental material
- Building on Windows with Eigen 3.4 takes a LOOOOOT of time HOT 5
- Uninformative error messages with curse words in, which "shouldn't happen" getting reported to users of opengv
- fivept_kneip causes stack overflow during test_relative_pose.exe - built with Visual Studio 2019, Eigen 3.4.0
- KNEIP, GAO, EPNP Solvers do not return similar results to OpenCV's PnP RANSAC HOT 1
- same image pair , but NoncentralRelativePoseSacProblem return different result
- [Potential bug] Regardless of the input, pyopengv.relative_pose_sixpt( ) returns NAN.
- Installing pyopengv using anaconda prompt
- Quaternion of unit matrix gives wrong result
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 opengv.