OSCPack Compile Errors
Posted: 14 July 2008 10:53 PM   [ Ignore ]
Elite
Avatar
RankRankRankRank
Total Posts:  224
Joined  2008-04-22

Hi everyone,

I am trying to get TouchLib to run on Arch Linux again, it has worked before.  I got up to compiling OSC Pack.  Every time I try and make && make install I get the following errors:

[alex@Andromeda oscpack]make
g
++ -Wall -O3 -I./ -DOSC_HOST_LITTLE_ENDIAN   --o tests/OscUnitTests.o tests/OscUnitTests.cpp
tests
/OscUnitTests.cppIn function ‘void osc::assertEqual_(const T*, const T*, const char*, const char*, const char*, int[with T char]’:
tests/OscUnitTests.cpp:82error‘strcmp’ was not declared in this scope
tests
/OscUnitTests.cppIn function ‘charosc::NewMessageBuffer(const char*, long unsigned int):
tests/OscUnitTests.cpp:102error‘memcpy’ was not declared in this scope
tests
/OscUnitTests.cppIn function ‘void osc::test1():
tests/OscUnitTests.cpp:116error‘strcmp’ was not declared in this scope
tests
/OscUnitTests.cppIn function ‘void osc::test3():
tests/OscUnitTests.cpp:313error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:322error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:322error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:323error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:323error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:324error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:324error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:326error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:326error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:327error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:327error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:329error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:329error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:331error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:331error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:333error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:333error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:335error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:335error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:337error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:337error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:339error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:339error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:341error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:341error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:343error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:343error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:348error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:361error‘memcmp’ was not declared in this scope
tests
/OscUnitTests.cpp:365error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:365error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:367error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:367error‘memset’ was not declared in this scope
tests
/OscUnitTests.cpp:373error‘memset’ was not declared in this scope
make
: *** [tests/OscUnitTests.o] Error 1
[alex
@Andromeda oscpack]$

This happens with both 1.01 and 1.02.

All help is greatly appreciated,

Alex

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile
 
 
Posted: 17 July 2008 04:03 PM   [ Ignore ]   [ # 1 ]
Elite
Avatar
RankRankRankRank
Total Posts:  224
Joined  2008-04-22

Ah, fixed it.  If anyone else had this problem go to step 3 of this guide:  http://www.multigesture.net/articles/touchlib-compiling-instructions-fedora-core-9/

Its because the new GCC 4.3 needs some extra header files.

 Signature 

I am more then willing to to test your Multi-Touch programs on Linux, PM me if you have something.  If you’re looking for something faster then AS3 and Easier then C, try Python!

My Blog

Profile