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

Compiling with Panda3D on Windows #1567

Open
rolalaro opened this issue Feb 3, 2025 · 0 comments
Open

Compiling with Panda3D on Windows #1567

rolalaro opened this issue Feb 3, 2025 · 0 comments

Comments

@rolalaro
Copy link

rolalaro commented Feb 3, 2025

Hello,

I tried to compile ViSP with Panda3D on Windows in order to use the RBT module.
However, I faced a compilation isuue.

To install Panda3D, I followed the instructions here that states that I have to download Panda3D installer. The version I got is 1.10.15-x64.

In order to be detected, I had to set an environment variable Panda3D_DIR that points towards the root folder of Panda3D.
Then, I ran the following commands:

 cmake -G "Visual Studio 17 2022" -A "x64" ..\visp
 cmake --build . --config Release --target visp_rbt

It led to the following compilation errors:

C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(973,28): error C2039: 'binder2nd' n'est pas membre de 'std' [C
:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(973,28): error C2065: 'binder2nd' : identificateur non déclaré
 [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(973,8): error C2974: 'Eigen::internal::functor_traits' : argum
ent modèle invalide pour 'T', type attendu [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(973,41): error C2988: impossible de reconnaître la définition/
déclaration de modèle [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(973,41): error C2143: erreur de syntaxe : absence de ';' avant
 '>' [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(973,41): error C2059: erreur de syntaxe : '>' [C:\visp-ws\visp
-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(974,1): error C2143: erreur de syntaxe : absence de ';' avant
'{' [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(974,1): error C2447: '{' : en-tête de fonction manquant (liste
 formelle à l'ancien format ?) [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(977,28): error C2039: 'binder1st' n'est pas membre de 'std' [C
:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(977,28): error C2065: 'binder1st' : identificateur non déclaré
 [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(977,8): error C2974: 'Eigen::internal::functor_traits' : argum
ent modèle invalide pour 'T', type attendu [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(977,41): error C2988: impossible de reconnaître la définition/
déclaration de modèle [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(977,41): error C2143: erreur de syntaxe : absence de ';' avant
 '>' [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(977,41): error C2059: erreur de syntaxe : '>' [C:\visp-ws\visp
-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(978,1): error C2143: erreur de syntaxe : absence de ';' avant
'{' [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]
C:\Panda3D-1.10.15-x64\include\Eigen\src\Core\Functors.h(978,1): error C2447: '{' : en-tête de fonction manquant (liste
 formelle à l'ancien format ?) [C:\visp-ws\visp-build\modules\ar\visp_ar.vcxproj]

I know that you are not in charge of Panda3D compilation, could you just tell me the steps you followed to be able to use it on Windows please ? Maybe I chose the wrong package version, or maybe I should compile Panda3D from sources ?

Best regards

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