Forum Replies Created
-
AuthorPosts
-
GuillaumeKeymaster
Hi Moonfaxx,
I strongly suggest you to not use “Program Files” as base directory for programming/compiling stuff. This folder is protected by Windows, that’s why you get all these “Permission denied” errors. More, the space character in “Program Files” may cause problems like inclusion errors, path resolving errors, …
Create a new directory (named without space) at your hard drive root like
C:\dev\
and retry from there 😉Cheers,
Guillaume.GuillaumeKeymasterIt is normal for
Boost_DIR
, we don’t use this variable in SOFA.
MiniBoost is still here but will be removed soon so you need to have your own Boost.runSofa.exe should be able to get boost_system-vc120-mt-gd-1_60.dll if Boost is in your PATH.
Try copying boost_system-vc120-mt-gd-1_60.dll in the bin/ folder of SOFA.Guillaume.
GuillaumeKeymasterOk nice to see you solved it 🙂
Could you explain why you unchecked SOFAGUI_QT in the first place?
GuillaumeKeymasterHi @jjcasmar,
To help us understand what and how you compiled, could you provide your (failing) CMakeCache.txt file?
Cheers,
Guillaume.GuillaumeKeymasterHi Bnk,
Did you add Boost in your PATH variable?
It should be something likeyour_boost_path\boost_1_60_0\lib64-msvc-12.0
Cheers,
Guillaume.GuillaumeKeymasterHi Mermail,
First time I see this link error. Did you follow the documentation step by step? I have to warn you that VS2010 may not be able to compile SOFA anymore in a few weeks because we are going to use more and more C++11 features.
All I can do is suggest you to search about this LNK1112 error. This StackOverflow topic seems close to your problem: http://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ.
Hope this helps,
Guillaume.GuillaumeKeymasterHi Nerea,
Is your problem solved?
If yes, you can set this topic as “Solved” 🙂Cheers,
Guillaume.19 September 2016 at 18:19 in reply to: [SOLVED] Sofa (version Github) CMake V2.x backward compatibility #7491GuillaumeKeymasterHi Erik,
Indeed, and the reason is that SOFA is now C++11 mandatory.
To do so, we had to go to CMake 3.x because using the CMAKE_CXX_STANDARD variable (only available since 3.x) was the cleanest and most easy-to-maintain solution. Check the “c++11” branch in the repo for more details.About backward compatibility, I’m not sure this is planned. All this work was done to make SOFA move forward (C++11 is not young anymore) and open it to new developments/improvements.
Anyway, we can help you if you have any trouble staying up-to-date 😉
Cheers,
Guillaume.12 September 2016 at 09:46 in reply to: [SOLVED] Request to complete Documents>Using SOFA>Basic Components #7453GuillaumeKeymasterHi Andrey,
Improving the documentation is an everyday task for the SOFA Consortium. We (Hugo and me) are working to make it clear and easy to contribute.
We decided to avoid having a 3 parts doc (website + wiki + doxygen) because it is harder to maintain and has duplicates risks (particularly between the website doc and the wiki).Instead, we chose to setup a 2 parts doc (website + doxygen) with an editable website doc based on a Markdown repository (behaving like a wiki but nicely integrated to the website).
This repository is completely open to contributions: you can add/edit files/folders and propose what you think would be great with a pull request.
It would be possible to have one page per component but wouldn’t it be better to have those tips & tricks in the Doxygen ?Concerning the comments section, you are right. It was removed when we migrated to the Markdown system. I will reopen it 😉
Best regards,
Guillaume.5 September 2016 at 17:21 in reply to: [SOLVED] Can not create "New" from RunSofa Window> File>New #7447GuillaumeKeymasterHi Andrey,
Indeed, I located this bug in RealGUI.cpp#933. The
share/
folder should not be included in newScene.scn path.
We will update the release asap.Concerning the Help menu, it is here but deactivated just to remind us to implement it. You just raised this task’s priority 😉
Thank you for your feedback!
Guillaume.GuillaumeKeymasterHi bushra,
Unfortunately I have no lucky guess for this problem.
Did you try to start Modeler.exe with the console? It may show some output on crash.
Otherwise, I invite you to compile in Debug mode and run the Modeler through a debugger to locate the problem. I will give it a try as soon as possible.Hope this helps,
Guillaume.GuillaumeKeymasterHi Karthik,
Sorry for the delayed answer.
Please create your own topic next time, you can reference a related topic with its URL.I will try to answer to your questions:
1. You got it. You have to open System Properties -> Advanced -> Environmental Variables and scroll down in “System variables” area to the “Path” line. Double click the value and it will open a window with a long line of paths delimited with semicolons (“;”). What you have to do is to add at the end
;C:\Qt_new\5.6\msvc2015_64\bin;C:\Qt_new\5.6\msvc2015_64\lib;C:\boost\boost_1_59_0\lib64-msvc-14.0
(Warning: I don’t know where is your Boost installation).
Tip: You can use a software like Path Editor, it’s more user-friendly 😉2. Did you try without touching this variable? It would be nice to see if you get the same error as Philippe.
3. After “Configure” and “Generate” steps (with CMake-GUI), nothing is compiled. That’s why you have to open Sofa.sln in Visual Studio and build the solution (press F7). About the “Access Denied” problem, could you try to run Visual Studio with Administrator privilege and then open Sofa.sln?
Hope this helps,
Guillaume.GuillaumeKeymasterHi @ewpostek,
Actually you missed nothing since SofaPython in an optional plugin.
Yet, if you want to compile/use it, you just have to install Python, activate SofaPython plugin in CMake and rebuild.
sudo apt-get install python2.7-dev
should be enough 😉Cheers,
Guillaume.GuillaumeKeymasterThanks for sharing this tip 🙂
Ciao !
Guillaume.GuillaumeKeymasterHi Sen,
The Modeler is known to cause this kind of issues since it has not be maintained for a long time.
Thus, we advise you to test your scenes directly using runSofa.Cheers,
Guillaume.GuillaumeKeymasterHi Philippe,
Sorry for the very delayed answer.
Thank you very much for all this feedback, it helped a lot!
I updated SOFA Documentation and will keep this topic as a reference.However, I still don’t understand why you were having QOpenGL problems with a VS2013_64bit + Qt_5.5.1 + SOFA_15.12 configuration since I have exactly the same one here and everything works fine…
Did you unzip the external libraries foldersinclude/
,lib/
andlicences/
(containing GLEW and GLUT dlls) in your sources?Cheers,
Guillaume.GuillaumeKeymasterHi Raphael,
You’re right with the video problem: all the screenshots get in the same folder and it quickly becomes messy.
However, I think that having a screenshot folders next to the scene files would make things more complicated (screenshot folders everywhere). Moreover, nothing would change for the video mess problem…I guess it would be cool to have a structure like this (located in build root directory):
screenshots/ scene_name/ scene_name_00000001.png scene_name_00000004.png video_00000001/ scene_name_00000002.png scene_name_00000003.png
What do you think ?
Anyway, if you implement cool features in Sofa and you want to propose them to the community, do not hesitate to open Pull Requests in our GitHub 😉
Cheers,
Guillaume.GuillaumeKeymasterHi Zahra,
Sorry for the delay of my answer.
There was an error in the documentation. The Qt you are using does not support desktop OpenGL.
If you are using MSVC2012 32-bit, you can get prebuilt binaries for Qt 5.5. If you want to stick to Qt 5.2.1, you will have to get the OpenGL version.
Please find all the instructions in the corrected documentation.Hope this helps,
Guillaume.GuillaumeKeymasterHi malli,
#error GL Shader support requires GLEW. Please define SOFA_HAVE_GLEW to use shaders.
Did you install GLEW as specified in the documentation (“Required dependencies” part) ?
sudo apt-get install libglew-dev
Cheers,
Guillaume.GuillaumeKeymasterHi Alex,
Since we migrated to GitHub recently, I just opened a pull request with your fix: https://github.com/sofa-framework/sofa/pull/4
Next time, do not hesitate to do the same!
Cheers,
Guillaume.GuillaumeKeymasterHi @bushra,
I presume you are using a Release version of Sofa.
To investigate a bit further, could you try to load SofaPython plugin with a Sofa compiled in Debug mode (runSofa_d.exe) and started through a debugger?
Doing this, you will be able to see what’s wrong and where.Cheers,
Guillaume.GuillaumeKeymasterHi min,
Any news with your problem?
Otherwise, I will tag this topic as solved for your “Sofa using Qt” question (Q1).Cheers,
Guillaume.GuillaumeKeymasterHi guys,
Any news about this problem ?
Unfortunately I did not have a lot of time last weeks to test in details 🙁Cheers,
Guillaume.GuillaumeKeymasterHi minmin,
Since nobody answered to this topic, I tag it as solved.
Do not hesitate to post here if you need help about qtSofa.
Cheers,
Guillaume.18 May 2016 at 12:48 in reply to: [SOLVED] Problem downloading the source files from git repositary #6785GuillaumeKeymasterHi malli,
This is not SOFA sources repository.
Please read instructions about cloning SOFA on the download page.Cheers,
Guillaume. -
AuthorPosts