[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4505: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4507: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4508: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
SloGameDev.net • Poglej temo - Zivljenje

Zivljenje

Za vse novince v izdelovanju iger.

Zivljenje

OdgovorNapisal/-a Emigma » To Jan 10, 2012 11:10 pm

Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a impulse9 » Sr Jan 11, 2012 3:12 am

Undefined reference pomeni, da imaš v projekt includane headerje, nimaš pa podane reference do izvorne kode. Torej, v .h datoteki imaš deklaracije posameznih funkcij itd., same definicije oz. opisa te kode pa compiler ne najde. Zelo verjetno je torej, da si pozabil ali pa nepravilno polinkal ustrezne knjižice (.lib datoteke).
Uporabniški avatar
impulse9
SGD Moderator
SGD Moderator
 
Prispevkov: 397
Pridružen: Pe Jan 10, 2003 10:14 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » Sr Jan 11, 2012 10:18 am

Kako jo pa polnikam, in kam dam jaz sem linkal lib datoteko.Tako da ne vem točno kako naj postorim zadevo . Problemi na vidiku. ;( Kaj pa glede life kak predlog
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a koscak » Če Jan 12, 2012 12:54 am

koscak
wannabe
wannabe
 
Prispevkov: 97
Pridružen: Ne Nov 20, 2011 10:23 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » Če Jan 12, 2012 9:04 am

WoW Najlepša hvala deluje :)
Mi kodo edino še pove o teksturah res prosim, najlepša hvala za pomoč
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a tomaa » Če Jan 12, 2012 12:00 pm

Zadnjič spremenil tomaa, dne Pe Jan 27, 2012 1:44 pm, skupaj popravljeno 2 krat.
Uporabniški avatar
tomaa
novinec
novinec
 
Prispevkov: 21
Pridružen: Če Okt 27, 2011 10:38 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » Pe Jan 13, 2012 12:22 am

Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a Blodyavenger » Pe Jan 13, 2012 12:25 am

Prvo kot prvo lep pozdrav na forumu! :)

A si zbuildu dll preko codebocks kakor je Tomaa omenil?
................ ...................
"Don't you dare using uninitialized variables, not in C++"
Uporabniški avatar
Blodyavenger
expert
expert
 
Prispevkov: 716
Pridružen: Pe Sep 12, 2008 3:31 pm
Kraj: Land of the Ten Hares

Re: Zivljenje

OdgovorNapisal/-a Emigma » Pe Jan 13, 2012 5:03 pm

Dejte mi povedat katere datoteke so prave da jih poberem ven za c++ in oepngl da bo delal , vem da je omenu ampak ne vem katere datoteke morm z unega fajla ven pobrat, se mi ne sanja.
Pobral pa sem trenutno ven:soil.cpp
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a koscak » Pe Jan 13, 2012 6:00 pm

Kako igro pa delaš ker si me vprašal da delaš podobno in da si mojo kodo vzel, me zanima :))))
koscak
wannabe
wannabe
 
Prispevkov: 97
Pridružen: Ne Nov 20, 2011 10:23 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » Pe Jan 13, 2012 10:26 pm

Pa ono ko si dal tam na netu ko streljajo, a bo ok ali bo kaj narobe, še vendo so vprašanja tekstura ??
Koscak ali mogoče veš kako narišem kvadrat namesto teh tvojih trikotnikov ali pa mogoče drugi, težje je narisat kvadrat ki bo rotiral..
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a koscak » Pe Jan 13, 2012 11:49 pm

koscak
wannabe
wannabe
 
Prispevkov: 97
Pridružen: Ne Nov 20, 2011 10:23 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » So Jan 14, 2012 9:47 am

Ok odlično kaj pa tekstura sedaj mi lahko naprej poveste prosim :) Hvala lepa, ne znam z rebuildad ker ne vem točno katere stvari morm dati ven primer za glut sem potreboval : glut32.lib ,glut.h glut.cpp če ma kdo kako idejo kaj točno tuakj rabim mi prosim pove, potem pa počasi naprej. Se opravičujem ker sem rahlo težaven vendar ok .
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a Blodyavenger » So Jan 14, 2012 2:37 pm

................ ...................
"Don't you dare using uninitialized variables, not in C++"
Uporabniški avatar
Blodyavenger
expert
expert
 
Prispevkov: 716
Pridružen: Pe Sep 12, 2008 3:31 pm
Kraj: Land of the Ten Hares

Re: Zivljenje

OdgovorNapisal/-a Emigma » So Jan 14, 2012 3:16 pm

ni mu ustvaril sploh soil.lib ikonce ;( sem unzipal našel codeblocks odprl, build in nato mi je ustvaril : obj ,soil.cpp, soil.depend, soil.layout drugega nič kaj je za storiti, ne vem sem šel po korakih pa tiso je čudno dodajanje moj je drugačen codeblocks
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a tomaa » So Jan 14, 2012 3:39 pm

Edino kar potrebuješ je SOIL.lib, ter SOIL.h. Problem je v tem, da v zipu () ni zbuildanih knjižnic (SOIL.lib), ampak jih moraš sam zbuildat. Za ta namen je tudi projekt SOIL.cbp v mapi projects/codeblocks.

Če si na windowsih lahko uporabiš ta lib + header: (sveže zbuildano ;)).

Edino kar moraš še naresti je to da dodaš SOIL.lib k svojemu projektu (mapo kjer se SOIL.lib nahaja + ime knjižnice - torej SOIL.lib).
SOIL.lib lahko tudi preprosto skopiraš v mapo kjer so ostali *.lib fajli od Code::Blocks. Nato pa samo dodaš SOIL.lib pod knjižnice (tam kjer imaš tudi opengl32.lib in ostale).

SOIL.h includaš tam kjer boš nalagal teksture. (#include "SOIL.h").

Če ne veš kako dodati lib k projektu pa malo poGooglaj (link, ki sem ga poslal sem našel v 1 sekundi z iskanim nizom: codeblocks add library dir).

Code::Blocks nisem nikoli uporabljal, tako da ti več kot tako ne morem pomagati.
Uporabniški avatar
tomaa
novinec
novinec
 
Prispevkov: 21
Pridružen: Če Okt 27, 2011 10:38 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » So Jan 14, 2012 4:07 pm

https://rapidshare.com/files/1845506569/video2.avi
takole še kar ne dela je filemček kaj ne dela in pokazal sem kaj sem kam dal
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a tomaa » So Jan 14, 2012 4:51 pm

A bi lahko poslal celoten projekt (ali pa vsaj source), da vidim kaj bi lahko bilo narobe.
Kar se tiče poti do lib-ov pa izgleda vse ok.
Uporabniški avatar
tomaa
novinec
novinec
 
Prispevkov: 21
Pridružen: Če Okt 27, 2011 10:38 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » So Jan 14, 2012 8:39 pm

Sem poslal, upam da si boš vzel čas in pogledal ::)))

lp
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm

Re: Zivljenje

OdgovorNapisal/-a tomaa » Ne Jan 15, 2012 11:18 pm

Težava je bila v tem, da je bila SOIL knjižnica napačno zlinkana. Problem rešen :)
Uporabniški avatar
tomaa
novinec
novinec
 
Prispevkov: 21
Pridružen: Če Okt 27, 2011 10:38 pm

Re: Zivljenje

OdgovorNapisal/-a Emigma » Po Jan 16, 2012 3:42 pm

Najlepša hvala tomi za pomoč brez njega mi nebi ratal, ker si je vzel čas.
Emigma
novinec
novinec
 
Prispevkov: 25
Pridružen: To Jan 10, 2012 10:50 pm


Vrni se na Začetniki

Kdo je na strani

Po forumu brska: 0 registriranih uporabnikov in 0 gostov

cron