Package Details: camotics-git r1012.8a867d3-1

Git Clone URL: https://aur.archlinux.org/camotics-git.git (read-only, click to copy)
Package Base: camotics-git
Description: 3-axis NC machining simulation software
Upstream URL: http://camotics.org/
Keywords: CAM simulation
Licenses: GPL2
Conflicts: camotics
Provides: camotics
Submitter: hpmachining
Maintainer: hpmachining
Last Packager: hpmachining
Votes: 3
Popularity: 0.001731
First Submitted: 2019-04-20 17:36 (UTC)
Last Updated: 2023-04-10 21:26 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 3 Next › Last »

hpmachining commented on 2024-01-19 15:45 (UTC) (edited on 2024-01-19 15:58 (UTC) by hpmachining)

@vami, I could not duplicate the issue. Did you rebuild cbang-git before trying to build camotics-git?

UPDATE: I see now that upstream has implemented your fix, which is why I could not duplicate the issue. Thanks for your help!

vami commented on 2024-01-18 22:10 (UTC)

Hello,

Recent compilation of camotics is failing on ArchLiux; I got an error with the following include file:

In file included from src/camotics.cpp:23:
/opt/cbang/include/cbang/ApplicationMain.h:38:10: fatal error: cbang/os/win/Win32EventLog.h: No such file or directory
   38 | #include <cbang/os/win/Win32EventLog.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
scons: *** [build/camotics.o] Error 1
scons: building terminated because of errors.
==> ERROR: A failure occurred in build().
    Aborting...

I have notified upstream about the issue. In the meanwhile following workaround can be applied: /opt/cbang/include/cbang/ApplicationMain.h tries to include /opt/cbang/include/cbang/os/win/Win32EventLog.h. By placing it in #ifdef compilation runs fine. Here is a patch to work fix it:

--- ../cbang-git/pkg/cbang-git/opt/cbang/include/cbang/ApplicationMain.h    2024-01-18 11:30:36.000000000 +0200
+++ /opt/cbang/include/cbang/ApplicationMain.h  2024-01-18 23:45:14.395170481 +0200
@@ -35,8 +35,9 @@

 #include <cbang/Catch.h>
 #include <cbang/openssl/SSL.h>
+#ifdef _WIN32
 #include <cbang/os/win/Win32EventLog.h>
+#endif

 namespace cb {
 #ifndef WINAPI

Hope this helps.

leyhal commented on 2023-09-04 12:01 (UTC)

It works for me now, thanks a lot!

hpmachining commented on 2023-09-03 18:39 (UTC)

I fixed the packaging on cbang-git. Try rebuilding cbang-git with the latest PKGBUILD. That should fix it.

leyhal commented on 2023-09-03 02:22 (UTC) (edited on 2023-09-03 02:25 (UTC) by leyhal)

After building cbang-git, the build for camotics-git is failing with the following error:

...

g++ -o build/camotics/machine/MachinePart.o -c -faligned-new -std=c++17 -fsigned-char -Wno-deprecated-declarations -ffunction-sections -fdata-sections -O3 -funroll-loops -fno-pie -fPIC -DNDEBUG -D_REENTRANT -DHAVE_CBANG -DUSING_CBANG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_WEBSOCKETS_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_OPENGL_ES_2 -DGL_GLEXT_PROTOTYPES -DQT_COMPILING_QSTRING_COMPAT_CPP -DCBANG_WRAP_GLIBC -I/opt/cbang/src -I/opt/cbang/include -I/opt/cbang/src/boost -Isrc -I/usr/include/python3.11 -I/usr/include/qt/QtCore -I/usr/include/qt -I/usr/include/qt/QtGui -I/usr/include/qt/QtOpenGL -I/usr/include/qt/QtWidgets -I/usr/include/qt/QtNetwork -I/usr/include/qt/QtWebSockets -Ibuild -Isrc src/camotics/machine/MachinePart.cpp

In file included from /opt/cbang/include/cbang/json/BufferWriter.h:36,
             from /opt/cbang/include/cbang/json/JSON.h:46,
             from src/camotics/machine/MachineModel.cpp:23:

/opt/cbang/include/cbang/iostream/VectorDevice.h:34:10: fatal error: cbang/boost/IOStreams.h: No such file or directory

   34 | #include <cbang/boost/IOStreams.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

scons: *** [build/camotics/machine/MachineModel.o] Error 1

scons: building terminated because of errors.

==> ERROR: A failure occurred in build().

    Aborting...

Could anyone provide some help? Thank you very much!

s218 commented on 2023-07-19 16:02 (UTC) (edited on 2023-07-19 16:03 (UTC) by s218)

Anyone who encountered the error should rebuild the package - cbang-git + camotics-git https://aur.archlinux.org/packages/cbang-git#comment-925246

hpmachining commented on 2023-07-19 16:01 (UTC)

I'm working on this, but I think you are going to have to re-build v8-r against the latest icu. It takes a long time to re-build, so I won't know for sure if there are any other issues until it is done. After re-building v8-r, build cbang-git then camotics-git.

hpmachining commented on 2023-05-09 16:41 (UTC) (edited on 2023-05-09 20:18 (UTC) by hpmachining)

pkgconf is part of the core arch installation, so it doesn't need to be listed as a dependency in the PKGBUILD.

Are you running an arch derivative or pure arch?
Did you try rebuilding freecad?
What do the following commands produce?

strings /usr/lib/libstdc++.so.6 | grep GLIBCXX_3.4.31

g++ --version

pacman -Qi freecad

s218 commented on 2023-05-09 16:09 (UTC) (edited on 2023-05-09 16:13 (UTC) by s218)

It turns out that the pkgconf dependency was missing - pkgconf

Camotics now runs and works, but FreeCAD that requires it for some reason swears -

Invalid version: 'camotics: /tmp/.mount_1.AppIQImND0/usr/lib/libstdc++.so.6: version GLIBCXX_3.4.31' not found (required by /usr/lib/libv8_libplatform.so) camotics: /tmp/.mount_1.AppIQImND0/usr/lib/libstdc++.so.6: versionGLIBCXX_3.4.31' not found (required by /usr/lib/libv8.so) camotics: /tmp/.mount_1.AppIQImND0/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.31' not found (required by /usr/lib/libv8_libbase.so)' Traceback (most recent call last): File "<string>", line 160, in Initialize File "/tmp/.mount_1.AppIQImND0/usr/lib/python3.11/site-packages/packaging/version.py", line 52, in parse return Version(version) ^^^^^^^^^^^^^^^^ File "/tmp/.mount_1.AppIQImND0/usr/lib/python3.11/site-packages/packaging/version.py", line 198, in init raise InvalidVersion(f"Invalid version: '{version}'")

Do we have any way to cheat the FC?