JUCE - compilation for win32

Discussion about: tracktion.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Hi,
Sorry it's not a topic related to tracktion(!) but I recently got hold of JUCE and attempted to compile it on winXP using msvc.
Followed all instructions, it has platform SDK paths at top of list, etc. But on compilation it complains about the assembler syntax!

This is the output for the win32 debug build:

c:\program files\juce\src\juce_appframework\gui\graphics\brushes\juce_solidcolourbrush.cpp(234) : warning C4405: 'mm5' : identifier is reserved word
c:\program files\juce\src\juce_appframework\gui\graphics\brushes\juce_solidcolourbrush.cpp(234) : error C2400: inline assembler syntax error in 'opcode'; found 'mm5'
c:\program files\juce\src\juce_appframework\gui\graphics\brushes\juce_solidcolourbrush.cpp(241) : warning C4405: 'mm0' : identifier is reserved word
c:\program files\juce\src\juce_appframework\gui\graphics\brushes\juce_solidcolourbrush.cpp(241) : error C2400: inline assembler syntax error in 'opcode'; found 'mm0'
c:\program files\juce\src\juce_appframework\gui\graphics\brushes\juce_solidcolourbrush.cpp(251) : error C2400: inline assembler syntax error in 'opcode'; found '['
c:\program files\juce\src\juce_appframework\gui\graphics\brushes\juce_solidcolourbrush.cpp(256) : error C2400: inline assembler syntax error in 'opcode'; found '['
c:\program files\juce\src\juce_appframework\gui\graphics\imaging\juce_image.cpp(463) : error C2400: inline assembler syntax error in 'opcode'; found '['
Error executing cl.exe.

jucelib_static_debug.lib - 5 error(s), 2 warning(s)


Any ideas???
Thanks a lot!

Matt

Post

there is an unnoffical JUCE forum at

http://www.adbe.org/juceforum

a number of walkthroughs have been posted for compiling JUCE under win32.[/url]
Someone shot the food. Remember: don't shoot food!

Post

Actually, I've been meaning to ask about this myself. I get the same error with msvc v6. I think it's basically the compiler not recognising the sse (/mmx?) instructions Jules used in a couple of places. I got around it by commenting out the "# define JUCE_USE_SSE_INSTRUCTIONS" line in the juce\src\juce_core\basics\juce_PlatformDefs.h file, which stops the compiler from using them, but it's a bit of pain to have to do this.

I'm wondering if you have to have the processor pack for vc6 installed to use sse instructions, but then that means you can't use the latest service pack for it :?...

- Niall.

Post Reply

Return to “Tracktion”