User Tools

Site Tools


en:tutorials:creating_your_own_project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:tutorials:creating_your_own_project [2018/02/17 12:34 (3 months ago)]
sausage
en:tutorials:creating_your_own_project [2018/05/09 11:44 (12 days ago)] (current)
sausage
Line 104: Line 104:
 That's about it. A lot of work has gone into making this as bullet proof as possible, so you should have no trouble spinning up new projects whenever you need one. That's about it. A lot of work has gone into making this as bullet proof as possible, so you should have no trouble spinning up new projects whenever you need one.
  
-===== Troubleshooting =====+====== Troubleshooting ​======
  
-<WRAP center round box 90%>+**Problem 1:** If you receive an error compiling your own game project with something like: 
  
-If you receive an error something like: //​c:/​mingw/​bin/​../​lib/​gcc/​mingw32/​5.3.0/​../​../​../​../​mingw32/​bin/​ld.exe: ​cannot find -lorxd//+**cannot find -lorxd**
  
-This is because you did not compile Orx itself first. Orx needs to be compiled so that projects created with ''​init''​ can make use of Orx's dll(s) that reside there. If they are missing you will get linker errors trying to find orx.dll or orx.so libraries. +This is because you either: 
-</​WRAP>​+ 
 +  - Did not compile Orx itself first. ​The Orx library ​needs to be compiled so that projects created with ''​init''​ can make use of Orx's dll(s) that reside there. If they are missing you will get linker errors trying to find orx.dll or orx.so libraries
 +  - Did not compile all three required configurations. Compile ''​Debug'',​ ''​Profile''​ and ''​Release''​
 +  - Previously compiled the Orx library as 32-bit, whereas you are trying to compile your own project in 64-bit or vice versa.  
 +  - Previously compiled the Orx library using one compiler whereas you are compiling your project with another. For example: you can't compile your project using the Visual Studio compiler if you compiled the Orx library with mingw. 
 + 
 + 
 + 
 +**Problem 2:** The dll files at the $ORX location are not being copied into my game's ''​bin''​ folder. 
 + 
 +Ensure you have compiled all three required Orx library configurations. Compile ''​Debug'',​ ''​Profile''​ and ''​Release''​. If the post-event copy step in your game project cannot find all three files at $ORX, then none will be copied over to your project'​s ''​bin''​ folder.
  
  
  
  
en/tutorials/creating_your_own_project.txt · Last modified: 2018/05/09 11:44 (12 days ago) by sausage