 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hello everyone
I just finished a review of kpovmodeler
I removed all kde dependency
if anyone wants test...
git clone https://github.com/eticre/povmodeler.git
cd povmodeler
mkdir build
cd build
cmake ../
make -j4
make install
~/.local/share/povmodeler/povmodeler
tested on archlinux
all files installed are in ~/.local/share/povmodeler
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"eticre" <eti### [at] tin it> wrote:
> hello everyone
>
> I just finished a review of kpovmodeler
> I removed all kde dependency
> if anyone wants test...
first off, thank you. a modelling s/ware is high on my wish list.
> git clone https://github.com/eticre/povmodeler.git
> cd povmodeler
> mkdir build
> cd build
> cmake ../
> make -j4
> make install
> ~/.local/share/povmodeler/povmodeler
>
> tested on archlinux
>
> all files installed are in ~/.local/share/povmodeler
I get an error due, it seems, to the name of one library.
since I don't know CMake well enough, I've no idea why it
finds the correct library (libGL) but then tries to link
against a different one (libOpenGL). any ideas?
jr@crow:23:b$ cmake ../povmodeler/
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so -
found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found OpenGL: /usr/lib64/libGL.so
-- Found Freetype: /usr/lib64/libfreetype.so (found version "2.5.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/B/b
jr@crow:24:b$ make -j2
...
[100%] Built target povmodelerpart
[100%] Building CXX object CMakeFiles/povmodeler.dir/povmodeler_automoc.cpp.o
Linking CXX executable povmodeler
/usr/lib64/gcc/x86_64-slackware-linux/4.8.2/../../../../x86_64-slackware-linux/bin/ld:
cannot find -lOpenGL
collect2: error: ld returned 1 exit status
make[2]: *** [povmodeler] Error 1
make[1]: *** [CMakeFiles/povmodeler.dir/all] Error 2
make: *** [all] Error 2
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> I get an error due, it seems, to the name of one library.
solved, in a hack-ish way. there is a file 'link.txt' which controls the
linking, and removing the redundant '-lOPenGL' switch does it.
running into other problems though, one of which is opening one of the example
scenes ("media1.kpm") results in an error dialog "Could not load the document's
data". the other is .. copious, mostly warnings, output during execution:
jr@crow:6:povmodeler$ ./povmodeler
QCommandLineParser: option not defined: "-dri"
QObject::connect: No such signal QMenu::activated(int)
Serialization method for "Light" shadows old implementation
Serialization method for "GlobalSettings" shadows old implementation
Serialization method for "Interior" shadows old implementation
Serialization method for "Pattern" shadows old implementation
Serialization method for "Normal" shadows old implementation
Serialization method for "Warp" shadows old implementation
Serialization method for "Finish" shadows old implementation
Serialization method for "Media" shadows old implementation
Serialization method for "GraphicalObject" shadows old implementation
Serialization method for "Pigment" shadows old implementation
Serialization method for "Texture" shadows old implementation
Serialization method for "BicubicPatch" shadows old implementation
Serialization method for "Triangle" shadows old implementation
QObject::connect: No such signal QWidgetAction::valueChanged(int)
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
PMSPhere::setUSteps: U must be greater than 1
PMSphere::setVSteps: V must be greater than 3
PMCylinder::setSteps: S must be greater than 3
PMCone::setSteps: S must be greater than 4
PMTorus::setUSteps: U must be greater than 1
PMTorus::setVSteps: V must be greater than 3
PMLathe::setSSteps: S must be greater than 0
PMLathe::setRSteps: R must be greater than 3
PMSurfaceOfRevolution::setSSteps: S must be greater than 0
PMSurfaceOfRevolution::setRSteps: R must be greater than 3
PMPrism::setSSteps: S must be greater than 0
PMPlane::setPlaneSize: Size must be greater than 0.1
PMDisc::setSteps: S must be greater than 3
PMBlobSphere::setUSteps: U must be greater than 1
PMBlobSphere::setVSteps: V must be greater than 3
PMBlobCylinder::setUSteps: U must be greater than 1
PMBlobCylinder::setVSteps: V must be greater than 3
PMSuperquadricEllipsoid::setUSteps: U must be greater than 1
PMSuperquadricEllipsoid::setVSteps: V must be greater than 1
PMSphereSweep::setRSteps: R must be greater than 3
PMSphereSweep::setSSteps: S must be greater than 0
PMHeightField::setVariance: V must be less than 52 & greater than 0
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
Asking for share context for widget that does not have a window handle
QOpenGLWidget: Cannot be used without a context shared with the toplevel.
pmshell desctructor
pmshell01
dockmainwindow desctructor
that's linked against qt5.
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
ops!
..kpm files in kpovmodeler are archive compressed
git repo is now updatete with .kpm plain text file
I removed karchive from project but qt5 has nothing like it
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"eticre" <eti### [at] tin it> wrote:
> ops!
> ..kpm files in kpovmodeler are archive compressed
>
> git repo is now updatete with .kpm plain text file
>
> I removed karchive from project but qt5 has nothing like it
Hi eticre,
congratulations on porting kpovmodeler to QT5. I tried, but my knowledge was not
enough to get it all going.
karchive is part of KDE Frameworks 5, and should be available
(https://api.kde.org/frameworks/karchive/html/index.html).
In my compiled version of povmodeler, after fixing the opengl library issue, I
don't see the statusbar.
Cheers
Ton.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"eticre" <eti### [at] tin it> wrote:
> ops!
> ..kpm files in kpovmodeler are archive compressed
thanks, that helped. "gzip".
not a problem but curious: in preferences, the combo box (under povray
documentation) only provides for POV-Ray version 3.1 or 3.5 selection. why
those two versions? and, what does it select?
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
On 12/3/18 5:19 PM, eticre wrote:
> hello everyone
I got it built and running. I can't get it to look anything like this
http://web.archive.org/web/20120204081159/http://www.kpovmodeler.org/index.php?option=com_content&view=category&layout=blog&id=2&Itemid=5&lang=en
but the treeview looks cool, as long as I don't touch show/hide.
--
dik
Rendered 1024 of 921600 pixels (0%)
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> "eticre" <eti### [at] tin it> wrote:
> > ops!
> > ..kpm files in kpovmodeler are archive compressed
>
> thanks, that helped. "gzip".
>
> not a problem but curious: in preferences, the combo box (under povray
> documentation) only provides for POV-Ray version 3.1 or 3.5 selection. why
> those two versions? and, what does it select?
>
>
> regards, jr.
ignore it should be removed
is an obsolete class created for compatibility
now I inserted RAW containing "#version 3.7;" in first position of the scene
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Ton" <ton### [at] gmail com> wrote:
> "eticre" <eti### [at] tin it> wrote:
> > ops!
> > ..kpm files in kpovmodeler are archive compressed
> >
> > git repo is now updatete with .kpm plain text file
> >
> > I removed karchive from project but qt5 has nothing like it
>
> Hi eticre,
>
> congratulations on porting kpovmodeler to QT5. I tried, but my knowledge was not
> enough to get it all going.
> karchive is part of KDE Frameworks 5, and should be available
> (https://api.kde.org/frameworks/karchive/html/index.html).
>
> In my compiled version of povmodeler, after fixing the opengl library issue, I
> don't see the statusbar.
>
> Cheers
> Ton.
I removed all kde deps from povmodeler, now the only dependencies are Qt
missed (K)statusbar is under investigation
If anyone need my last kpovmodeler code for kf5/plasma5/qt5 I can upload it in
git
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
dick balaska <dic### [at] buckosoft com> wrote:
> On 12/3/18 5:19 PM, eticre wrote:
> > hello everyone
>
> I got it built and running. I can't get it to look anything like this
>
http://web.archive.org/web/20120204081159/http://www.kpovmodeler.org/index.php?option=com_content&view=category&layou
t=blog&id=2&Itemid=5&lang=en
>
> but the treeview looks cool, as long as I don't touch show/hide.
>
>
> --
> dik
> Rendered 1024 of 921600 pixels (0%)
in the image the "Insert" menu is replicated in a toolbar and all povray object
are visible
in my personal this is only waste space
however I am reprogramming the toolbar in qt
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"eticre" <eti### [at] tin it> wrote:
> If anyone need my last kpovmodeler code for kf5/plasma5/qt5 I can upload it in
> git
I think it'd be nice if you kept posting updated code, I for one will try and
chekc the next version(s).
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"jr" <cre### [at] gmail com> wrote:
> hi,
>
> "eticre" <eti### [at] tin it> wrote:
> > If anyone need my last kpovmodeler code for kf5/plasma5/qt5 I can upload it in
> > git
>
> I think it'd be nice if you kept posting updated code, I for one will try and
> chekc the next version(s).
>
>
> regards, jr.
https://github.com/eticre/kpovmodeler.git
git repo with kde dependences
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"eticre" <eti### [at] tin it> wrote:
> https://github.com/eticre/kpovmodeler.git
>
> git repo with kde dependences
Trying this on Linux Mint.
CMake Warning at CMakeLists.txt:26 (find_package):
Could not find a package configuration file provided by "KF5Parts" with any
of the following names:
KF5PartsConfig.cmake
kf5parts-config.cmake
Add the installation prefix of "KF5Parts" to CMAKE_PREFIX_PATH or set
"KF5Parts_DIR" to a directory containing one of the above files. If
"KF5Parts" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at CMakeLists.txt:27 (find_package):
By not providing "FindKF5KIO.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "KF5KIO", but
CMake did not find one.
Could not find a package configuration file provided by "KF5KIO" with any
of the following names:
KF5KIOConfig.cmake
kf5kio-config.cmake
Add the installation prefix of "KF5KIO" to CMAKE_PREFIX_PATH or set
"KF5KIO_DIR" to a directory containing one of the above files. If "KF5KIO"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Maybe this might be a better way handle all the different OS's?
https://itsfoss.com/install-snap-linux/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
hi,
"Bald Eagle" <cre### [at] netscape net> wrote:
> Maybe this might be a better way handle all the different OS's?
>
> ...
already in wide-spread use is:
<https://en.wikipedia.org/wiki/LXC>
(a bit more general, and not "initimately linked" to Ubuntu owners)
regards, jr.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |