Author Topic: DOWNLOAD IT HERE !!!  (Read 130094 times)

0 Members and 1 Guest are viewing this topic.

Offline zachnfine

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Re: DOWNLOAD IT HERE !!!
« Reply #15 on: July 17, 2017, 05:08:49 pm »
Hmm, just finally got back to this (been away a while). Can't find my compiled copy of Laserboy so am starting over with the newest 2017 version (LaserBoy_2017_06_27.zip). Got through the editing of Makefile.brew to point to /usr/local, and then hit a ton of errors (pastebin link) when trying to compile. Based on this comment, it looks like newer versions of boost don't use 'ifstream' but instead 'std::ifstream' (and equivalent for of stream).


I added a "fix_boost" flag to the Makefile.brew to change all instances of ifstream and ofstream to their std:: equivalents, but after running 'make -f Makefile.brew fix_boost' am running into other similar-sounding errors about references to 'fstream' being ambiguous.


Here's my Makefile.brew in case anyone wants to take it from where I've gotta leave it, since I'm out of tinkering time for the day.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #16 on: July 18, 2017, 01:03:25 pm »
I really do not have any experience with MacOSX. I'm sorry. I wish I could help. You could try asking on the Photonlexicon to see if there is anyone there who could help you.

If you figure it out, please post the solution here so others can see how to do it. :)

It sounds like it might have something to do with the version of Boost C++ you are compiling and linking to.

If you were able to compile it before, I don't think I have modified the code so much that it wouldn't compile on the same system.
« Last Edit: July 18, 2017, 03:48:41 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #17 on: July 19, 2017, 03:42:16 pm »
When I get a chance to spend some real time on this, I will see if I can update my Linux machine with the very latest version of Boost C++ and see if I get the same errors. If so, I will have a platform to test on and I can fix all of that. Of course it will still need to compile correctly on my Windows machine.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #18 on: July 22, 2017, 06:49:53 pm »
OK. I fixed it!

I just upgraded my Linux machine to the newest Boost C++ libs: version 1.64.0 and I got all the same errors about fstream, ifstream and ofstream.

So I had to edit every occurrence of an instantiation of any of these classes to scope them to std, ie: std::fstream.

Now it compiles with no errors and it still compiles on my old Windows machine without having updated my Boost C++ libs there.

http://laserboy.org/code/LaserBoy_2017_07_22.zip

Now it should compile properly on a Mac!

Enjoy!

James.

PS. None of the functionality of the code has changed in any way since the last version.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #19 on: August 06, 2017, 03:02:01 pm »
Fixed another bug!

http://laserboy.org/code/LaserBoy_2017_08_06.zip

Used to be that if you went into menu k and backspaced out all the vertices and the hit x X y Y z Z or q w e, the app would crash.

Not any more!

LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline harzi

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Re: DOWNLOAD IT HERE !!!
« Reply #20 on: January 16, 2018, 02:01:36 am »
I try to compile LaserBoy_2017_08_06 on raspian stretch.
I followed the Raspberry_Pi.txt. Everything went well, except that this "error"
# rpi-update 192
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Performing self-update
 *** Relaunching after update
 *** Raspberry Pi firmware updater by Hexxeh, enhanced by AndrewS and Dom
 *** Invalid hash given

I am not sure if that is an issue ^^ Anyhow the code does not compile here
$ time make
g++ -c LaserBoy.cpp -o ../src/LaserBoy.obj -O3 -fexpensive-optimizations -Wall -static
In file included from LaserBoy_utility.hpp:34:0,
                 from LaserBoy_real_segment.hpp:34,
                 from LaserBoy_segment.hpp:35,
                 from LaserBoy_frame.hpp:34,
                 from LaserBoy_frame_set.hpp:34,
                 from LaserBoy_space.hpp:34,
                 from LaserBoy_TUI.hpp:33,
                 from LaserBoy_GUI_base.hpp:33,
                 from LaserBoy_SDL_GUI.hpp:34,
                 from LaserBoy.cpp:30:
LaserBoy_vertex.hpp: In member function ‘void LaserBoy_vertex::to_fstream_wave(std::fstream&, LaserBoy_wave_header&, const u_int*, const bool&, const bool&) const’:
LaserBoy_vertex.hpp:718:40: error: switch quantity not an integer
         switch(abs(header.signal_id[5])) // sign indicates polarity of chanel data
                                        ^
In file included from LaserBoy_utility.hpp:34:0,
                 from LaserBoy_real_segment.hpp:34,
                 from LaserBoy_segment.hpp:35,
                 from LaserBoy_frame.hpp:34,
                 from LaserBoy_frame_set.hpp:34,
                 from LaserBoy_space.hpp:34,
                 from LaserBoy_TUI.hpp:33,
                 from LaserBoy_GUI_base.hpp:33,
                 from LaserBoy_SDL_GUI.hpp:34,
                 from LaserBoy.cpp:30:
LaserBoy_vertex.hpp: In member function ‘void LaserBoy_vertex::to_fstream_wave_inverted(std::fstream&, LaserBoy_wave_header&, const u_int*, const bool&, const bool&) const’:
LaserBoy_vertex.hpp:879:40: error: switch quantity not an integer
         switch(abs(header.signal_id[5])) // sign indicates polarity of channel data
                                        ^
Makefile:32: recipe for target '../src/LaserBoy.obj' failed
make: *** [../src/LaserBoy.obj] Error 1

real    0m28.528s
user    0m25.400s
sys     0m1.120s

Do you may help? Thank you in advance.

Offline harzi

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Re: DOWNLOAD IT HERE !!!
« Reply #21 on: January 16, 2018, 03:06:27 am »
Now it compiles. I added an abs() to the int() function.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #22 on: January 25, 2018, 04:58:33 pm »
Cool. Thanks!

LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #23 on: November 29, 2018, 03:53:56 pm »
Here it is!

New Version: http://laserboy.org/code/LaserBoy_2018_11_29.zip

If you already have an installation of LaserBoy, I would suggest that you rename the folder that it is currently in to something else. Unzip this new version and place the LaserBoy folder where ever you want it and move or copy the contents of your previous version into the new one.

Create a new folder inside of ./LaserBoy/ild called something like old_ild and move your old ild directory contents into it. Find and delete all of the ild files that start with "font_".

Move your previous version of LaserBoy.wtf from the old wtf folder into the new one.

Now you can make new subdirectory names inside of the ild folder and sort all of your ild files into individual projects.

As always, please report any issues to me!

Enjoy!

James.



Changes:

Fixed issue with switch(abs( ... to be switch(int(abs( ... so it will compile with no errors on Raspberry Pi.

Added the ability to create directories inside of the ./LaserBoy/ild/ directory.
Added navigation into and out of these directories in the ild input and output menus.

Created a new subdirectory ./LaserBoy/ild/fonts/ and moved all of the included ild font files into this folder. Removed the "font_" from the beginning of each font file name. Now LaserBoy knows to look inside of this folder to find font files to either render DXF frames that contain TEXT ENTITES or when rendering text in the m render segments by coordinate menu.

Added new feature in the ild output menu to be able to split a frame set by selecting the first frame of every split point. Go into menu o to output, 1 for file type ild, 5 split frame set into new directory. Type the name of the new directory you want to create. Hit [Enter]. A new directory of ild files will be created with each file named [new directory name]_xxxxx.ild, where [new directory name] is the name you entered and _xxxxx is a number beginning with _00000 and incrementing to however many new files were created minus one.

Removed the color cycling effect from all frame and frame set effects. If you want to apply color cycling to a frame or frame set, there is an effect that does that called rainbow.

Added the feature to be able to name the file output by any frame or frame set effect. These files can also be placed inside of any directory inside of ./LaserBoy/ild/.

Changed the order of output options in the file output save as wav menu to put the LaserBoy optimized wave file options at the top positions of 1, 2, 3, and 4. Bumped down the unoptimized options to 5, 6, 7, and 8.

Fixed the wtf output function. The values of
auto_apply_offsets
auto_apply_rescales
were swapped between the writeing and the reading of the wtf file.

Fixed up some of the text user interface messaging to make a bit more sense.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #24 on: March 22, 2019, 03:35:36 pm »
New version!

03-20-2019.

http://laserboy.org/code/LaserBoy_Current.zip

Enjoy!

James.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #25 on: May 07, 2019, 05:14:30 pm »
New Version!

2019_05_07

http://laserboy.org/code/LaserBoy_Current.zip

Fixed a big issue with the new way the background bitmap is displayed.

In the previous release for the first time ever, the background bitmap panned, zoomed and rotated with the view of space.

It takes a bit of time to render every pixel in a bitmap in 3D space.

That slowed everything way down whenever a bitmap was loaded into the display.

So I re-wrote all of that stuff so it not only renders a bit faster, but now it only does the 3D rendering calculations when the view changes.

This is a big deal when you are trying to draw anything.
« Last Edit: May 07, 2019, 06:27:39 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #26 on: November 26, 2019, 02:37:11 pm »
There is a new version of LaserBoy!

This version adds a new feature that allows you to save a frame, selected frames or the whole frame set as bitmap of the current view with rotation, offset and scale and visual artifacts like vertices, blanking, fixed and floating bounds and axis.

Also fixed some directory nav issues in dxf and bmp menus and some bugs with the way a bitmap gets opened into the display background.

http://laserboy.org/code/LaserBoy_Current.zip

Enjoy!
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #27 on: December 31, 2019, 07:10:12 pm »
Fixed a lot of stuff about importing bitmap files.

Added some new features.
Now you can place a folder full of bitmap files inside the ./LaserBoy/bmp/ folder and load the whole set as the background image set to trace over. Go into menu i to input. 6 for bmp. Hit 9 open bmp directory as background. To change the bitmap index, you must be in either menu K or L where you can draw and move stuff. In those menus, (capital) W advances the bitmap in the display to be the next one in the folder and (capital) Q takes you backward. So you can load a set of raster images that make an animation and move through them with the keyboard.

Another interesting thing it does now is load a folder full of bitmaps as color maps for the currently open vector frame set. If there is a miss match between the number of bitmaps and the number of vector frames, you get the larger of the two numbers with the smaller one repeated as needed to fill.

So, you can use ffmpeg to split a video file into frames, use Imagemagick to convert them all to bmp and you can do stuff with that in LaserBoy now.

Like this: http://laserboy.org/free_art/Linus_dance.zip

http://laserboy.org/code/LaserBoy_Current.zip

James.
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline CyberLab

  • Newbie
  • *
  • Posts: 2
  • Milliwatts: 0
    • View Profile
Re: DOWNLOAD IT HERE !!!
« Reply #28 on: April 25, 2020, 05:53:18 pm »

Hey. I admit right away I'm not a specialist in compilation. When compiling, I get the following error:


Quote
make -f Makefile
g++ -c LaserBoy.cpp -o ../src/LaserBoy.obj -O3 -msse2 -mfpmath=sse -Wall -Wextra -frounding-math -fsignaling-nans -Wno-missing-field-initializers -Wno-misleading-indentation -Wno-unused-but-set-variable -fexpensive-optimizations -static
In file included from LaserBoy_macros.hpp:34,
                 from LaserBoy_common.hpp:34,
                 from LaserBoy_color.hpp:33,
                 from LaserBoy_bmp.hpp:33,
                 from LaserBoy_segment.hpp:34,
                 from LaserBoy_frame.hpp:34,
                 from LaserBoy_frame_set.hpp:34,
                 from LaserBoy_space.hpp:34,
                 from LaserBoy_TUI.hpp:33,
                 from LaserBoy_GUI_base.hpp:33,
                 from LaserBoy_SDL_GUI.hpp:34,
                 from LaserBoy.cpp:30:
LaserBoy_includes.hpp:63:10: fatal error: boost/filesystem.hpp: No such file or directory
   63 | #include <boost/filesystem.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:26: ../src/LaserBoy.obj] Ошибка 1
« Last Edit: April 26, 2020, 12:38:56 pm by CyberLab »

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: DOWNLOAD IT HERE !!!
« Reply #29 on: April 28, 2020, 10:27:44 am »
Judging from your make command, using Makefile, you must be compiling for Linux.

Have you installed the C++ Boost Libs?

Most of that stuff is just header files that need to be in your system's include directory, but some of it needs to be compiled. You should be able to use your Linux distribution's package management system (apt or yum or whatever) to install the whole thing including the binaries.

https://www.boost.org/

Let me know how it goes!

James.
« Last Edit: April 28, 2020, 10:29:31 am by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal