Project

General

Profile

Actions

Emulator Issues #2260

closed

Mac OS X Snow Leopard scons error message with TextureDecoder.o

Added by marco over 14 years ago.

Status:
Fixed
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What steps will reproduce the problem?

  1. On Snow Leopard compiling with command #scons

What is the expected output? What do you see instead?
Compiling Build/Darwin-i386-release/Source/Core/VideoCommon/Src/TextureDecoder.o
Source/Core/VideoCommon/Src/TextureDecoder.cpp:93: error: integer constant is too large for
'long' type
Source/Core/VideoCommon/Src/TextureDecoder.cpp:136: error: integer constant is too large for
'long' type
Source/Core/VideoCommon/Src/TextureDecoder.cpp:420: warning: 'void copyDXTBlock(u8*,
const u8*)' defined but not used
scons: *** [Build/Darwin-i386-release/Source/Core/VideoCommon/Src/TextureDecoder.o] Error
1
scons: building terminated because of errors.

What version of the product are you using? On what operating system?
dolphin-svn 5036 - 5037 on Mac OS X Snow Leopard 10.6.2

Please provide any additional information below.
compiling with commands
scons and scons opencl=true


Related issues 1 (0 open1 closed)

Has duplicate Emulator - Emulator Issues #2270: Mac OS X Snow Leopard scons error message with TextureDecoder.o (Dolphin 5038)Duplicate

Actions
Actions #1

Updated by lpfaint99 over 14 years ago

in TextureDecoder.cpp
change line 93 to
const u64 m = 0xc6a4a7935bd1e995ull;
change line 136 to
u64 hash = seed ? seed : 0x1337c0debeefbabeull;

fix will be added to svn soon

Actions #2

Updated by lpfaint99 over 14 years ago

Issue 2270 has been merged into this issue.

Actions #3

Updated by marco over 14 years ago

Dolphin 5038

Compiling Build/Darwin-i386-release/Source/Core/VideoCommon/Src/TextureDecoder.o
Source/Core/VideoCommon/Src/TextureDecoder.cpp:237: error: integer constant is too large for 'long' type
Source/Core/VideoCommon/Src/TextureDecoder.cpp: In function 'u32 TexDecoder_GetFullHash32(const u8*,
int, u32)':
Source/Core/VideoCommon/Src/TextureDecoder.cpp:99: warning: unused variable 'Flen'
Source/Core/VideoCommon/Src/TextureDecoder.cpp: At global scope:
Source/Core/VideoCommon/Src/TextureDecoder.cpp:521: warning: 'void copyDXTBlock(u8*, const u8*)'
defined but not used
scons: *** [Build/Darwin-i386-release/Source/Core/VideoCommon/Src/TextureDecoder.o] Error 1
scons: building terminated because of errors.

Actions #4

Updated by qurtabah2002 over 14 years ago

I have got exactly the same error i m on leopard 10.5.8 ... please need help

here is the error; (when i run scons osx=32cocoa)

Compiling Build/Darwin-i386-release/Source/Core/VideoCommon/Src/TextureDecoder.o
Source/Core/VideoCommon/Src/TextureDecoder.cpp:93: error: integer constant is too large for 'long' type
Source/Core/VideoCommon/Src/TextureDecoder.cpp:136: error: integer constant is too large for 'long' type
Source/Core/VideoCommon/Src/TextureDecoder.cpp:420: warning: 'void copyDXTBlock(u8*, const u8*)'
defined but not used
scons: *** [Build/Darwin-i386-release/Source/Core/VideoCommon/Src/TextureDecoder.o] Error 1

Actions #5

Updated by qurtabah2002 over 14 years ago

and yeah when i go into this folder where its says this file texturedecoder.o i located i cant see n file with this
name .. PLEAAAAAAAAAASE HELP

Actions #6

Updated by Sonicadvance1 over 14 years ago

Still valid in 5038?

Actions #7

Updated by BhaaL over 14 years ago

  • Status changed from New to Fixed

This issue was closed by revision r5039.

Actions

Also available in: Atom PDF