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

 

rikwad

Today at 07:57:21 PM
Sorry, I couldn't resist my inner asshole.
 

Costigan_Q2

Today at 01:35:05 PM
Et tu rikwad?

Please don't feed the degenerate lies of a sexually-perverted devil-worshipping barking dog like Focalor.
 

RyU

Today at 07:21:23 AM
lol
Been here since 2006


But I don’t mean you personally

By you I meant WE all suck at Q2
I guess I was just trying to be funny …

 
 

Costigan_Q2

October 08, 2024, 06:16:31 PM
Who the fuck are you?

Stop feeding degenerate lies, there are too many liberals and commies in this filthy rotting husk of a gaming community as it is.
 

RyU

October 08, 2024, 06:18:00 AM
whether you want to be a man a woman, a women that wants to be a man, a man that wants to be a woman,
a broom,
a mop,
Or even a horse,
Just know you still suck at Q2 ..  ;)
 

RyU

October 08, 2024, 02:38:09 AM
Some funny shit  :D
 

Costigan_Q2

October 06, 2024, 03:09:02 PM
Members
Total Members: 2921
Latest: provider
Date Registered: March 20, 2024

Members
Total Members: 2922
Latest: Shihan
Date Registered: August 28, 2024

'2921'

'2922'

http://forum.tastyspleen.net/quake/index.php?action=profile;u=####

Nice try.
 

|iR|Focalor

September 26, 2024, 05:49:19 PM
 

|iR|Focalor

September 26, 2024, 05:22:51 PM
No, YOU are the liar, Erica had nothing to do with it. YOU sent pictures to everyone in IRC and YOU propagated the story, no one else.

What suffering are you talking about? Are YOU suffering? Is that why you keep coming here being an asshole posting dumb shit like that? Are you the victim?

Show 50 latest
Welcome, Guest. Please login or register.
October 09, 2024, 09:22:38 PM

Login with username, password and session length