Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
Updated Linux config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ttddee committed Feb 12, 2022
1 parent 767a94d commit bcd4c04
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 5 deletions.
8 changes: 6 additions & 2 deletions Cascade.pro
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,13 @@ FORMS += \

linux-g++ {
LIBS += -L /usr/lib -lOpenImageIO
#LIBS += -L /usr/lib -lOpenColorIO
LIBS += -L /usr/lib -lgmic
LIBS += -L /usr/lib -lOpenColorIO
LIBS += -L /usr/lib -ltbb
LIBS += -L /usr/lib -ldl
LIBS += -L /usr/lib -lglslang
LIBS += -L /usr/lib -lOGLCompiler
LIBS += -L /usr/lib -lOSDependent
LIBS += -L /usr/lib -lSPIRV

CONFIG(debug, debug|release): DESTDIR = $$OUT_PWD
CONFIG(release, debug|release): DESTDIR = $$OUT_PWD
Expand Down
12 changes: 11 additions & 1 deletion src/multithreading.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,17 @@

#include <OpenColorIO/OpenColorIO.h>
#include <OpenImageIO/imagebuf.h>
#include <tbb/tbb.h>

// Prevent tbb emit() from clashing with Qt. Wtf.
#ifndef Q_MOC_RUN
#if defined(emit)
#undef emit
#include <tbb/tbb.h>
#define emit
#else
#include <tbb/tbb.h>
#endif // defined(emit)
#endif // Q_MOC_RUN

namespace OCIO = OCIO_NAMESPACE;
using namespace OIIO;
Expand Down
2 changes: 1 addition & 1 deletion src/shadercompiler/SpvShaderCompiler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#elif __linux__
#include <glslang/Public/ShaderLang.h>
#include <glslang/SPIRV/GlslangToSpv.h>
#include <glslang/DirStackFileIncluder.h>
#include "DirStackFileIncluder.h"
#include <glslang/Include/ResourceLimits.h>
#endif

Expand Down
2 changes: 1 addition & 1 deletion src/uientities/fileboxentity.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ FileBoxEntity::FileBoxEntity(UIElementType et, QWidget *parent)
ui->fileListView->setEditTriggers(QAbstractItemView::NoEditTriggers);

#ifdef QT_DEBUG
addEntries(QStringList("C:\\Users\\ryzen\\Cascade\\images\\bay.jpg"));
//addEntries(QStringList("C:\\Users\\ryzen\\Cascade\\images\\bay.jpg"));
#endif

connect(ui->loadButton, &QPushButton::clicked,
Expand Down

0 comments on commit bcd4c04

Please sign in to comment.