Author Topic: CleanQ2 compiling problem  (Read 2873 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:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 24, 2024, 10:10:05 PM

Login with username, password and session length