Forum Replies Created
-
AuthorPosts
-
SenBlocked
Correction.
Works fine if I just run
runSofa C:\Haptics\sofa\v15.12\src\examples\Tutorials\Collision\AdvancedResponseConstraintBased.scnSo the problem happens when i launch it from Modeller –> run in Sofa.
I wonder if importing the scene into Modeller corrupts it. Anyone face a similar issue?
best
Sourav4 April 2016 at 15:08 in reply to: [SOLVED] I am confused on the dependencies when compiling Sofa On WIN10. vs2015 #6512SenBlockedThanks.
Whats curious though is why others werent facing the same issue including the nightly build.
That QT5 typo warning should happen on all versions ?Best
Sen
Sofa Env: Win10/VS2012/v15.24 April 2016 at 11:43 in reply to: [SOLVED] I am confused on the dependencies when compiling Sofa On WIN10. vs2015 #6474SenBlockedThanks Max. Saved my morning. ( I was trying to fiddle with the cmake itself instead of simply exporting.doh!!).
Hugo/Guilliame,
Would you please add the instruction in the Building on Windows , Required Dependencies docs to save trouble for others.set CMAKE_PREFIX_PATH=D:\…..\Qt\Qt5.2.1\5.2.1\msvc2012_64
A further dev warning appears
CMake Warning (dev) at D:/MyPrograms/Qt/Qt5.2.1/5.2.1/msvc2012_64/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:224 (configure_file):
configure_file called with unknown argument(s):COPY_ONLY
Call Stack (most recent call first):
applications/projects/Modeler/exec/CMakeLists.txt:14 (qt5_add_resources)However thats just a typo with Qt5CoreMacros.cmake file. It uses COPY_ONLY instead of COPYONLY.
easily edited.Best
Sourav2 April 2016 at 14:20 in reply to: [SOLVED] I am confused on the dependencies when compiling Sofa On WIN10. vs2015 #6446SenBlockedHi Guilliame
I followed the exact steps on https://www.sofa-framework.org/support/doc/getting-started/build/build-on-windows/
I get this error:
a) Cannot find any Qt libraries on your system, please set Qt5_DIR or Qt4_DIR if you want to compile GUIs using Qt
followed by
“CMake Warning at applications/projects/CMakeLists.txt:5 (find_package):
By not providing “FindQt5.cmake” in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by “Qt5″, but
CMake did not find one.”Interestingly I do find in my CMakeCache, so I do have QT installed in the system.
QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.2.1/5.2.1/msvc2012_64/bin/qmake.exe
//The directory containing a CMake configuration file for Qt5.
Qt5_DIR:PATH=Qt5_DIR-NOTFOUNDSo the QT5 installation instruction wasnt complete?
best
SouravYour
When runningSenBlockedHi Guillaume,
I get the same error while compiling CudaMeshMatrixMass.C:\Haptics\sofasrc.29112015\modules\SofaMiscForceField/MeshMatrixMass.inl(79): error C2491: 'sofa::component::mass::MeshMatrixMass<DataTypes,TMassType>::MeshMatrixMass' : definition of dllimport function not allowed C:\Haptics\sofasrc.29112015\modules\SofaMiscForceField/MeshMatrixMass.inl(87): error C2491: 'sofa::component::mass::MeshMatrixMass<DataTypes,TMassType>::~MeshMatrixMass' : definition of dllimport function not allowed
I use the head version of master branch on VS2012 / Windows10.
I believe a similar error was happening in the past with TetraHedronFEMForceField and response on the forum was related to inconsistent use of “using namespace” in inline files.
I couldnt apply the same soln to this case.
Best
SouravSenBlockeder… didnt finish the mail above.
Well thats the log from the console of the Modeller.
Any ideas would be appreciated.
best regards
Sourav Sen -
AuthorPosts