| Twist177 (31) | ||||||
Whenever I try to create a texture in Dev C++ (5.2.0.1) using SOIL and code that looks like this:
I get this error:
I have already included SOIL, so I tried to manually link the library, and I get MANY more errors, such as:
and
These errors were not there before. And ideas and/or help is appreciated. | ||||||
|
|
||||||
| anirudh sn (94) | |
|
U get these errors normally when u forget to mention the namespace: try: using xyznamespace; or xyznamespace::ur required fun or attr | |
|
|
|
| Catfish2 (666) | |
|
I tried with Dev-C++ 5.2.0.2 TDM x64, and GL\glext.h was missing (which was needed to compile test_SOIL.cpp). But it does have GL\glaux.h, go figure. Other than that, I can't tell where your linker errors are coming from. Did you try putting the library in the same folder as the source code, and adding it to the project? Project Options -> Parameters -> Add Library or Object Now as for Orwell's Dev-C++. I think some of the higher-postcount members can confirm I've always been a big fan... until recently, when I realized 5.1+ was so full of bugs, I could start a zoo. So how about a change, as Obama would say? | |
|
Last edited on
|
|
| Twist177 (31) | ||||
|
@anirudh sn: I treid using namespace xyznamespace, but I got this error:
You're REQUIRED fun or attr?? I never used either. If it helps, my includes are:
@Catfish2: I tried, but it gave my the same issues as when I tried to link the library in Dev C++'s bin. However, I'm running MinGW... | ||||
|
Last edited on
|
||||