Author Topic: opencv wizard wants lena  (Read 5446 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5491
opencv wizard wants lena
« on: June 06, 2016, 09:09:06 am »
anyone came across this :
Making all in opencv
make[5]: Entering directory `/home/ldco/trunk/src/plugins/scriptedwizard/resources/opencv'
make[5]: *** No rule to make target `files/lena.jpg', needed by `all-am'.  Stop.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: opencv wizard wants lena
« Reply #1 on: June 06, 2016, 10:52:02 am »
In rev 10858, I have changed the image due to the https://sourceforge.net/p/codeblocks/tickets/355/
So, I hope someone could fix the auto tool build system. Thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline blauzahn

  • Almost regular
  • **
  • Posts: 161
Re: opencv wizard wants lena
« Reply #2 on: June 06, 2016, 10:48:37 pm »
see attached patch?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: opencv wizard wants lena
« Reply #3 on: June 06, 2016, 11:45:35 pm »
Fix is in svn. Next time you can use text replacement in the whole repo.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline gd_on

  • Lives here!
  • ****
  • Posts: 797
Re: opencv wizard wants lena
« Reply #4 on: June 07, 2016, 06:06:25 pm »
There is another lena.jpg file in ..\src\plugins\contrib\source_exporter\wxPdfDocument\samples\minimal.
Is it also a problem ?
Strange this sort of copyright, because this file is used so many times, in book, articles, ... etc considered as free (but may be not !).

gd_on
Windows 11 64 bits (23H2), svn C::B (last version or almost!), wxWidgets 3.2.4 (tests with 3.3), Msys2 Compilers 13.2.0, 64 bits (seh, posix : gcc, g++ and gfortran in C:\msys64\mingw64) or 32 bits (dwarf2, posix  in C:\msys64\mingw32).

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: opencv wizard wants lena
« Reply #5 on: June 07, 2016, 08:14:53 pm »
This is part of wxPdfDocument which is an external project.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: opencv wizard wants lena
« Reply #6 on: June 08, 2016, 12:49:17 am »
see attached patch?
Look at your patch, I see that I forget to change the window names in the source file. I will take some time to commit the change, thanks.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: opencv wizard wants lena
« Reply #7 on: June 09, 2016, 10:24:04 am »
see attached patch?
Look at your patch, I see that I forget to change the window names in the source file. I will take some time to commit the change, thanks.
Done in SVN.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: opencv wizard wants lena
« Reply #8 on: June 09, 2016, 01:57:51 pm »
Done in SVN.
Haha... that change is funny. Lets see if the terminator will not sue but simply kill us all now... ;D
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ