Hint: you can use the batch edit button to edit the variables more easily: LD_LIBRARY_PATH=OPENVIBE_ROOT/scripts/software/lib:OPENVIBE_ROOT/dist/lib The build system makes it so you have a very few of them to set manually. Then you will need to set up the environment. First you need to change the working path to the /bin folder in the /dist folder made during the install. Select the application for which you want to set the run environment. In order to be able to run applications directly from the Qt Creator you will need to set up a few environmental variables for each run setting. Then go to Tools->Options->Build&Run->General and un-check the Always build before deploying it and Always deploy before running it steps. Click on the Details button in build steps and add install as an additional argument to make. In order to do this go to Projects (on the left) -> Build&Run -> Build. Better way to proceed is to use make install for compiling and skip the compile step entirely before running. ![]() This might not be the ideal behavior for openvibe development since the install process can be a bit lengthy. Building applicationīy default, Qt Creator will run make on build and make install before run. To this you will need to provide additional arguments: -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=OPENVIBE_ROOT/distĭo not forget to change the OPENVIBE_ROOT path to location where you put your openvibe files. Run Qt Creator, choose Open File or Project… and in the dialog navigate to the CMakeLists.txt file in the openvibe root.Ī dialog will open, prompting you to run the CMake process. Since Qt Creator has a native support for CMake projects it makes importing very easy. Openvibe now uses CMake (almost) exclusively to create a build environment. Still, some tweaks will be necessary to make everything work. The new build system has made it quite easy to use the native building capabilities of any IDE. One of the most polished tools for C++ development on linux is the Qt Creator which, contrary to its name, is a general purpose IDE and does not only serve to develop Qt applications. ![]() With the new build system using CMake for all the heavy lifting it is now possible to use any IDE capable of understanding CMake projects to develop openvibe in integrated manner. Some specific notes for Windows have been made here. These instructions have been mainly written for Qt Creator on Linux. More basic build mechanisms are recommended for new OpenViBE users. NOTE: Using Qt Creator is an advanced way to build OpenViBE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |