Skip to content

Commit

Permalink
linux fixes & bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
astrowander committed Dec 4, 2023
1 parent e5ddcf6 commit 153422f
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 6 deletions.
2 changes: 2 additions & 0 deletions App/acmb-app.pro
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ LIBS += -llensfun
LIBS += -lTinyTIFFShared_Release
LIBS += -ltbb
LIBS += -lcudart
LIBS += -L/usr/local/lib/ -lCCfits
LIBS += -L/usr/local/lib/ -lcfitsio

SOURCES += \
CliParser.cpp \
Expand Down
2 changes: 1 addition & 1 deletion Codecs/FITS/FitsDecoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ ACMB_NAMESPACE_BEGIN

class FitsDecoder : public ImageDecoder
{
std::unique_ptr<CCfits::FITS> _pFits;
std::shared_ptr<CCfits::FITS> _pFits;

public:
FitsDecoder( PixelFormat outputFormat = PixelFormat::Unspecified );
Expand Down
2 changes: 1 addition & 1 deletion Codecs/imagedecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "PPM/ppmdecoder.h"
#include "Raw/RawDecoder.h"
#include "Tiff/TiffDecoder.h"
#include "Fits/FitsDecoder.h"
#include "FITS/FitsDecoder.h"

#include "./../Transforms/DebayerTransform.h"
#include "./../Transforms/converter.h"
Expand Down
4 changes: 2 additions & 2 deletions Core/versioning.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#pragma once
#define MAJOR_VERSION "1"
#define MINOR_VERSION "0"
#define REVISION_VERSION "0"
#define BUILD_NUMBER "4"
#define REVISION_VERSION "1"
#define BUILD_NUMBER "0"
#define FULL_VERSION MAJOR_VERSION "." MINOR_VERSION "." REVISION_VERSION "." BUILD_NUMBER
2 changes: 2 additions & 0 deletions GUI/acmb-gui.pro
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ LIBS += -ltbb
LIBS += -lcudart
LIBS += -lglfw
LIBS += -lvulkan
LIBS += -L/usr/local/lib/ -lCCfits
LIBS += -L/usr/local/lib/ -lcfitsio

LIBS += -L$$OUT_PWD/../ -lacmb-lib
LIBS += -L$$OUT_PWD/../Cuda/ -lacmb-cuda
Expand Down
2 changes: 2 additions & 0 deletions Server/acmb-server.pro
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ LIBS += -lTinyTIFFShared_Release
LIBS += -ltbb
LIBS += -lcudart
LIBS += -lboost_system
LIBS += -L/usr/local/lib/ -lCCfits
LIBS += -L/usr/local/lib/ -lcfitsio

SOURCES += \
main.cpp \
Expand Down
4 changes: 2 additions & 2 deletions Tests/TestFitsDecoder.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "test.h"
#include "testtools.h"
#include "../Codecs/Fits/FitsDecoder.h"
#include "../Codecs/FITS/FitsDecoder.h"
#include "../Core/bitmap.h"

ACMB_TESTS_NAMESPACE_BEGIN
Expand Down Expand Up @@ -70,4 +70,4 @@ END_TEST

END_SUITE

ACMB_TESTS_NAMESPACE_END
ACMB_TESTS_NAMESPACE_END
4 changes: 4 additions & 0 deletions Tests/acmb-tests.pro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ LIBS += -L/usr/local/lib/ -lraw
LIBS += -llensfun
LIBS += -lTinyTIFFShared_Release
LIBS += -ltbb
LIBS += -L/usr/local/lib/ -lCCfits
LIBS += -L/usr/local/lib/ -lcfitsio

HEADERS += \
TestRunner.h \
Expand All @@ -24,6 +26,8 @@ SOURCES += \
TestDeaberrateTransform.cpp \
TestDebayerTransform.cpp \
TestFastAligner.cpp \
TestFitsDecoder.cpp \
TestFitsEncoder.cpp \
TestHaloRemoval.cpp \
TestHistogramBuilder.cpp \
TestImageDecoder.cpp \
Expand Down
5 changes: 5 additions & 0 deletions acmb-lib.pro
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ TARGET = acmb-lib
TEMPLATE = lib
CONFIG += staticlib
CONFIG += c++2a
INCLUDEPATH += Libs/cfitsio/include

SOURCES += \
AGG/agg_trans_affine.cpp \
Codecs/FITS/FitsDecoder.cpp \
Codecs/FITS/FitsEncoder.cpp \
Codecs/imageencoder.cpp \
Codecs/imagedecoder.cpp \
Codecs/JPEG/toojpeg/toojpeg.cpp \
Expand Down Expand Up @@ -54,6 +57,8 @@ HEADERS += \
AGG/agg_trans_affine.h \
AGG/agg_config.h \
AGG/agg_basics.h \
Codecs/FITS/FitsDecoder.h \
Codecs/FITS/FitsEncoder.h \
Codecs/Raw/RawSettings.h \
Codecs/imageencoder.h \
Codecs/imagedecoder.h \
Expand Down

0 comments on commit 153422f

Please sign in to comment.