SoftPixel Forum

Official community of the SoftPixel Engine and the SoftPixel Sandbox (REGISTRATION only with consultation with the Admin)
It is currently Wed Dec 13, 2017 10:23 pm

All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next
Author Message
PostPosted: Mon Apr 15, 2013 4:14 am 
Offline

Joined: Sun Apr 14, 2013 7:33 pm
Posts: 21
.\sources\main.o:main.cpp: undefined reference to `sp::SoftPixelDevice::createPhysicsSimulator(sp::physics::EPhysicsSimulators)'|
and many others.
Is the 3.2 release package (specially mingw) compiled with SP_COMPILE_WITH_PHYSICS ?
The 3.1 worked good.


Top
 Profile  
 
PostPosted: Mon Apr 15, 2013 7:36 am 
Offline
Site Admin
User avatar

Joined: Sat Jul 07, 2012 5:58 pm
Posts: 540
Location: Germany
Use the Dependency Walker to find that out.
Afaik Newton should also be supported by the MinGW version.
Have you also tried MSVC?

_________________
My latest project:
- The XièXiè Programming Language

My hardware:
- GIGABYTE GeForce GTX 670
- Intel Core i7 (Ivy-Bridge)
- 16 GB DDR3


Top
 Profile  
 
PostPosted: Tue Apr 16, 2013 5:09 am 
Offline

Joined: Sun Apr 14, 2013 7:33 pm
Posts: 21
in SPE.dll there is _ZNK2sp15SoftPixelDevice17createSoundDeviceENS_5audio13ESoundDevicesE
but no createPhysicsSimulator...
I have not tried with MSVC.
Regards
S.


Top
 Profile  
 
PostPosted: Tue Apr 16, 2013 8:53 pm 
Offline
Site Admin
User avatar

Joined: Sat Jul 07, 2012 5:58 pm
Posts: 540
Location: Germany
Yes you're right. Newton is only used in the MSVC versions. If you also need this for MinGW, you have to compile the engine by yourself.

_________________
My latest project:
- The XièXiè Programming Language

My hardware:
- GIGABYTE GeForce GTX 670
- Intel Core i7 (Ivy-Bridge)
- 16 GB DDR3


Top
 Profile  
 
PostPosted: Wed Apr 17, 2013 7:20 am 
Offline

Joined: Sat Jul 14, 2012 3:50 pm
Posts: 89
Location: Germany
And there is a little problem (by me). I've made some tests with mingw. When I try to create a project file with cmake for the spe. I get lots of errors. (a cmake problem) here is a screen shot. what can i do?

Image

_________________
SPE 3.2 alpha (rev.119) (OpenGL), Win7, Intel E6600 2.4GHz, 6GB, nVidia GTX 560 1GB


Top
 Profile  
 
PostPosted: Wed Apr 17, 2013 8:24 am 
Offline
Site Admin
User avatar

Joined: Sat Jul 07, 2012 5:58 pm
Posts: 540
Location: Germany
Is this the first time you are using MinGW with cmake?
In this case google can help you more than me I think :|

_________________
My latest project:
- The XièXiè Programming Language

My hardware:
- GIGABYTE GeForce GTX 670
- Intel Core i7 (Ivy-Bridge)
- 16 GB DDR3


Top
 Profile  
 
PostPosted: Thu Apr 18, 2013 6:42 am 
Offline

Joined: Sat Jul 14, 2012 3:50 pm
Posts: 89
Location: Germany
I have it now solved differently. Now I have just imported the vs-solution with codeblocks. Now another problem is going on. Where can I get the relevant OpenAL and EFX-util libs for MinGW. Because google does not help me very much. For OpenAL i can link the .dll directly but the EFX-Util ...???

_________________
SPE 3.2 alpha (rev.119) (OpenGL), Win7, Intel E6600 2.4GHz, 6GB, nVidia GTX 560 1GB


Top
 Profile  
 
PostPosted: Thu Apr 18, 2013 7:49 am 
Offline
Site Admin
User avatar

Joined: Sat Jul 07, 2012 5:58 pm
Posts: 540
Location: Germany
For MinGW you actually need the *.a files and for MSVC you need the *.lib files.
I don't know why but in a pure C library (like OpenAL is) you can also use the *.lib files for MinGW.
This is my experience. I was also using the newton.lib file for MinGW sometimes and it worked.

_________________
My latest project:
- The XièXiè Programming Language

My hardware:
- GIGABYTE GeForce GTX 670
- Intel Core i7 (Ivy-Bridge)
- 16 GB DDR3


Top
 Profile  
 
PostPosted: Thu Apr 18, 2013 12:12 pm 
Offline

Joined: Sat Jul 14, 2012 3:50 pm
Posts: 89
Location: Germany
Ok, I've solved the most missing Symbols. That was new for me that MingW understand VC-libs but it works. Now I've only one link error.
Quote:
.objs\sources\SoundSystem\OpenAL\spOpenALSoundEffect.o:spOpenALSoundEffect.cpp|| undefined reference to `ConvertReverbParameters(_EAXREVERBPROPERTIES*, EFXEAXREVERBPROPERTIES*)'|
||=== Build finished: 1 errors, 0 warnings (0 minutes, 16 seconds) ===|


Any suggestion what i can do?

I know this symbol is in EFX-Util.lib and I link this lib. But it fails with above shown message.

_________________
SPE 3.2 alpha (rev.119) (OpenGL), Win7, Intel E6600 2.4GHz, 6GB, nVidia GTX 560 1GB


Top
 Profile  
 
PostPosted: Thu Apr 18, 2013 4:15 pm 
Offline
Site Admin
User avatar

Joined: Sat Jul 07, 2012 5:58 pm
Posts: 540
Location: Germany
The missing function is declared in the "EFX-Util.h" file of OpenAL.
Look inside the "spOpenALSoundEffect.cpp" file and try to find out why this doesn't work for you with MinGW.
Don't know why it worked for me :?

_________________
My latest project:
- The XièXiè Programming Language

My hardware:
- GIGABYTE GeForce GTX 670
- Intel Core i7 (Ivy-Bridge)
- 16 GB DDR3


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2, 3  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group