Author Topic: CleanQ2 compiling problem  (Read 3114 times)

Offline Creamy_Goodness

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Creamy's Wonderland
  • Rated:
CleanQ2 compiling problem
« on: June 26, 2016, 05:56:46 PM »

> I'm trying to compile the source code of CleanQ2, but I've run into an error I can't resolve. After getting an error that said "fatal error: jpeglib.h: No such file or directory", I installed libjpeg-dev, but libjpeg8-dev and libjpeg-turbo8-dev were automatically installed as well. When I ran “make” again after doing that, I got a different error that read, "error: conflicting types for ‘jpeg_mem_src’". The source code came with a patch that was supposed to fix this error, but when I tried to apply this patch by running, "patch -p0 pngpatch.patch", the cursor went to the next line and just froze as if it was working in the background, but an hour went by and it was still like that, so I had to hit Ctrl-C to quit the process. I already went through a long and thorough battery of Google searches, but couldn't find a solution to this problem. Anyone have any pointers? I'm at the end of my rope here.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/

Offline quadz

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5352
    • View Profile
  • Rated:
Re: CleanQ2 compiling problem
« Reply #1 on: June 26, 2016, 10:24:33 PM »
Howdy,

The source code came with a patch that was supposed to fix this error, but when I tried to apply this patch by running, "patch -p0 pngpatch.patch", the cursor went to the next line and just froze as if it was working in the background, but an hour went by and it was still like that, so I had to hit Ctrl-C to quit the process.

`patch` defaults to being a very basic program that expects its input on stdin.

So you'd want a command line like: patch -p0 < pngpatch.patch

The "<" character tells the shell to redirect the file "pngpatch.patch" as the standard input stream to the `patch` program.

:beer:

  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
"He knew all the tricks, dramatic irony, metaphor, bathos, puns, parody, litotes and... satire. He was vicious."

Offline Creamy_Goodness

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Creamy's Wonderland
  • Rated:
Re: CleanQ2 compiling problem
« Reply #2 on: June 27, 2016, 06:26:23 AM »

@quadz

"So you'd want a command line like: patch -p0 < pngpatch.patch"

> Hey what do you know, it worked. Thanks quadz. :)
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
= = = = = = = = = =
Jason "Creamy Goodness" Tenn
http://creamyg.jdluke.com/

 

El Box de Shoutamente

Last 10 Shouts:

 

|iR|Focalor

May 26, 2025, 01:17:30 PM
 

-Unh0ly-

May 22, 2025, 05:45:28 PM
 

Yotematoi

May 17, 2025, 08:33:15 AM
Yo desde el año 2007 me enfermé de Q2, es incurable  
Morir y revivir es costumbre, lástima q el QT estaba bueno
 

ImperiusDamian

May 12, 2025, 01:45:35 AM
Quake II is not 27 years old. I refuse to accept THAT much time has gone by.
 

|iR|Focalor

May 11, 2025, 02:33:39 PM
 

-Unh0ly-

May 03, 2025, 08:02:46 AM
198.179.6.200:30634
 

Yotematoi

May 02, 2025, 10:27:47 AM
Note for Player-4109 "Remember, the Guinness Book of Records does not include cowards who shot at someone by treachery." :D
 

|iR|Focalor

April 02, 2025, 02:47:07 AM

Show 50 latest
Welcome, Guest. Please login or register.
June 08, 2025, 06:14:23 AM

Login with username, password and session length