Open matyklug18 opened 5 years ago
Hi, the build instructions are in the readme. We don't provide builds for linux yet.
Hi, these instructions didnt work, that is why i asked. When i try to build it says: “setWindowFlag” was not declared in this scope suggested alternative: “setWindowFlags”
Ok, try building the latest code from the branch dev
. Also after checking out the code, make sure to pull down the submodules as well with git submodule update --init --recursive
. If you encounter any issues post them here preferably with logs.
fatal: not a git repository (or any of the parent directories): .git
@matyklugDebbuged You need to clone the repo so it retains metadata needed to get other code and you need the prerequisite software installed as detailed in the readme. Cmake, git and qt creator along with gcc.
git clone https://github.com/jahshaka/Studio.git
cd Studio
and git checkout -b dev remotes/origin/dev
git submodule update --init --recursive
CMakeLists.txt
file inside the Studio directory, next you can pick the default configure option. Cmake will parse the project and you can now build. Additionally, in the left sidebar, you can click the project (computer icon) button and switch the build target to Release so it's more performant./jashaka/Studio/src/shadergraph/widgets/shaderassetwidget.h:12: error: ../core/project.h: No such file or directory
^~~~~~~~~~~~~~~~~~~
@matyklugDebbuged Grab the latest code. Do a git pull and start at step 3. This issue was fixed last week. Almost there. :) It might end with a couple errors however because of some failed tests for a library we use but the main project should be built and executable.
i executed git pull, but still the same
@matyklugDebbuged What does your git log say? The head commit should be https://github.com/jahshaka/Studio/commit/cf7a6b9ae9404ef1cdf201c088a44b27203479ba. Did you reinitialize the submodules using step 3? Maybe try starting over by deleting everything and following the steps again.
Ok looks good, delete your build folder and try again.
/home/maty/Desktop/jashaka/Studio/src/shadergraph/shadergraphmainwindow.h:38: error: ‘Q_NAMESPACE’ does not name a type; did you mean ‘QNAMESPACE_H’?
Q_NAMESPACE
^~~
QNAMESPACE_H
/home/maty/Desktop/jashaka/Studio/src/shadergraph/shadergraphmainwindow.h:117: error: ‘MainWindow’ in namespace ‘Ui’ does not name a type
Ui::MainWindow *ui;
^~~~~~
What version of Qt do you have? You will need at least 5.9.3 to be safe.
Qt Creator 4.8.1 Based on Qt 5.12.0 (GCC 5.3.1)
I've been able to build on both mac and linux; I am unable to replicate this issue. I've merged some changes to the dev branch. Pull and do a clean build again.
Did you have any luck building @matyklugDebbuged?
tried now, still the same
and git pull says:
maty@maty-iMac:~/Desktop/jashaka$ git pull
fatal: not a git repository (or any of the parent directories): .git
maty@maty-iMac:~/Desktop/jashaka$ cd Studio/
maty@maty-iMac:~/Desktop/jashaka/Studio$ git pull
remote: Enumerating objects: 206, done.
remote: Counting objects: 100% (206/206), done.
remote: Total 424 (delta 206), reused 206 (delta 206), pack-reused 218
Receiving objects: 100% (424/424), 8.76 MiB | 622.00 KiB/s, done.
Resolving deltas: 100% (283/283), completed with 60 local objects.
From https://github.com/jahshaka/Studio
+ 35b8cc8a...8a66294d dev -> origin/dev (forced update)
+ 30a0c40e...92647080 studio_split -> origin/studio_split (forced update)
Auto-merging src/widgets/sceneviewwidget.h
Auto-merging src/misc/stylesheet.h
CONFLICT (content): Merge conflict in src/misc/stylesheet.h
Auto-merging src/misc/stylesheet.cpp
Auto-merging src/mainwindow.cpp
Auto-merging src/io/scenereader.cpp
Auto-merging CMakeLists.txt
CONFLICT (content): Merge conflict in CMakeLists.txt
Automatic merge failed; fix conflicts and then commit the result.
as the title says, how i am supposed to install it on linux?